1.1.2 • Published 5 years ago

eslint-plugin-zencity v1.1.2

Weekly downloads
274
License
ISC
Repository
-
Last release
5 years ago

eslint-plugin-zencity

A bundle of linting rules for Zencity

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-zencity:

$ npm install eslint-plugin-zencity --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-zencity globally.

Usage

Add zencity to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "zencity"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "zencity/autofix-no-prototype-builtins": "error",
        "zencity/autofix-jsx-no-target-blank": "error",
        "zencity/object-curly-spacing-on-fixing-prefer-destructuring": "error",
        "zencity/prefer-custom-logger": "warn",
        "no-prototype-builtins": "off",
        "react/jsx-no-target-blank": "off",
        "prefer-destructuring": "off",
    }
}
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.0

6 years ago