Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Latest commit

 

History

History
37 lines (26 loc) · 748 Bytes

readme.md

File metadata and controls

37 lines (26 loc) · 748 Bytes

eslint-plugin-css-camel-sort

Fork of stylelint-config-recess-order with object CSS properties sorts for use eslint-plugin.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-css-camel-sort:

npm install eslint-plugin-css-camel-sort --save-dev

Usage

Add css-camel-sort to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["css-camel-sort"]
}

Then add css-camel-sort rule under the rules section.

{
  "rules": {
    "css-camel-sort/css-camel-sort": "warn"
  }
}