ESLint rules for Isotropic
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.
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
}
}