summaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
blob: c00dafac047c871186b4183d586b28a37ecd98b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
    "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,
        "length-zero-no-unit": [
            true,
            {
                "ignoreFunctions": [
                    "/^props\\.def/"
                ]
            }
        ],
        "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
    }
}