Skip to content

ibi-group/eslint-plugin-isotropic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-isotropic

ESLint rules for Isotropic

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-isotropic:

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

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

Usage

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

{
    "plugins": [
        "isotropic"
    ]
}

Then extend your configuration:

{
    "extends": "plugin:isotropic/isotropic"
}

or configure the individual rules you want to use under the rules section.

{
    "rules": {
        "isotropic/rule-name": 2
    }
}

Custom Rules