eslint-plugin-mirage
v0.0.2
Published
mirage 项目定制的Eslint规则
Downloads
12
Maintainers
Readme
eslint-plugin-mirage
mirage 项目定制的Eslint规则
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-mirage:
$ npm install eslint-plugin-mirage --save-devUsage
Add mirage to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"extends": [
"plugin:mirage/recommended"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"mirage/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
