0.0.9 • Published 4 years ago
eslint-plugin-foo v0.0.9
eslint-plugin-foo
orts定制的foo实例
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-foo:
npm install eslint-plugin-foo --save-devUsage
Add foo to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"foo"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"foo/rule-name": 2
}
}Supported Rules
- Fill in provided rules here