1.0.0 • Published 4 years ago

test_eslint_plugin1 v1.0.0

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

eslint-plugin-test-eslint-plugin

testing custom rules on eslint

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-test-eslint-plugin:

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

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

Usage

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

{
    "plugins": [
        "test-eslint-plugin"
    ]
}

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

{
    "rules": {
        "test-eslint-plugin/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here
1.0.0

4 years ago