1.0.4 • Published 4 years ago

eslint-plugin-quanticmind-custom-rules v1.0.4

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

eslint-plugin-quanticmind-custom-rules

TEST

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-quanticmind-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-quanticmind-custom-rules globally.

Usage

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

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

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

{
  "rules": {
    "@quanticmind-custom-rules/rule-name": 2
  }
}

Supported Rules

  • Fill in provided rules here

How to create new rules

Every rule MUST have tests. Rules have to be created under src/rules directory the reference must be added to the src/index.js script, where rules are exported. Finally use npm publish to publish the plugin.

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago