0.0.0 • Published 2 years ago

eslint-plugin-check-markdown-sections v0.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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
checkCheck whether the specified chapter exists in the Markdown file