remark preset to configure remark-lint with settings for nodejs/node
npm install remark-preset-lint-node
remark preset to configure remark-lint with settings for nodejs/node
``console`
npm install remark-preset-lint-node
`console`
npm test
1. PR the nodejs/node repo adding the
language/grammar to the
documentation style guide.
1. PR this repo adding the language/grammar.
1. Bump this package version, publish it.
1. In
node-lint-md-cli-rollup,
bump the remark-preset-lint-node dependency.nodejs/node
1. In the repo, rebuild the Markdown lintermake lint-md-rollup
().nodejs/node
1. PR the repo with the updated linter.
#### NODE_RELEASED_VERSIONS
On runtime, the linter will check the environment if the
NODE_RELEASED_VERSIONS variable is defined; if it's there, it will use thenodejs-yaml-comments
content of the variable as a comma-separated list of allowed version numbers.
This list is supposed to be built from the changelog(s), and validates the
version numbers for the rule.
For better compatibility with the nodejs/node changelogs, there are a few
exceptions:
* Version numbers ^0.0.0 || ^0.1.0 are not validated using the provided list.vx.x.x
They are validated using the pattern.REPLACEME` placeholder is always valid, regardless if it's in the list or
*
not.