1.0.1 • Published 4 years ago
eslint-plugin v1.0.1
eslint-plugin-saas
测试组织包
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-saas:
$ npm install eslint-plugin-saas --save-devUsage
Add saas to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"saas"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"saas/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
1.0.1
4 years ago