1.0.2 • Published 8 years ago
eslint-plugin-jss v1.0.2
eslint-plugin-jss
Sorting jss in alphabetical order
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-jss:
$ npm install eslint-plugin-jss --save-devNote: 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