0.1.9 • Published 2 years ago
eslint-plugin-portador v0.1.9
eslint-plugin-portador-plugin
plugin for checking paths
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-portador-plugin:
npm install eslint-plugin-portador-plugin --save-devUsage
Add portador-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"portador-plugin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"portador-plugin/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.