React JSS specific linting rules for ESLint.
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
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"
}
}