Détail du package

eslint-plugin-custom-rules

desktoping15.5kISC0.0.0

eslint, eslintplugin, eslint-plugin

readme

eslint-plugin-custom-rules

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-custom-rules:

$ npm install eslint-plugin-custom-rules --save-dev

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

Usage

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

{
    "plugins": [
        "custom-rules"
    ]
}