summaryrefslogtreecommitdiffstats
path: root/.stylelintrc.json
blob: 56d27b38946df3c24d1689c65c9d07e58f29b410 (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
{
  "extends": "stylelint-config-standard-scss",
  "rules": {
    "alpha-value-notation": "number",
    "color-function-notation": "legacy",
    "comment-whitespace-inside": null,
    "custom-property-pattern": null,
    "declaration-colon-newline-after": null,
    "declaration-empty-line-before": null,
    "function-url-quotes": null,
    "hue-degree-notation": "number",
    "indentation": [
      2,
      {
        "ignore": ["inside-parens", "value"],
        "indentInsideParens": "twice"
      }
    ],
    "max-line-length": [
      80,
      {
        "ignore": ["non-comments"],
        "ignorePattern": ["/https?://[0-9,a-z]*.*/"]
      }
    ],
    "property-no-unknown": [
      true,
      {
        "ignoreProperties": ["composes"]
      }
    ],
    "selector-id-pattern": null,
    "selector-class-pattern": [
      "^([a-z][a-z0-9]*)((-|--|__)[a-z0-9]+)*$",
      {
        "message": "Selector should use lowercase and separate words with hyphens or use BEM (selector-class-pattern)"
      }
    ],
    "scss/dollar-variable-empty-line-before": null,
    "scss/dollar-variable-pattern": null,
    "scss/double-slash-comment-whitespace-inside": null,
    "scss/operator-no-newline-after": null
  }
}