eslint-plugin-zen
v0.1.1
Published
zen encoding style
Downloads
5
Maintainers
Readme
eslint-plugin-zen
zen encoding style
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-zen:
npm install eslint-plugin-zen --save-devUsage
The most convenient method is to directly introduce it through the 'extends' field:
{
"extends":["zen/recommended"]
}It completes the following two actions:
Add zen to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"zen"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"zen/rule-name": 2
}
}Rules
💼 Configurations enabled in.
✅ Set in the recommended configuration.
| Name | Description | 💼 | | :--------------------------------------------------------- | :---------------- | :- | | no-console-time | no console.time() | ✅ | | no-settimeout-number | desc for rule | ✅ |
