eslint-plugin-xys

xys eslint eslint-plugin

Usage no npm install needed!

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

README

eslint-plugin-xys

xys eslint eslint-plugin

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-xys:

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

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

Usage

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

{
    "plugins": [
        "xys"
    ]
}

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

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

Supported Rules

  • Fill in provided rules here