-
Notifications
You must be signed in to change notification settings - Fork 301
/
.stylelintrc
executable file
·78 lines (78 loc) · 2.52 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
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-declaration-strict-value",
"stylelint-order",
"stylelint-scss"
],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": ["blockless-after-blockless", "first-nested"],
"ignoreAtRules": [ "else" ],
"ignore": ["after-comment"] }
],
"at-rule-no-unknown": null,
"block-opening-brace-space-before": "always",
"block-closing-brace-newline-after": [
"always", {
"ignoreAtRules": [ "if", "else" ]
}
],
"color-named": "never",
"declaration-colon-newline-after": null,
"declaration-empty-line-before": null,
"declaration-property-value-blacklist": {
"/^border/": ["none"]
},
"function-url-quotes": "always",
"indentation": [2, { "ignore": ["value"] }],
"max-nesting-depth": 5,
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"no-empty-source": [true, { "severity": "warning" }],
"no-missing-end-of-source-newline": true,
"number-max-precision": 4,
"property-no-vendor-prefix": true,
"selector-class-pattern": "^((?:-{1,2}|_{2})?[a-z0-9]+(?:(?:-{1,2}|_{2})[a-z0-9]+)*)(?:-{1,2}|_{2})?$",
"selector-max-compound-selectors": 5,
"selector-max-specificity": ["0,6,4"],
"selector-no-qualifying-type": [true, { "ignore": ["class"] }],
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "single",
"unit-blacklist": [["rem", "em"]],
"order/order": [
"custom-properties",
"dollar-variables",
{ "type": "at-rule", "name": "extend" },
{ "type": "at-rule", "name": "include", "hasBlock": false },
"declarations",
{
"type": "at-rule",
"name": "include",
"hasBlock": true
},
"rules",
"at-rules"
],
"order/properties-alphabetical-order": true,
"scale-unlimited/declaration-strict-value": [
["/color/"],
{
"ignoreKeywords": {
"/color/": ["transparent", "inherit"]
}
}
],
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension-blacklist": ["scss"],
"scss/at-rule-no-unknown": true,
"scss/dollar-variable-colon-space-after": "always",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-no-missing-interpolation": true,
"scss/double-slash-comment-whitespace-inside": "always",
"scss/operator-no-unspaced": true,
"scss/selector-no-redundant-nesting-selector": true
}
}