eslint-plugin-check-markdown-sections
v0.0.0
Published
Check whether the specified chapter exists in the Markdown file
Downloads
2
Maintainers
Readme
eslint-plugin-check-markdown-sections
Check whether the specified chapter exists in the Markdown file
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-check-markdown-sections
:
npm install eslint-plugin-check-markdown-sections --save-dev
Usage
Add check-markdown-sections
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"check-markdown-sections"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"check-markdown-sections/check": 2
}
}
Rules
| Name | Description | | :------------------------------- | :------------------------------------------------------------------------- | | check | Check whether the specified chapter exists in the Markdown file |