forked from DestinyItemManager/DIM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
52 lines (52 loc) · 2.04 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
{
"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-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-'"
}
]
}
}