@6river/eslint-plugin-6river

set of 6river eslint plugins

Usage no npm install needed!

<script type="module">
  import 6riverEslintPlugin6river from 'https://cdn.skypack.dev/@6river/eslint-plugin-6river';
</script>

README

eslint-plugin-6river

set of 6river eslint plugins

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-6river:

$ npm install eslint-plugin-6river --save-dev

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

Usage

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

{
    "plugins": [
        "6river"
    ]
}

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

{
    "rules": {
        "6river/rule-name": 2
    }
}

Supported Rules

  • new-cap