Commit acd0df4
authored
remark-lint (#54)
* Install `remark-cli` and `remark-preset-lint-arcticicestudio` NPM pkgs.
Installed remark-lint (1) through `remark-cli` (2) using the
`remark-preset-lint-arcticicestudio` (3) preset that implements the
"Arctic ice Studio" Markdown Style Guide (4).
Also updated the Git ignore pattern to handle "Node.js" data.
References:
(1) remarkjs/remark-lint
(2) npmjs.com/package/remark-cli
(3) arcticicestudio/remark-preset-lint-arcticicestudio
(4) arcticicestudio.github.io/styleguide-markdown
Epic: GH-33
Depends on GH-47 GH-49
GH-36
<--------------------------------------------------------------------->
* Implement remark config and ignore pattern file
Created the main remark (1) configuration file and initially set up the
`remark-preset-lint-arcticicestudio` (2) preset.
Also added the `.remarkignore` file with to define ignore pattern.
References:
(1) remark.js.org
(2) remarkjs/remark-lint
(3) arcticicestudio/remark-preset-lint-arcticicestudio
Epic: GH-33
Depends on GH-47 GH-49
GH-36
<--------------------------------------------------------------------->
* Implement NPM script/task to lint Markdown files
The NPM scripts/tasks allow to run the Markdown linting separately and
as well as running the all `lint` task together.
Also added the `npm-run-all` package that simplifies the paralell and
serial execution of multiple NPM scripts/tasks including name wildcard
support.
Epic: GH-33
Depends on GH-47 GH-49
GH-361 parent 7a6fdd3 commit acd0df4
File tree
5 files changed
+4169
-0
lines changed5 files changed
+4169
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments