0.0.2 • Published 7 years ago
eslint-plugin-no-flex-shorthand v0.0.2
eslint-plugin-no-flex-shorthand
no flex shorthand css-in-js declarations
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-no-flex-shorthand:
$ npm install eslint-plugin-no-flex-shorthand --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-no-flex-shorthand globally.
Usage
Add no-flex-shorthand to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"no-flex-shorthand"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"no-flex-shorthand/rule-name": 2
}
}Supported Rules
- Fill in provided rules here