eslint-plugin-isotropic

ESLint rules for Isotropic

Usage no npm install needed!

<script type="module">
  import eslintPluginIsotropic from 'https://cdn.skypack.dev/eslint-plugin-isotropic';
</script>

README

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