eslint-plugin-css-reorder
v0.5.1
Published
ESLint plugin for CSS properties reordering
Downloads
22,992
Maintainers
Readme
eslint-plugin-css-reorder
ESLint plugin for CSS properties reordering
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-css-reorder
:
npm install eslint-plugin-css-reorder --save-dev
Usage
Add css-reorder
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["css-reorder"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"css-reorder/rule-name": 2
}
}
Supported Rules
- property-reorder