npm install eslint-plugin测试组织包
You'll first need to install ESLint:
```
$ npm i eslint --save-dev
Next, install eslint-plugin-saas:
``
$ npm install eslint-plugin-saas --save-dev
Add saas to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
`json`
{
"plugins": [
"saas"
]
}
Then configure the rules you want to use under the rules section.
`json``
{
"rules": {
"saas/rule-name": 2
}
}
* Fill in provided rules here