1.0.2 • Published 2 years ago
my-eslint-custom-plugin v1.0.2
my-eslint-custom-plugin
plugin for production project
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install my-eslint-custom-plugin:
npm install my-eslint-custom-plugin --save-devUsage
Add my-eslint-custom-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"my-eslint-custom-plugin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"my-eslint-custom-plugin/rule-name": 2
}
}Supported Rules
- Fill in provided rules here