1.0.2 • Published 3 years ago

eslint-plugin-tilted-react v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

eslint-plugin-tilted-react

Eslint rules used by Tilted on react projects

Installation

# yarn
yarn add eslint-plugin-tilted-react --dev

# npm
npm install eslint-plugin-tilted-react --save-dev

Usage

Add tilted-react to the plugins section of your .eslintrc configuration file. Omit the eslint-plugin- prefix:

{
  "plugins": [
    "tilted-react"
  ]
}

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

{
  "rules": {
    "tilted-react/too-few-lines-between-jsx-elements": "error"
  }
}