0.0.1 • Published 4 years ago

eslint-plugin-react-jss v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

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"
  }
}