eslint-plugin-react-jss
v0.0.1
Published
ESLint plugin for react-jss
Downloads
35,803
Maintainers
Readme
ESLint plugin for React JSS
React JSS specific linting rules for ESLint.
Installation
Install ESLint either locally or globally.
$ npm install --save-dev eslint
Similarly, install eslint-plugin-react-jss
$ npm install --save-dev eslint-plugin-react-jss
Configuration
Add plugins
section and specify and ESLint-plugin-react-jss as a plugin.
{
"plugins": ["react-jss"]
}
Finally, enable the rules that you would like to use.
{
"rules": {
"react-jss/prefer-object": "warn"
}
}