aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
blob: 97f6f6c0404fd982fe57847106122f7679945406 (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
{
    "extends": "stylelint-config-sass-guidelines",
    "rules": {
        "@stylistic/indentation": 4,
        "@stylistic/number-leading-zero": "never",
        "@stylistic/declaration-colon-space-after": null,
        "max-nesting-depth": 9,
        "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
    },
    "overrides": [
        {
            "files": [
                "**/*.scss"
            ],
            "customSyntax": "postcss-scss"
        }
    ]
}