Description
This is a standard stylelint setup for IT TEST developers and anyone else, who wants to use it.
Installation
npm i @ittinc/stylelint
Usage
Set your stylelint config to:
{
"extends": "@ittinc/stylelint"
}
Customs
Using next rules customizations:
- [
function-url-quotes
] We never should use quotes if they not needed - [
selector-class-pattern
] Use BEM pattern - [
number-leading-zero
] omit leading zero - [
length-zero-no-unit
] it is allowed to set unit for zero value if it's a custom-properties
Source
For the full list of rules used please take a look at the source package.