1.0.2 • Published 6 years ago

eslint-plugin-jss v1.0.2

Weekly downloads
27
License
ISC
Repository
-
Last release
6 years ago

eslint-plugin-jss

Sorting jss in alphabetical order

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-jss:

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

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

Usage

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

{
    "plugins": [
        "jss"
    ]
}

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

{
    "rules": {
        "jss/sort-keys-jss": 2
    }
}

Supported Rules

  • Fill in provided rules here