-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
96 lines (96 loc) · 2.38 KB
/
.stylelintrc
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"extends": [
"stylelint-a11y/recommended",
"stylelint-config-sass-guidelines"
],
"plugins": [
"stylelint-order",
"stylelint-scss"
],
"rules": {
"at-rule-no-unknown": null,
"block-no-empty": true,
"block-opening-brace-space-before": "always",
"declaration-property-value-disallowed-list": {
"/^border/": [
"none",
"0px"
],
"/^margin/": [
"0px"
],
"/^padding/": [
"0px"
]
},
"font-family-no-duplicate-names": null,
"font-family-no-missing-generic-family-keyword": true,
"function-parentheses-space-inside": "always-single-line",
"indentation": 2,
"max-nesting-depth": 2,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"number-leading-zero": "always",
"order/properties-alphabetical-order": [
true,
{
"disableFix": true
}
],
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"scss/at-extend-no-missing-placeholder": true,
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension-blacklist": [
"css",
"less",
"sass",
"scss"
],
"scss/at-mixin-argumentless-call-parentheses": "always",
"scss/at-mixin-parentheses-space-before": "always",
"scss/dollar-variable-colon-newline-after": "always-multi-line",
"scss/dollar-variable-colon-space-after": "always",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-pattern": [
"([a-z]+)?(--[a-z]+)?(__[a-z]+)?",
{
"ignore": "local"
}
],
"scss/double-slash-comment-empty-line-before": [
"always",
{
"except": [
"first-nested"
]
}
],
"scss/no-duplicate-dollar-variables": [
true,
{
"ignoreInside": [
"at-rule",
"nested-at-rule"
]
}
],
"scss/operator-no-unspaced": true,
"scss/selector-no-redundant-nesting-selector": true,
"selector-class-pattern": "([a-z]+)?(--[a-z]+)?(__[a-z]+)?",
"selector-max-empty-lines": 0,
"selector-max-id": 1,
"selector-no-qualifying-type": null,
"string-quotes": "double"
}
}