1.0.2 • Published 4 years ago
eslint-plugin-tilted-react v1.0.2
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-devUsage
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"
}
}