0.0.0 • Published 7 years ago
eslint-plugin-nineninesix v0.0.0
eslint-plugin-996
a lint save you from 996
Feature list
- 每天 18:00 之后禁止代码变更
- 周六周日 禁止代码变更
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-996:
$ npm install eslint-plugin-996 --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-996 globally.
Usage
Add 996 to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"996"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"996/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
0.0.0
7 years ago