0.0.4 • Published 4 years ago
eslint-plugin-css-prop v0.0.4
eslint-plugin-css-prop
rules for the css prop
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-css-prop:
$ npm install eslint-plugin-css-prop --save-devUsage
Add css-prop to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"css-prop"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"css-prop/rule-name": 2
}
}Supported Rules
- Fill in provided rules here