Lint markdown on the fly, using remark-lint
If there is no configuration found for remark-lint, this linter runs remark-preset-lint-consistent and remark-preset-lint-recommended (both can be turned off). You can a also turn on remark-preset-lint-markdown-style-guide. By default, YAML frontmatter is supported, but you can turn that off.
If there is configuration for remark-lint, through
package.jsons, this linter works just like
You should probably install modules referenced in
.remarkrc files locally
npm install without the
--global flag). If you do install modules
globally, you must either use nvm, or have
prefix in your
See this tutorial on how to set-up npm to work without sudo, which
is good practise, and comes with the added benefit that
can pick up on globally installed modules.
Read more about configuring remark-lint on its README.
A similar linter, linter-remark, runs all remark plugins, but only when they are configured to run.
We also maintain a changelog containing recent changes.