aboutsummaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
blob: 8a9a924af887d5897fcda4be9fe6839183a61fb9 (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
{
    "extends": "stylelint-config-sass-guidelines",
    "rules": {
        "indentation": 4,
        "number-leading-zero": "never",
        "max-nesting-depth": 10,
        "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 }
        ],
        "declaration-colon-space-after": null,
        "function-parentheses-newline-inside": "always-multi-line",
        "function-parentheses-space-inside": "never-single-line",
        "scss/dollar-variable-colon-space-after": null,
        "scss/dollar-variable-pattern": "[a-z0-9-]+"
    },
    "overrides": [
        {
            "files": ["src/**/*.scss"],
            "customSyntax": "postcss-scss"
        }
    ]
}