0.1.1 • Published 2 years ago

eslint-plugin-zen v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

eslint-plugin-zen

zen encoding style

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-zen:

npm install eslint-plugin-zen --save-dev

Usage

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.

NameDescriptionšŸ’¼
no-console-timeno console.time()āœ…
no-settimeout-numberdesc for ruleāœ…
0.1.1

2 years ago

0.1.0

2 years ago