summaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
blob: 478ae4e49d7fb1593d534a14561476c5211428d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
    "extends": [
        "stylelint-config-sass-guidelines",
        "stylelint-config-recess-order"
    ],
    "rules": {
        "@stylistic/indentation": 4,
        "@stylistic/number-leading-zero": "never",
        "@stylistic/declaration-colon-space-after": null,
        "max-nesting-depth": 7,
        "selector-class-pattern": [
            "^[closut](-[a-z0-9]+)+(__[a-z0-9]+(-[a-z0-9]+)*)*(--[a-z0-9]+(-[a-z0-9]+)*)*(\\@[a-z0-9]+(-[a-z0-9]+)*)?$",
            {
                "resolveNestedSelectors": true
            }
        ],
        "scss/dollar-variable-colon-space-after": null
    }
}