-
-
Notifications
You must be signed in to change notification settings - Fork 646
/
.stylelintrc
73 lines (73 loc) · 2.54 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
{
"plugins": ["stylelint-order"],
"extends": ["stylelint-config-standard-scss", "stylelint-config-css-modules"],
"rules": {
"alpha-value-notation": "number",
"shorthand-property-no-redundant-values": null,
"rule-empty-line-before": null,
"value-keyword-case": null,
"comment-empty-line-before": null,
"scss/double-slash-comment-empty-line-before": null,
"scss/dollar-variable-empty-line-before": null,
"scss/comment-no-empty": null,
"function-name-case": null,
"function-calc-no-unspaced-operator": null,
"media-feature-range-notation": null,
"declaration-empty-line-before": null,
"custom-property-empty-line-before": null,
"scss/no-global-function-names": null,
"scss/operator-no-newline-after": null,
"color-function-notation": "legacy",
"scss/at-import-partial-extension": null,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"media-feature-name-no-unknown": null,
"selector-not-notation": null,
"selector-pseudo-class-no-unknown": [true, { "ignorePseudoClasses": ["horizontal", "global"] }],
"hue-degree-notation": "number",
"selector-id-pattern": "(^[a-z][a-zA-Z0-9]+$|^([a-z][a-z0-9]*)(-[a-z0-9]+)*$)",
"selector-class-pattern": "(^[a-z][a-zA-Z0-9]+$|^([a-z][a-z0-9]*)(-[A-Za-z0-9]+)*$)",
"scss/dollar-variable-pattern": "(^[a-z][a-zA-Z0-9]+$|^([a-z][a-z0-9]*)(-[a-z0-9]+)*$)",
"value-no-vendor-prefix": [true, { "ignoreValues": ["box"] }],
"color-no-invalid-hex": true,
"unit-no-unknown": true,
"no-duplicate-selectors": true,
"declaration-block-no-duplicate-properties": [
true,
{ "ignore": ["consecutive-duplicates-with-different-values"] }
],
"declaration-block-no-redundant-longhand-properties": [
true,
{ "ignoreShorthands": ["/grid-template/"] }
],
"scss/function-no-unknown": [
true,
{ "ignoreFunctions": "/^dim-([a-z][a-z0-9]*)(-[a-z0-9]+)*$/" }
],
"scss/at-function-pattern": [
"^dim-([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
{ "message": "Expected function name to be kebab-case and prefixed with 'dim-'" }
],
"scss/load-partial-extension": null,
"order/order": [
"custom-properties",
"dollar-variables",
"declarations",
{
"type": "at-rule",
"name": "include",
"hasBlock": false
},
{
"type": "at-rule",
"name": "include",
"hasBlock": true
},
{
"type": "at-rule"
},
"rules"
],
"declaration-block-no-shorthand-property-overrides": true
}
}