0.5.1 • Published 4 years ago
eslint-plugin-css-reorder v0.5.1
eslint-plugin-css-reorder
ESLint plugin for CSS properties reordering
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-css-reorder:
npm install eslint-plugin-css-reorder --save-devUsage
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