eslint-plugin-verdaccio

Verdaccio code guidelines

Usage no npm install needed!

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

README

eslint-plugin-verdaccio

verdaccio code guidelines

Installation

You"ll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-verdaccio:

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

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

Usage

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

{
    "plugins": [
        "verdaccio"
    ]
}

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

{
    "rules": {
        "verdaccio/jsx-spread": "error",
        "verdaccio/jsx-no-style": "error",
        "verdaccio/jsx-no-classname-object": "error"
    }
}

Supported Rules

License

MIT