0.0.8 • Published 1 year ago
eslint-plugin-rich1e-plugin v0.0.8
eslint-plugin-rich1e-plugin
plugin for production project
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-rich1e-plugin
:
npm install eslint-plugin-rich1e-plugin --save-dev
Usage
Add rich1e-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["rich1e-plugin"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"rich1e-plugin/path-checker": ["error", { "alias": "@" }]
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.