1.0.0 ā¢ Published 9 months 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-dev
Next, install eslint-config-yushu
:
npm install eslint-config-yushu --save-dev
Usage
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
9 months ago