0.0.16 • Published 3 years ago
eslint-plugin-frontpro-eslint-plugin v0.0.16
eslint-plugin-frontpro-eslint-plugin
eslint rules for production
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-frontpro-eslint-plugin:
npm install eslint-plugin-frontpro-eslint-plugin --save-devUsage
Add frontpro-eslint-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"frontpro-eslint-plugin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"frontpro-eslint-plugin/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
help for create rules
create
plugin> ..\node_modules\.bin\yo eslint:rulepublish
npm publish