forked from nl-design-system/utrecht
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
157 lines (157 loc) · 6 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"extends": ["stylelint-config-standard-scss"],
"plugins": ["stylelint-order"],
"rules": {
"order/order": ["custom-properties", "declarations"],
"order/properties-alphabetical-order": true,
"scss/at-mixin-pattern": "^[a-z][a-z0-9-_]*$",
"scss/at-rule-no-unknown": true,
"scss/dollar-variable-default": true,
"scss/dollar-variable-first-in-block": [true, { "ignore": ["comments", "imports"] }],
"scss/dollar-variable-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"scss/percent-placeholder-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"scss/operator-no-newline-after": null,
"scss/at-extend-no-missing-placeholder": null,
"custom-property-pattern": "^_?(example|denhaag|utrecht)-[a-z0-9-]+$",
"selector-class-pattern": "^(example|denhaag|utrecht)-[a-z0-9_-]+$",
"keyframes-name-pattern": "^(example|utrecht)-[a-z0-9-]+$",
"at-rule-no-unknown": null,
"block-no-empty": [true],
"color-no-invalid-hex": [true],
"comment-no-empty": [true],
"declaration-block-no-duplicate-properties": [true],
"declaration-block-no-shorthand-property-overrides": [true],
"font-family-no-duplicate-names": [true],
"font-family-no-missing-generic-family-keyword": [true],
"function-calc-no-unspaced-operator": [true],
"function-linear-gradient-no-nonstandard-direction": [true],
"keyframe-declaration-no-important": [true],
"media-feature-name-no-unknown": [true],
"no-descending-specificity": [true],
"no-duplicate-at-import-rules": [true],
"no-duplicate-selectors": [true],
"no-empty-source": [true],
"no-extra-semicolons": null,
"no-invalid-double-slash-comments": [true],
"property-no-unknown": [true],
"selector-pseudo-class-no-unknown": [true],
"selector-pseudo-element-no-unknown": [true],
"string-no-newline": [true],
"unit-no-unknown": [true],
"alpha-value-notation": ["percentage"],
"hue-degree-notation": ["number"],
"color-function-notation": ["modern"],
"length-zero-no-unit": [
true,
{
"ignore": ["custom-properties"]
}
],
"font-weight-notation": [
"numeric",
{
"ignore": ["relative"]
}
],
"function-url-no-scheme-relative": [true],
"unit-disallowed-list": [["s"]],
"font-family-name-quotes": ["always-unless-keyword"],
"function-url-quotes": ["always"],
"number-leading-zero": null,
"number-no-trailing-zeros": null,
"declaration-property-value-disallowed-list": [
{
"text-align": ["left", "right"]
}
],
"property-disallowed-list": [
[
"margin",
"margin-bottom",
"margin-left",
"margin-right",
"margin-top",
"padding",
"padding-bottom",
"padding-left",
"padding-right",
"padding-top"
]
],
"selector-max-id": [0],
"indentation": null,
"linebreaks": null,
"max-line-length": null,
"function-comma-newline-after": null,
"function-comma-newline-before": null,
"function-comma-space-after": null,
"function-comma-space-before": null,
"function-max-empty-lines": null,
"function-parentheses-newline-inside": null,
"function-parentheses-space-inside": null,
"value-list-comma-newline-after": null,
"value-list-comma-newline-before": null,
"value-list-comma-space-after": null,
"value-list-comma-space-before": null,
"value-list-max-empty-lines": null,
"declaration-bang-space-after": ["never"],
"declaration-bang-space-before": ["always"],
"declaration-colon-newline-after": null,
"declaration-colon-space-after": null,
"declaration-colon-space-before": null,
"declaration-block-semicolon-newline-after": null,
"declaration-block-semicolon-newline-before": null,
"declaration-block-semicolon-space-after": null,
"declaration-block-semicolon-space-before": null,
"declaration-block-trailing-semicolon": null,
"block-closing-brace-empty-line-before": null,
"block-closing-brace-newline-after": null,
"block-closing-brace-newline-before": null,
"block-closing-brace-space-after": null,
"block-closing-brace-space-before": null,
"block-opening-brace-newline-after": null,
"block-opening-brace-newline-before": null,
"block-opening-brace-space-after": null,
"block-opening-brace-space-before": null,
"selector-attribute-brackets-space-inside": ["never"],
"selector-attribute-quotes": ["always"],
"selector-combinator-space-after": null,
"selector-combinator-space-before": null,
"selector-descendant-combinator-no-non-space": null,
"selector-pseudo-class-parentheses-space-inside": ["never"],
"selector-list-comma-newline-after": null,
"selector-list-comma-newline-before": null,
"selector-list-comma-space-after": null,
"selector-list-comma-space-before": null,
"media-feature-colon-space-after": ["always"],
"media-feature-colon-space-before": ["never"],
"media-feature-parentheses-space-inside": ["never"],
"media-query-list-comma-newline-after": null,
"media-query-list-comma-newline-before": null,
"media-query-list-comma-space-after": null,
"media-query-list-comma-space-before": null,
"at-rule-empty-line-before": null,
"at-rule-name-newline-after": null,
"at-rule-name-space-after": ["always"],
"at-rule-semicolon-newline-after": null,
"at-rule-semicolon-space-before": ["never"],
"max-empty-lines": null,
"no-eol-whitespace": null,
"no-missing-end-of-source-newline": null,
"no-empty-first-line": null,
"unicode-bom": null,
"rule-empty-line-before": null,
"color-hex-case": null,
"unit-case": null,
"property-case": null,
"selector-pseudo-class-case": null,
"selector-pseudo-element-case": null,
"selector-max-empty-lines": null,
"media-feature-name-case": null,
"at-rule-name-case": null,
"string-quotes": null,
"property-no-vendor-prefix": null,
"value-keyword-case": ["lower", { "camelCaseSvgKeywords": true }],
"declaration-block-no-redundant-longhand-properties": null
}
}