aboutsummaryrefslogtreecommitdiff
path: root/.stylelintrc.json
blob: 7e900cfd8a84fb0701511b5329b3e311ac94bd15 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
    "extends": "stylelint-config-recommended",
    "plugins": [
        "stylelint-stylistic"
    ],
    "ignoreFiles": [
        "ext/lib/**/*.css"
    ],
    "rules": {
        "at-rule-empty-line-before": null,
        "block-no-empty": true,
        "color-hex-length": null,
        "color-named": "never",
        "custom-property-empty-line-before": null,
        "declaration-no-important": true,
        "font-family-name-quotes": "always-where-recommended",
        "font-weight-notation": "named-where-possible",
        "function-calc-no-unspaced-operator": true,
        "function-name-case": "lower",
        "length-zero-no-unit": null,
        "no-descending-specificity": null,
        "no-duplicate-selectors": null,
        "no-invalid-double-slash-comments": true,
        "rule-empty-line-before": null,
        "selector-type-no-unknown": null,
        "selector-pseudo-element-colon-notation": "double",
        "string-no-newline": true,
        "unit-no-unknown": true,
        "value-keyword-case": [
            "lower",
            {
                "camelCaseSvgKeywords": true
            }
        ],

        "stylistic/block-opening-brace-space-after": "always-single-line",
        "stylistic/block-opening-brace-space-before": [
            "always",
            {
                "ignoreSelectors": "/^\\.icon/"
            }
        ],
        "stylistic/color-hex-case": "lower",
        "stylistic/declaration-colon-space-after": "always-single-line",
        "stylistic/declaration-colon-space-before": "never",
        "stylistic/function-comma-space-after": "always",
        "stylistic/function-comma-space-before": "never",
        "stylistic/function-parentheses-space-inside": "never",
        "stylistic/function-whitespace-after": "always",
        "stylistic/indentation": 4,
        "stylistic/max-empty-lines": 2,
        "stylistic/no-extra-semicolons": true,
        "stylistic/number-leading-zero": "always",
        "stylistic/number-no-trailing-zeros": true,
        "stylistic/property-case": "lower",
        "stylistic/selector-combinator-space-after": "never",
        "stylistic/selector-combinator-space-before": "never",
        "stylistic/selector-list-comma-newline-after": "always-multi-line",
        "stylistic/string-quotes": "single",
        "stylistic/unit-case": "lower"
    }
}