1.0.0 ⢠Published 2 years ago
eslint-config-360yushu v1.0.0
eslint-config-yushu
Eslint plugin for yushu platform
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-config-yushu:
npm install eslint-config-yushu --save-devUsage
Add eslint-config-yushu to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"eslint-config-yushu"
]
}or
{
"plugins": [
"yushu"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-config-yushu/rule-name": 2
}
}Rules
š§ Automatically fixable by the --fix CLI option.
| Name | Description | š§ |
|---|---|---|
| specified-todo-comment | Rule to enforce the content of todo comments |
1.0.0
2 years ago