nokia定制的规范
npm install eslint-plugin-jiaqilintnokia定制的规范
You'll first need to install ESLint:
``sh`
npm i eslint --save-dev
Next, install eslint-plugin-jiaqilint:
`sh`
npm install eslint-plugin-jiaqilint --save-dev
Add jiaqilint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
`json`
{
"plugins": [
"jiaqilint"
]
}
Then configure the rules you want to use under the rules section.
`json``
{
"rules": {
"jiaqilint/settimeout-not-number": 2
}
}
* Fill in provided rules here