aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.stylelintrc.json
blob: 7005633b29cb253f2e430080577d272282088e2c (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
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
63
64
65
66
67
68
69
70
71
72
73
{
  "extends": "stylelint-config-recommended-scss",
  "plugins": [
    "stylelint-order",
    "stylelint-scss",
    "@stylistic/stylelint-plugin"
  ],
  "rules": {
    "at-rule-empty-line-before": [
      "always", {
        "ignoreAtRules": [ "after-comment", "else" ]
      }
    ],
    "@stylistic/at-rule-name-space-after": [
      "always", {
        "ignoreAtRules": [ "after-comment" ]
      }
    ],
    "@stylistic/block-closing-brace-newline-after": [
      "always", {
        "ignoreAtRules": [ "if", "else" ]
      }
    ],
    "@stylistic/block-closing-brace-newline-before": "always-multi-line",
    "@stylistic/block-opening-brace-newline-after": "always-multi-line",
    "@stylistic/block-opening-brace-space-before": "always",
    "@stylistic/color-hex-case": "lower",
    "color-hex-length": "short",
    "color-no-invalid-hex": true,
    "@stylistic/declaration-colon-space-after": "always",
    "@stylistic/declaration-colon-space-before": "never",
    "@stylistic/indentation": "tab",
    "no-descending-specificity": null,
    "@stylistic/no-eol-whitespace": true,
    "property-no-vendor-prefix": true,
    "rule-empty-line-before": [
      "always", {
        "except": ["after-single-line-comment","first-nested"]
      }
    ],
    "order/properties-order": [
      "margin",
      "padding",
      "background",
      "display",
      "float",
      "max-width",
      "width",
      "max-height",
      "height",
      "color",
      "font",
      "font-family",
      "font-size",
      "border",
      "border-top",
      "border-top-color",
      "border-right",
      "border-right-color",
      "border-bottom",
      "border-bottom-color",
      "border-left",
      "border-left-color",
      "border-radius",
      "box-shadow"
    ],
    "scss/at-else-closing-brace-newline-after": "always-last-in-chain",
    "scss/at-else-closing-brace-space-after": "always-intermediate",
    "scss/at-else-empty-line-before": "never",
    "scss/at-if-closing-brace-newline-after": "always-last-in-chain",
    "scss/at-if-closing-brace-space-after": "always-intermediate"
  }
}