0.0.6 • Published 1 year ago
eslint-plugin-pedagome v0.0.6
eslint-plugin-pedagome
Custom eslint rules for pedagome projects
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-pedagome
:
npm install eslint-plugin-pedagome --save-dev
Usage
Add pedagome
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"pedagome"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"pedagome/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.