Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

verdaccio/eslint-plugin-verdaccio

Repository files navigation

Deprecated repository

This repository has been moved to a monorepo you can find in verdaccio/monorepo. This package is located in tools/eslint-plugin-verdaccio folder


eslint-plugin-verdaccio

verdaccio code guide lines

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published