-
Notifications
You must be signed in to change notification settings - Fork 2
/
.stylelintrc.json
46 lines (45 loc) · 1.76 KB
/
.stylelintrc.json
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
{
"extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"],
"plugins": ["stylelint-scss"],
"customSyntax": "postcss-scss",
"rules": {
"at-rule-no-unknown": null,
"at-rule-empty-line-before": null,
"color-hex-case": null,
"color-hex-length": null,
"declaration-empty-line-before": null,
"declaration-block-single-line-max-declarations": 2,
"length-zero-no-unit": null,
"no-duplicate-selectors": null,
"no-invalid-position-at-import-rule": null,
"rule-empty-line-before": [
"always-multi-line",
{
"except": ["after-single-line-comment", "first-nested"],
"ignore": ["after-comment", "first-nested"]
}
],
"selector-pseudo-element-colon-notation": "double",
"scss/at-rule-no-unknown": true,
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
"scss/at-else-if-parentheses-space-before": "always",
"scss/no-duplicate-dollar-variables": [
true,
{
"ignoreInsideAtRules": ["if", "else", "mixin", "function", "while"]
}
],
"scss/at-function-parentheses-space-before": "never",
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-mixin-argumentless-call-parentheses": "always",
"scss/at-mixin-parentheses-space-before": "never",
"scss/dollar-variable-colon-space-after": "at-least-one-space",
"scss/dollar-variable-colon-newline-after": "always-multi-line",
"scss/dollar-variable-no-missing-interpolation": true,
"scss/double-slash-comment-whitespace-inside": "always",
"scss/declaration-nested-properties-no-divided-groups": true,
"scss/operator-no-unspaced": true,
"scss/selector-no-redundant-nesting-selector": true,
"selector-class-pattern": "^[a-zA-Z-_]+$"
}
}