-
Notifications
You must be signed in to change notification settings - Fork 162
/
.stylelintrc.json
75 lines (75 loc) · 3.29 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
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
74
75
{
"extends": ["stylelint-config-standard-scss"],
"plugins": ["stylelint-scss", "stylelint-prettier"],
"rules": {
"at-rule-disallowed-list": ["debug", {
"severity": "warning"
}],
"block-no-empty": true,
"color-hex-length": "short",
"color-no-invalid-hex": true,
"comment-no-empty": true,
"custom-property-pattern": "(?:ig*-)?.+",
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-single-line-max-declarations": 1,
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": true,
"font-weight-notation": "numeric",
"function-calc-no-unspaced-operator": true,
"length-zero-no-unit": true,
"max-nesting-depth": [3, {
"severity": "warning"
}],
"no-descending-specificity": null,
"no-duplicate-at-import-rules": true,
"no-duplicate-selectors": true,
"no-invalid-double-slash-comments": true,
"property-no-unknown": true,
"rule-empty-line-before": ["always-multi-line", {
"except": ["first-nested"],
"ignore": ["after-comment"]
}],
"selector-attribute-quotes": "always",
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-type-no-unknown": [true, {
"ignore": ["custom-elements"]
}],
"shorthand-property-no-redundant-values": true,
"property-no-vendor-prefix": null,
"value-no-vendor-prefix": true,
"value-keyword-case": null,
"selector-no-vendor-prefix": null,
"selector-class-pattern": null,
"at-rule-empty-line-before": null,
"custom-property-empty-line-before": null,
"declaration-empty-line-before": null,
"alpha-value-notation": null,
"color-function-notation": null,
"number-max-precision": null,
"declaration-block-no-redundant-longhand-properties": null,
"scss/no-global-function-names": null,
"scss/at-mixin-pattern": null,
"scss/at-function-pattern": null,
"scss/percent-placeholder-pattern": null,
"scss/dollar-variable-pattern": null,
"scss/double-slash-comment-empty-line-before": null,
"scss/double-slash-comment-whitespace-inside": null,
"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",
"scss/dollar-variable-empty-line-before": null,
"scss/at-mixin-argumentless-call-parentheses": "always",
"scss/at-mixin-parentheses-space-before": "never",
"scss/at-rule-no-unknown": true,
"scss/double-slash-comment-inline": "never",
"scss/dollar-variable-colon-newline-after": null,
"scss/dollar-variable-colon-space-after": "always",
"scss/selector-no-redundant-nesting-selector": true
}
}