@stylelint-types/stylelint-stylistic 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/lib/index.d.ts +747 -846
  2. package/lib/index.js +1 -0
  3. package/package.json +14 -12
package/lib/index.d.ts CHANGED
@@ -1,852 +1,753 @@
1
- import { RuleConfig, LiteralUnion, AtRules, RegExpLike } from 'stylelint-define-config';
2
-
3
- type AtRuleNameCaseOptions = RuleConfig<
4
- 'lower' | 'upper',
5
- [name: string, expectedName: string]
6
- >
7
-
8
- type AtRuleNameNewlineAfterOptions = RuleConfig<
9
- 'always' | 'always-multi-line'
10
- >
11
-
12
- type AtRuleNameSpaceAfterOptions = RuleConfig<
13
- 'always' | 'always-single-line'
14
- >
15
-
16
- type AtRuleSemicolonNewlineAfterOptions = RuleConfig<
17
- 'always'
18
- >
19
-
20
- type AtRuleSemicolonSpaceBeforeOptions = RuleConfig<
21
- 'always' | 'never'
22
- >
23
-
24
- type BlockClosingBraceEmptyLineBeforeOptions = RuleConfig<
25
- 'always-multi-line' | 'never',
26
- [],
27
- {
28
- except?: LiteralUnion<'after-closing-brace'>[]
29
- }
30
- >
31
-
32
- type BlockClosingBraceNewlineAfterOptions = RuleConfig<
33
- 'always' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line',
34
- [],
35
- {
36
- ignoreAtRules?: AtRules[]
37
- }
38
- >
39
-
40
- type BlockClosingBraceNewlineBeforeOptions = RuleConfig<
41
- 'always' | 'always-multi-line' | 'never-multi-line'
42
-
43
- >
44
-
45
- type BlockClosingBraceSpaceAfterOptions = RuleConfig<
46
- 'always' | 'never' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line'
47
- >
48
-
49
- type BlockClosingBraceSpaceBeforeOptions = RuleConfig<
50
- 'always' | 'never' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line'
51
- >
52
-
53
- type BlockOpeningBraceNewlineAfterOptions = RuleConfig<
54
- 'always' | 'always-multi-line' | 'never-multi-line',
55
- [],
56
- {
57
- ignore?: LiteralUnion<'rules'>[]
58
- }
59
- >
60
-
61
- type BlockOpeningBraceNewlineBeforeOptions = RuleConfig<
62
- 'always' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line'
63
- >
64
-
65
- type BlockOpeningBraceSpaceAfterOptions = RuleConfig<
66
- 'always' | 'never' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line',
67
- [],
68
- {
69
- ignore?: LiteralUnion<'at-rules'>[]
70
- }
71
- >
72
-
73
- type BlockOpeningBraceSpaceBeforeOptions = RuleConfig<
74
- 'always' | 'never' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line',
75
- [],
76
- {
77
- ignoreAtRules?: (AtRules | RegExp)[]
78
- ignoreSelectors?: RegExpLike[]
79
- }
80
- >
81
-
82
- type ColorHexCaseOptions = RuleConfig<
83
- 'lower' | 'upper',
84
- [value: string, expected: string]
85
- >
86
-
87
- type DeclarationBangSpaceAfterOptions = RuleConfig<
88
- 'always' | 'never'
89
- >
90
-
91
- type DeclarationBangSpaceBeforeOptions = RuleConfig<
92
- 'always' | 'never'
93
- >
94
-
95
- type DeclarationBlockSemicolonNewlineAfterOptions = RuleConfig<
96
- 'always' | 'always-multi-line' | 'never-multi-line'
97
- >
98
-
99
- type DeclarationBlockSemicolonNewlineBeforeOptions = RuleConfig<
100
- 'always' | 'always-multi-line' | 'never-multi-line'
101
- >
102
-
103
- type DeclarationBlockSemicolonSpaceAfterOptions = RuleConfig<
104
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
105
-
106
- >
107
-
108
- type DeclarationBlockSemicolonSpaceBeforeOptions = RuleConfig<
109
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
110
- >
111
-
112
- type DeclarationBlockTrailingSemicolonOptions = RuleConfig<
113
- 'always' | 'never',
114
- [],
115
- {
116
- ignore?: LiteralUnion<'single-declaration'>[]
117
- }
118
- >
119
-
120
- type DeclarationColonNewlineAfterOptions = RuleConfig<
121
- 'always' | 'always-multi-line'
122
- >
123
-
124
- type DeclarationColonSpaceAfterOptions = RuleConfig<
125
- 'always' | 'never' | 'always-single-line'
126
- >
127
-
128
- type DeclarationColonSpaceBeforeOptions = RuleConfig<
129
- 'always' | 'never'
130
- >
131
-
132
- type FunctionCommaNewlineAfterOptions = RuleConfig<
133
- 'always' | 'always-multi-line' | 'never-multi-line'
134
- >
135
-
136
- type FunctionCommaNewlineBeforeOptions = RuleConfig<
137
- 'always' | 'always-multi-line' | 'never-multi-line'
138
- >
139
-
140
- type FunctionCommaSpaceAfterOptions = RuleConfig<
141
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
142
- >
143
-
144
- type FunctionCommaSpaceBeforeOptions = RuleConfig<
145
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
146
- >
147
-
148
- type FunctionMaxEmptyLinesOptions = RuleConfig<
149
- number,
150
- [primary: number]
151
- >
152
-
153
- type FunctionParenthesesNewlineInsideOptions = RuleConfig<
154
- 'always' | 'always-multi-line' | 'never-multi-line'
155
- >
156
-
157
- type FunctionParenthesesSpaceInsideOptions = RuleConfig<
158
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
159
- >
160
-
161
- type FunctionWhitespaceAfterOptions = RuleConfig<
162
- 'always' | 'never'
163
- >
164
-
165
- type IndentationOptions = RuleConfig<
166
- LiteralUnion<2 | 4, number> | 'tab',
167
- [expectation: string],
168
- {
169
- baseIndentLevel?: number | 'auto'
170
- indentInsideParens?: LiteralUnion<'twice' | 'once-at-root-twice-in-block'>
171
- indentClosingBrace?: boolean
172
- except?: LiteralUnion<'block' | 'param' | 'value'>[]
173
- ignore?: LiteralUnion<'inside-parens' | 'param' | 'value'>[]
174
- }
175
- >
176
-
177
- type LinebreaksOptions = RuleConfig<
178
- number,
179
- [emptyLines: string]
180
- >
181
-
182
- type MaxEmptyLinesOptions = RuleConfig<
183
- LiteralUnion<1 | 2, number>,
184
- [],
185
- {
186
- ignore?: LiteralUnion<'comments'>[]
187
- }
188
- >
189
-
190
- type MaxLineLengthOptions = RuleConfig<
191
- number,
192
- [lineLength: number],
193
- {
194
- ignore?: LiteralUnion<'non-comments' | 'comments'>[]
195
- ignorePattern?: RegExpLike[]
196
- }
197
- >
198
-
199
- type MediaFeatureColonSpaceAfterOptions = RuleConfig<
200
- 'always' | 'never'
201
- >
202
-
203
- type MediaFeatureColonSpaceBeforeOptions = RuleConfig<
204
- 'always' | 'never'
205
- >
206
-
207
- type MediaFeatureNameCaseOptions = RuleConfig<
208
- 'lower' | 'upper',
209
- [name: string, expectedName: string]
210
- >
211
-
212
- type MediaFeatureParenthesesSpaceInsideOptions = RuleConfig<
213
- 'always' | 'never'
214
- >
215
-
216
- type MediaFeatureRangeOperatorSpaceAfterOptions = RuleConfig<
217
- 'always' | 'never'
218
- >
219
-
220
- type MediaFeatureRangeOperatorSpaceBeforeOptions = RuleConfig<
221
- 'always' | 'never'
222
- >
223
-
224
- type MediaQueryListCommaNewlineAfterOptions = RuleConfig<
225
- 'always' | 'always-multi-line' | 'never-multi-line'
226
- >
227
-
228
- type MediaQueryListCommaNewlineBeforeOptions = RuleConfig<
229
- 'always' | 'always-multi-line' | 'never-multi-line'
230
- >
231
-
232
- type MediaQueryListCommaSpaceAfterOptions = RuleConfig<
233
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
234
- >
235
-
236
- type MediaQueryListCommaSpaceBeforeOptions = RuleConfig<
237
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
238
- >
239
-
240
- type NamedGridAreasAlignmentOptions = RuleConfig<
241
- true,
242
- [],
243
- {
244
- gap?: number
245
- alignQuotes?: boolean
246
- }
247
- >
248
-
249
- type NoEmptyFirstLineOptions = RuleConfig<true>
250
-
251
- type NoEolWhitespaceOptions = RuleConfig<
252
- true,
253
- [],
254
- {
255
- ignore?: LiteralUnion<'empty-lines'>[]
256
- }
257
- >
258
-
259
- type NoExtraSemicolonsOptions = RuleConfig<true>
260
-
261
- type NoMissingEndOfSourceNewlineOptions = RuleConfig<true>
262
-
263
- type NumberLeadingZeroOptions = RuleConfig<
264
- 'always' | 'never'
265
- >
266
-
267
- type NumberNoTrailingZerosOptions = RuleConfig<true>
268
-
269
- type PropertyCaseOptions = RuleConfig<
270
- 'lower' | 'upper',
271
- [property: string, expectedProperty: string]
272
- >
273
-
274
- type SelectorAttributeBracketsSpaceInsideOptions = RuleConfig<
275
- 'always' | 'never'
276
- >
277
-
278
- type SelectorAttributeOperatorSpaceAfterOptions = RuleConfig<
279
- 'always' | 'never'
280
- >
281
-
282
- type SelectorAttributeOperatorSpaceBeforeOptions = RuleConfig<
283
- 'always' | 'never'
284
- >
285
-
286
- type SelectorCombinatorSpaceAfterOptions = RuleConfig<
287
- 'always' | 'never'
288
- >
289
-
290
- type SelectorCombinatorSpaceBeforeOptions = RuleConfig<
291
- 'always' | 'never'
292
- >
293
-
294
- type SelectorDescendantCombinatorNoNonSpaceOptions = RuleConfig<
295
- true,
296
- [value: string]
297
- >
298
-
299
- type SelectorListCommaNewlineAfterOptions = RuleConfig<
300
- 'always' | 'always-multi-line' | 'never-multi-line'
301
- >
302
-
303
- type SelectorListCommaNewlineBeforeOptions = RuleConfig<
304
- 'always' | 'always-multi-line' | 'never-multi-line'
305
- >
306
-
307
- type SelectorListCommaSpaceAfterOptions = RuleConfig<
308
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
309
- >
310
-
311
- type SelectorListCommaSpaceBeforeOptions = RuleConfig<
312
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
313
- >
314
-
315
- type SelectorMaxEmptyLinesOptions = RuleConfig<
316
- LiteralUnion<0 | 1, number>,
317
- [max: number]
318
- >
319
-
320
- type SelectorPseudoClassCaseOptions = RuleConfig<
321
- 'lower' | 'upper',
322
- [pseudoClass: string, expectedPseudoClass: string]
323
- >
324
-
325
- type SelectorPseudoClassParenthesesSpaceInsideOptions = RuleConfig<
326
- 'always' | 'never'
327
- >
328
-
329
- type SelectorPseudoElementCaseOptions = RuleConfig<
330
- 'lower' | 'upper',
331
- [pseudoElement: string, expectedPseudoElement: string]
332
- >
333
-
334
- type StringQuotesOptions = RuleConfig<
335
- 'single' | 'double',
336
- [quotes: string],
337
- {
338
- avoidEscape?: boolean
339
- }
340
- >
341
-
342
- type UnicodeBomOptions = RuleConfig<
343
- 'always' | 'never'
344
- >
345
-
346
- type UnitCaseOptions = RuleConfig<
347
- 'lower' | 'upper',
348
- [unit: string, expectedUnit: string]
349
- >
350
-
351
- type ValueListCommaNewlineAfterOptions = RuleConfig<
352
- 'always' | 'always-multi-line' | 'never-multi-line'
353
- >
354
-
355
- type ValueListCommaNewlineBeforeOptions = RuleConfig<
356
- 'always' | 'always-multi-line' | 'never-multi-line'
357
- >
358
-
359
- type ValueListCommaSpaceAfterOptions = RuleConfig<
360
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
361
- >
362
-
363
- type ValueListCommaSpaceBeforeOptions = RuleConfig<
364
- 'always' | 'never' | 'always-single-line' | 'never-single-line'
365
- >
366
-
367
- type ValueListMaxEmptyLinesOptions = RuleConfig<
368
- number,
369
- [max: number]
370
- >
371
-
1
+ import { AtRules, LiteralUnion, RegExpLike, RuleConfig } from "stylelint-define-config";
2
+
3
+ //#region src/rules/at-rule-name-case.d.ts
4
+ type AtRuleNameCaseOptions = RuleConfig<'lower' | 'upper', [name: string, expectedName: string]>;
5
+ //#endregion
6
+ //#region src/rules/at-rule-name-newline-after.d.ts
7
+ type AtRuleNameNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line'>;
8
+ //#endregion
9
+ //#region src/rules/at-rule-name-space-after.d.ts
10
+ type AtRuleNameSpaceAfterOptions = RuleConfig<'always' | 'always-single-line'>;
11
+ //#endregion
12
+ //#region src/rules/at-rule-semicolon-newline-after.d.ts
13
+ type AtRuleSemicolonNewlineAfterOptions = RuleConfig<'always'>;
14
+ //#endregion
15
+ //#region src/rules/at-rule-semicolon-space-before.d.ts
16
+ type AtRuleSemicolonSpaceBeforeOptions = RuleConfig<'always' | 'never'>;
17
+ //#endregion
18
+ //#region src/rules/block-closing-brace-empty-line-before.d.ts
19
+ type BlockClosingBraceEmptyLineBeforeOptions = RuleConfig<'always-multi-line' | 'never', [], {
20
+ except?: LiteralUnion<'after-closing-brace'>[];
21
+ }>;
22
+ //#endregion
23
+ //#region src/rules/block-closing-brace-newline-after.d.ts
24
+ type BlockClosingBraceNewlineAfterOptions = RuleConfig<'always' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line', [], {
25
+ ignoreAtRules?: AtRules[];
26
+ }>;
27
+ //#endregion
28
+ //#region src/rules/block-closing-brace-newline-before.d.ts
29
+ type BlockClosingBraceNewlineBeforeOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
30
+ //#endregion
31
+ //#region src/rules/block-closing-brace-space-after.d.ts
32
+ type BlockClosingBraceSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line'>;
33
+ //#endregion
34
+ //#region src/rules/block-closing-brace-space-before.d.ts
35
+ type BlockClosingBraceSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line'>;
36
+ //#endregion
37
+ //#region src/rules/block-opening-brace-newline-after.d.ts
38
+ type BlockOpeningBraceNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line', [], {
39
+ ignore?: LiteralUnion<'rules'>[];
40
+ }>;
41
+ //#endregion
42
+ //#region src/rules/block-opening-brace-newline-before.d.ts
43
+ type BlockOpeningBraceNewlineBeforeOptions = RuleConfig<'always' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line'>;
44
+ //#endregion
45
+ //#region src/rules/block-opening-brace-space-after.d.ts
46
+ type BlockOpeningBraceSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line', [], {
47
+ ignore?: LiteralUnion<'at-rules'>[];
48
+ }>;
49
+ //#endregion
50
+ //#region src/rules/block-opening-brace-space-before.d.ts
51
+ type BlockOpeningBraceSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line' | 'always-multi-line' | 'never-multi-line', [], {
52
+ ignoreAtRules?: (AtRules | RegExp)[];
53
+ ignoreSelectors?: RegExpLike[];
54
+ }>;
55
+ //#endregion
56
+ //#region src/rules/color-hex-case.d.ts
57
+ type ColorHexCaseOptions = RuleConfig<'lower' | 'upper', [value: string, expected: string]>;
58
+ //#endregion
59
+ //#region src/rules/declaration-bang-space-after.d.ts
60
+ type DeclarationBangSpaceAfterOptions = RuleConfig<'always' | 'never'>;
61
+ //#endregion
62
+ //#region src/rules/declaration-bang-space-before.d.ts
63
+ type DeclarationBangSpaceBeforeOptions = RuleConfig<'always' | 'never'>;
64
+ //#endregion
65
+ //#region src/rules/declaration-block-semicolon-newline-after.d.ts
66
+ type DeclarationBlockSemicolonNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
67
+ //#endregion
68
+ //#region src/rules/declaration-block-semicolon-newline-before.d.ts
69
+ type DeclarationBlockSemicolonNewlineBeforeOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
70
+ //#endregion
71
+ //#region src/rules/declaration-block-semicolon-space-after.d.ts
72
+ type DeclarationBlockSemicolonSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
73
+ //#endregion
74
+ //#region src/rules/declaration-block-semicolon-space-before.d.ts
75
+ type DeclarationBlockSemicolonSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
76
+ //#endregion
77
+ //#region src/rules/declaration-block-trailing-semicolon.d.ts
78
+ type DeclarationBlockTrailingSemicolonOptions = RuleConfig<'always' | 'never', [], {
79
+ ignore?: LiteralUnion<'single-declaration'>[];
80
+ }>;
81
+ //#endregion
82
+ //#region src/rules/declaration-colon-newline-after.d.ts
83
+ type DeclarationColonNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line'>;
84
+ //#endregion
85
+ //#region src/rules/declaration-colon-space-after.d.ts
86
+ type DeclarationColonSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line'>;
87
+ //#endregion
88
+ //#region src/rules/declaration-colon-space-before.d.ts
89
+ type DeclarationColonSpaceBeforeOptions = RuleConfig<'always' | 'never'>;
90
+ //#endregion
91
+ //#region src/rules/function-comma-newline-after.d.ts
92
+ type FunctionCommaNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
93
+ //#endregion
94
+ //#region src/rules/function-comma-newline-before.d.ts
95
+ type FunctionCommaNewlineBeforeOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
96
+ //#endregion
97
+ //#region src/rules/function-comma-space-after.d.ts
98
+ type FunctionCommaSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
99
+ //#endregion
100
+ //#region src/rules/function-comma-space-before.d.ts
101
+ type FunctionCommaSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
102
+ //#endregion
103
+ //#region src/rules/function-max-empty-lines.d.ts
104
+ type FunctionMaxEmptyLinesOptions = RuleConfig<number, [primary: number]>;
105
+ //#endregion
106
+ //#region src/rules/function-parentheses-newline-inside.d.ts
107
+ type FunctionParenthesesNewlineInsideOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
108
+ //#endregion
109
+ //#region src/rules/function-parentheses-space-inside.d.ts
110
+ type FunctionParenthesesSpaceInsideOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
111
+ //#endregion
112
+ //#region src/rules/function-whitespace-after.d.ts
113
+ type FunctionWhitespaceAfterOptions = RuleConfig<'always' | 'never'>;
114
+ //#endregion
115
+ //#region src/rules/indentation.d.ts
116
+ type IndentationOptions = RuleConfig<LiteralUnion<2 | 4, number> | 'tab', [expectation: string], {
117
+ baseIndentLevel?: number | 'auto';
118
+ indentInsideParens?: LiteralUnion<'twice' | 'once-at-root-twice-in-block'>;
119
+ indentClosingBrace?: boolean;
120
+ except?: LiteralUnion<'block' | 'param' | 'value'>[];
121
+ ignore?: LiteralUnion<'inside-parens' | 'param' | 'value'>[];
122
+ }>;
123
+ //#endregion
124
+ //#region src/rules/linebreaks.d.ts
125
+ type LinebreaksOptions = RuleConfig<number, [emptyLines: string]>;
126
+ //#endregion
127
+ //#region src/rules/max-empty-lines.d.ts
128
+ type MaxEmptyLinesOptions = RuleConfig<LiteralUnion<1 | 2, number>, [], {
129
+ ignore?: LiteralUnion<'comments'>[];
130
+ }>;
131
+ //#endregion
132
+ //#region src/rules/max-line-length.d.ts
133
+ type MaxLineLengthOptions = RuleConfig<number, [lineLength: number], {
134
+ ignore?: LiteralUnion<'non-comments' | 'comments'>[];
135
+ ignorePattern?: RegExpLike[];
136
+ }>;
137
+ //#endregion
138
+ //#region src/rules/media-feature-colon-space-after.d.ts
139
+ type MediaFeatureColonSpaceAfterOptions = RuleConfig<'always' | 'never'>;
140
+ //#endregion
141
+ //#region src/rules/media-feature-colon-space-before.d.ts
142
+ type MediaFeatureColonSpaceBeforeOptions = RuleConfig<'always' | 'never'>;
143
+ //#endregion
144
+ //#region src/rules/media-feature-name-case.d.ts
145
+ type MediaFeatureNameCaseOptions = RuleConfig<'lower' | 'upper', [name: string, expectedName: string]>;
146
+ //#endregion
147
+ //#region src/rules/media-feature-parentheses-space-inside.d.ts
148
+ type MediaFeatureParenthesesSpaceInsideOptions = RuleConfig<'always' | 'never'>;
149
+ //#endregion
150
+ //#region src/rules/media-feature-range-operator-space-after.d.ts
151
+ type MediaFeatureRangeOperatorSpaceAfterOptions = RuleConfig<'always' | 'never'>;
152
+ //#endregion
153
+ //#region src/rules/media-feature-range-operator-space-before.d.ts
154
+ type MediaFeatureRangeOperatorSpaceBeforeOptions = RuleConfig<'always' | 'never'>;
155
+ //#endregion
156
+ //#region src/rules/media-query-list-comma-newline-after.d.ts
157
+ type MediaQueryListCommaNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
158
+ //#endregion
159
+ //#region src/rules/media-query-list-comma-newline-before.d.ts
160
+ type MediaQueryListCommaNewlineBeforeOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
161
+ //#endregion
162
+ //#region src/rules/media-query-list-comma-space-after.d.ts
163
+ type MediaQueryListCommaSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
164
+ //#endregion
165
+ //#region src/rules/media-query-list-comma-space-before.d.ts
166
+ type MediaQueryListCommaSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
167
+ //#endregion
168
+ //#region src/rules/named-grid-areas-alignment.d.ts
169
+ type NamedGridAreasAlignmentOptions = RuleConfig<true, [], {
170
+ gap?: number;
171
+ alignQuotes?: boolean;
172
+ }>;
173
+ //#endregion
174
+ //#region src/rules/no-empty-first-line.d.ts
175
+ type NoEmptyFirstLineOptions = RuleConfig<true>;
176
+ //#endregion
177
+ //#region src/rules/no-eol-whitespace.d.ts
178
+ type NoEolWhitespaceOptions = RuleConfig<true, [], {
179
+ ignore?: LiteralUnion<'empty-lines'>[];
180
+ }>;
181
+ //#endregion
182
+ //#region src/rules/no-extra-semicolons.d.ts
183
+ type NoExtraSemicolonsOptions = RuleConfig<true>;
184
+ //#endregion
185
+ //#region src/rules/no-missing-end-of-source-newline.d.ts
186
+ type NoMissingEndOfSourceNewlineOptions = RuleConfig<true>;
187
+ //#endregion
188
+ //#region src/rules/no-multiple-whitespaces.d.ts
189
+ type NoMultipleWhitespacesOptions = RuleConfig<true>;
190
+ //#endregion
191
+ //#region src/rules/number-leading-zero.d.ts
192
+ type NumberLeadingZeroOptions = RuleConfig<'always' | 'never'>;
193
+ //#endregion
194
+ //#region src/rules/number-no-trailing-zeros.d.ts
195
+ type NumberNoTrailingZerosOptions = RuleConfig<true>;
196
+ //#endregion
197
+ //#region src/rules/property-case.d.ts
198
+ type PropertyCaseOptions = RuleConfig<'lower' | 'upper', [property: string, expectedProperty: string]>;
199
+ //#endregion
200
+ //#region src/rules/selector-attribute-brackets-space-inside.d.ts
201
+ type SelectorAttributeBracketsSpaceInsideOptions = RuleConfig<'always' | 'never'>;
202
+ //#endregion
203
+ //#region src/rules/selector-attribute-operator-space-after.d.ts
204
+ type SelectorAttributeOperatorSpaceAfterOptions = RuleConfig<'always' | 'never'>;
205
+ //#endregion
206
+ //#region src/rules/selector-attribute-operator-space-before.d.ts
207
+ type SelectorAttributeOperatorSpaceBeforeOptions = RuleConfig<'always' | 'never'>;
208
+ //#endregion
209
+ //#region src/rules/selector-combinator-space-after.d.ts
210
+ type SelectorCombinatorSpaceAfterOptions = RuleConfig<'always' | 'never'>;
211
+ //#endregion
212
+ //#region src/rules/selector-combinator-space-before.d.ts
213
+ type SelectorCombinatorSpaceBeforeOptions = RuleConfig<'always' | 'never'>;
214
+ //#endregion
215
+ //#region src/rules/selector-descendant-combinator-no-non-space.d.ts
216
+ type SelectorDescendantCombinatorNoNonSpaceOptions = RuleConfig<true, [value: string]>;
217
+ //#endregion
218
+ //#region src/rules/selector-list-comma-newline-after.d.ts
219
+ type SelectorListCommaNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
220
+ //#endregion
221
+ //#region src/rules/selector-list-comma-newline-before.d.ts
222
+ type SelectorListCommaNewlineBeforeOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
223
+ //#endregion
224
+ //#region src/rules/selector-list-comma-space-after.d.ts
225
+ type SelectorListCommaSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
226
+ //#endregion
227
+ //#region src/rules/selector-list-comma-space-before.d.ts
228
+ type SelectorListCommaSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
229
+ //#endregion
230
+ //#region src/rules/selector-max-empty-lines.d.ts
231
+ type SelectorMaxEmptyLinesOptions = RuleConfig<LiteralUnion<0 | 1, number>, [max: number]>;
232
+ //#endregion
233
+ //#region src/rules/selector-pseudo-class-case.d.ts
234
+ type SelectorPseudoClassCaseOptions = RuleConfig<'lower' | 'upper', [pseudoClass: string, expectedPseudoClass: string]>;
235
+ //#endregion
236
+ //#region src/rules/selector-pseudo-class-parentheses-space-inside.d.ts
237
+ type SelectorPseudoClassParenthesesSpaceInsideOptions = RuleConfig<'always' | 'never'>;
238
+ //#endregion
239
+ //#region src/rules/selector-pseudo-element-case.d.ts
240
+ type SelectorPseudoElementCaseOptions = RuleConfig<'lower' | 'upper', [pseudoElement: string, expectedPseudoElement: string]>;
241
+ //#endregion
242
+ //#region src/rules/string-quotes.d.ts
243
+ type StringQuotesOptions = RuleConfig<'single' | 'double', [quotes: string], {
244
+ avoidEscape?: boolean;
245
+ }>;
246
+ //#endregion
247
+ //#region src/rules/unicode-bom.d.ts
248
+ type UnicodeBomOptions = RuleConfig<'always' | 'never'>;
249
+ //#endregion
250
+ //#region src/rules/unit-case.d.ts
251
+ type UnitCaseOptions = RuleConfig<'lower' | 'upper', [unit: string, expectedUnit: string]>;
252
+ //#endregion
253
+ //#region src/rules/value-list-comma-newline-after.d.ts
254
+ type ValueListCommaNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
255
+ //#endregion
256
+ //#region src/rules/value-list-comma-newline-before.d.ts
257
+ type ValueListCommaNewlineBeforeOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
258
+ //#endregion
259
+ //#region src/rules/value-list-comma-space-after.d.ts
260
+ type ValueListCommaSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
261
+ //#endregion
262
+ //#region src/rules/value-list-comma-space-before.d.ts
263
+ type ValueListCommaSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
264
+ //#endregion
265
+ //#region src/rules/value-list-max-empty-lines.d.ts
266
+ type ValueListMaxEmptyLinesOptions = RuleConfig<number, [max: number]>;
267
+ //#endregion
268
+ //#region src/types.d.ts
372
269
  interface Extends {
373
- '@stylistic/stylelint-config': void;
270
+ "@stylistic/stylelint-config": void;
374
271
  }
375
272
  interface Plugins {
376
- '@stylistic/stylelint-plugin': void;
273
+ "@stylistic/stylelint-plugin": void;
377
274
  }
378
275
  interface RuleOptions {
379
- /**
380
- * Require a newline after at-rule names.
381
- *
382
- * @see [at-rule-name-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-newline-after)
383
- */
384
- '@stylistic/at-rule-name-newline-after': AtRuleNameNewlineAfterOptions;
385
- /**
386
- * Require a single space after at-rule names.
387
- *
388
- * @see [at-rule-name-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-space-after)
389
- */
390
- '@stylistic/at-rule-name-space-after': AtRuleNameSpaceAfterOptions;
391
- /**
392
- * Specify lowercase or uppercase for at-rules names.
393
- *
394
- * @see [at-rule-name-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-case)
395
- */
396
- '@stylistic/at-rule-name-case': AtRuleNameCaseOptions;
397
- /**
398
- * Require a single space or disallow whitespace before the semicolons of at-rules.
399
- *
400
- * @see [at-rule-semicolon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-semicolon-space-before)
401
- */
402
- '@stylistic/at-rule-semicolon-space-before': AtRuleSemicolonSpaceBeforeOptions;
403
- /**
404
- * Require or disallow an empty line before the closing brace of blocks.
405
- *
406
- * @see [block-closing-brace-empty-line-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-empty-line-before)
407
- */
408
- '@stylistic/block-closing-brace-empty-line-before': BlockClosingBraceEmptyLineBeforeOptions;
409
- /**
410
- * Require a newline after the semicolon of at-rules.
411
- *
412
- * @see [at-rule-semicolon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-semicolon-newline-after)
413
- */
414
- '@stylistic/at-rule-semicolon-newline-after': AtRuleSemicolonNewlineAfterOptions;
415
- /**
416
- * Require a newline or disallow whitespace after the closing brace of blocks.
417
- *
418
- * @see [block-closing-brace-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-newline-after)
419
- */
420
- '@stylistic/block-closing-brace-newline-after': BlockClosingBraceNewlineAfterOptions;
421
- /**
422
- * Require a newline or disallow whitespace before the closing brace of blocks.
423
- *
424
- * @see [block-closing-brace-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-newline-before)
425
- */
426
- '@stylistic/block-closing-brace-newline-before': BlockClosingBraceNewlineBeforeOptions;
427
- /**
428
- * Require a single space or disallow whitespace after the closing brace of blocks.
429
- *
430
- * @see [block-closing-brace-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-space-after)
431
- */
432
- '@stylistic/block-closing-brace-space-after': BlockClosingBraceSpaceAfterOptions;
433
- /**
434
- * Require a single space or disallow whitespace before the closing brace of blocks.
435
- *
436
- * @see [block-closing-brace-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-space-before)
437
- */
438
- '@stylistic/block-closing-brace-space-before': BlockClosingBraceSpaceBeforeOptions;
439
- /**
440
- * Require a newline after the opening brace of blocks.
441
- *
442
- * @see [block-opening-brace-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-newline-after)
443
- */
444
- '@stylistic/block-opening-brace-newline-after': BlockOpeningBraceNewlineAfterOptions;
445
- /**
446
- * Require a newline or disallow whitespace before the opening brace of blocks.
447
- *
448
- * @see [block-opening-brace-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-newline-before)
449
- */
450
- '@stylistic/block-opening-brace-newline-before': BlockOpeningBraceNewlineBeforeOptions;
451
- /**
452
- * Require a single space or disallow whitespace after the opening brace of blocks.
453
- *
454
- * @see [block-opening-brace-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-space-after)
455
- */
456
- '@stylistic/block-opening-brace-space-after': BlockOpeningBraceSpaceAfterOptions;
457
- /**
458
- * Require a single space or disallow whitespace before the opening brace of blocks.
459
- *
460
- * @see [block-opening-brace-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-space-before)
461
- */
462
- '@stylistic/block-opening-brace-space-before': BlockOpeningBraceSpaceBeforeOptions;
463
- /**
464
- * Specify lowercase or uppercase for hex colors.
465
- *
466
- * @see [color-hex-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/color-hex-case)
467
- */
468
- '@stylistic/color-hex-case': ColorHexCaseOptions;
469
- /**
470
- * Require a single space or disallow whitespace after the bang of declarations.
471
- *
472
- * @see [declaration-bang-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-bang-space-after)
473
- */
474
- '@stylistic/declaration-bang-space-after': DeclarationBangSpaceAfterOptions;
475
- /**
476
- * Require a single space or disallow whitespace before the bang of declarations.
477
- *
478
- * @see [declaration-bang-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-bang-space-before)
479
- */
480
- '@stylistic/declaration-bang-space-before': DeclarationBangSpaceBeforeOptions;
481
- /**
482
- * Require a newline or disallow whitespace after the semicolons of declaration blocks.
483
- *
484
- * @see [declaration-block-semicolon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-newline-after)
485
- */
486
- '@stylistic/declaration-block-semicolon-newline-after': DeclarationBlockSemicolonNewlineAfterOptions;
487
- /**
488
- * Require a newline or disallow whitespace before the semicolons of declaration blocks.
489
- *
490
- * @see [declaration-block-semicolon-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-newline-before)
491
- */
492
- '@stylistic/declaration-block-semicolon-newline-before': DeclarationBlockSemicolonNewlineBeforeOptions;
493
- /**
494
- * Require a single space or disallow whitespace after the semicolons of declaration blocks.
495
- *
496
- * @see [declaration-block-semicolon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-space-after)
497
- */
498
- '@stylistic/declaration-block-semicolon-space-after': DeclarationBlockSemicolonSpaceAfterOptions;
499
- /**
500
- * Require a single space or disallow whitespace before the semicolons of declaration blocks.
501
- *
502
- * @see [declaration-block-semicolon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-space-before)
503
- */
504
- '@stylistic/declaration-block-semicolon-space-before': DeclarationBlockSemicolonSpaceBeforeOptions;
505
- /**
506
- * Require or disallow a trailing semicolon within declaration blocks.
507
- *
508
- * @see [declaration-block-trailing-semicolon](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-trailing-semicolon)
509
- */
510
- '@stylistic/declaration-block-trailing-semicolon': DeclarationBlockTrailingSemicolonOptions;
511
- /**
512
- * Require a single space or disallow whitespace after the colon of declarations.
513
- *
514
- * @see [declaration-colon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-space-after)
515
- */
516
- '@stylistic/declaration-colon-space-after': DeclarationColonSpaceAfterOptions;
517
- /**
518
- * Require a single space or disallow whitespace before the colon of declarations.
519
- *
520
- * @see [declaration-colon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-space-before)
521
- */
522
- '@stylistic/declaration-colon-space-before': DeclarationColonSpaceBeforeOptions;
523
- /**
524
- * Require a newline or disallow whitespace after the commas of functions.
525
- *
526
- * @see [function-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-newline-after)
527
- */
528
- '@stylistic/function-comma-newline-after': FunctionCommaNewlineAfterOptions;
529
- /**
530
- * Require a newline or disallow whitespace before the commas of functions.
531
- *
532
- * @see [function-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-newline-before)
533
- */
534
- '@stylistic/function-comma-newline-before': FunctionCommaNewlineBeforeOptions;
535
- /**
536
- * Require a newline or disallow whitespace after the colon of declarations.
537
- *
538
- * @see [declaration-colon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-newline-after)
539
- */
540
- '@stylistic/declaration-colon-newline-after': DeclarationColonNewlineAfterOptions;
541
- /**
542
- * Require a single space or disallow whitespace after the commas of functions.
543
- *
544
- * @see [function-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-space-after)
545
- */
546
- '@stylistic/function-comma-space-after': FunctionCommaSpaceAfterOptions;
547
- /**
548
- * Require a single space or disallow whitespace before the commas of functions.
549
- *
550
- * @see [function-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-space-before)
551
- */
552
- '@stylistic/function-comma-space-before': FunctionCommaSpaceBeforeOptions;
553
- /**
554
- * Limit the number of adjacent empty lines within functions.
555
- *
556
- * @see [function-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-max-empty-lines)
557
- */
558
- '@stylistic/function-max-empty-lines': FunctionMaxEmptyLinesOptions;
559
- /**
560
- * Require a newline or disallow whitespace on the inside of the parentheses of functions.
561
- *
562
- * @see [function-parentheses-newline-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-parentheses-newline-inside)
563
- */
564
- '@stylistic/function-parentheses-newline-inside': FunctionParenthesesNewlineInsideOptions;
565
- /**
566
- * Require a single space or disallow whitespace on the inside of the parentheses of functions.
567
- *
568
- * @see [function-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-parentheses-space-inside)
569
- */
570
- '@stylistic/function-parentheses-space-inside': FunctionParenthesesSpaceInsideOptions;
571
- /**
572
- * Require or disallow whitespace after functions.
573
- *
574
- * @see [function-whitespace-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-whitespace-after)
575
- */
576
- '@stylistic/function-whitespace-after': FunctionWhitespaceAfterOptions;
577
- /**
578
- * Specify indentation.
579
- *
580
- * @see [indentation](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/indentation)
581
- */
582
- '@stylistic/indentation': IndentationOptions;
583
- /**
584
- * Specify unix or windows linebreaks.
585
- *
586
- * The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
587
- *
588
- * @see [linebreaks](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/linebreaks)
589
- */
590
- '@stylistic/linebreaks': LinebreaksOptions;
591
- /**
592
- * Limit the number of adjacent empty lines.
593
- *
594
- * @see [max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/max-empty-lines)
595
- */
596
- '@stylistic/max-empty-lines': MaxEmptyLinesOptions;
597
- /**
598
- * Limit the length of a line.
599
- *
600
- * @see [max-line-length](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/max-line-length)
601
- */
602
- '@stylistic/max-line-length': MaxLineLengthOptions;
603
- /**
604
- * Require a single space or disallow whitespace after the colon in media features.
605
- *
606
- * @see [media-feature-colon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-colon-space-after)
607
- */
608
- '@stylistic/media-feature-colon-space-after': MediaFeatureColonSpaceAfterOptions;
609
- /**
610
- * Require a single space or disallow whitespace before the colon in media features.
611
- *
612
- * @see [media-feature-colon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-colon-space-before)
613
- */
614
- '@stylistic/media-feature-colon-space-before': MediaFeatureColonSpaceBeforeOptions;
615
- /**
616
- * Specify lowercase or uppercase for media feature names.
617
- *
618
- * @see [media-feature-name-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-name-case)
619
- */
620
- '@stylistic/media-feature-name-case': MediaFeatureNameCaseOptions;
621
- /**
622
- * Require a single space or disallow whitespace on the inside of the parentheses within media features.
623
- *
624
- * @see [media-feature-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-parentheses-space-inside)
625
- */
626
- '@stylistic/media-feature-parentheses-space-inside': MediaFeatureParenthesesSpaceInsideOptions;
627
- /**
628
- * Require a single space or disallow whitespace after the range operator in media features.
629
- *
630
- * @see [media-feature-range-operator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-range-operator-space-after)
631
- */
632
- '@stylistic/media-feature-range-operator-space-after': MediaFeatureRangeOperatorSpaceAfterOptions;
633
- /**
634
- * Require a single space or disallow whitespace before the range operator in media features.
635
- *
636
- * @see [media-feature-range-operator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-range-operator-space-before)
637
- */
638
- '@stylistic/media-feature-range-operator-space-before': MediaFeatureRangeOperatorSpaceBeforeOptions;
639
- /**
640
- * Require a newline or disallow whitespace after the commas of media query lists.
641
- *
642
- * @see [media-query-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-newline-after)
643
- */
644
- '@stylistic/media-query-list-comma-newline-after': MediaQueryListCommaNewlineAfterOptions;
645
- /**
646
- * Require a newline or disallow whitespace before the commas of media query lists.
647
- *
648
- * @see [media-query-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-newline-before)
649
- */
650
- '@stylistic/media-query-list-comma-newline-before': MediaQueryListCommaNewlineBeforeOptions;
651
- /**
652
- * Require a single space or disallow whitespace after the commas of media query lists.
653
- *
654
- * @see [media-query-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-space-after)
655
- */
656
- '@stylistic/media-query-list-comma-space-after': MediaQueryListCommaSpaceAfterOptions;
657
- /**
658
- * Require a single space or disallow whitespace before the commas of media query lists.
659
- *
660
- * @see [media-query-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-space-before)
661
- */
662
- '@stylistic/media-query-list-comma-space-before': MediaQueryListCommaSpaceBeforeOptions;
663
- /**
664
- * Require cell tokens (and optionally ending quotes) within grid-template-areas to be aligned.
665
- *
666
- * @see [value-list-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/named-grid-areas-alignment)
667
- */
668
- '@stylistic/named-grid-areas-alignment': NamedGridAreasAlignmentOptions;
669
- /**
670
- * Disallow empty first lines.
671
- *
672
- * @see [no-empty-first-line](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-empty-first-line)
673
- */
674
- '@stylistic/no-empty-first-line': NoEmptyFirstLineOptions;
675
- /**
676
- * Disallow end-of-line whitespace.
677
- *
678
- * @see [no-eol-whitespace](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-eol-whitespace)
679
- */
680
- '@stylistic/no-eol-whitespace': NoEolWhitespaceOptions;
681
- /**
682
- * Disallow extra semicolons.
683
- *
684
- * @see [no-extra-semicolons](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-extra-semicolons)
685
- */
686
- '@stylistic/no-extra-semicolons': NoExtraSemicolonsOptions;
687
- /**
688
- * Disallow missing end-of-source newlines.
689
- *
690
- * @see [no-missing-end-of-source-newline](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-missing-end-of-source-newline)
691
- */
692
- '@stylistic/no-missing-end-of-source-newline': NoMissingEndOfSourceNewlineOptions;
693
- /**
694
- * Require or disallow a leading zero for fractional numbers less than 1.
695
- *
696
- * @see [number-leading-zero](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/number-leading-zero)
697
- */
698
- '@stylistic/number-leading-zero': NumberLeadingZeroOptions;
699
- /**
700
- * Disallow trailing zeros in numbers.
701
- *
702
- * @see [number-no-trailing-zeros](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/number-no-trailing-zeros)
703
- */
704
- '@stylistic/number-no-trailing-zeros': NumberNoTrailingZerosOptions;
705
- /**
706
- * Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
707
- *
708
- * @see [selector-attribute-brackets-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-brackets-space-inside)
709
- */
710
- '@stylistic/selector-attribute-brackets-space-inside': SelectorAttributeBracketsSpaceInsideOptions;
711
- /**
712
- * Specify lowercase or uppercase for properties.
713
- *
714
- * @see [property-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/property-case)
715
- */
716
- '@stylistic/property-case': PropertyCaseOptions;
717
- /**
718
- * Require a single space or disallow whitespace after operators within attribute selectors.
719
- *
720
- * @see [selector-attribute-operator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-operator-space-after)
721
- */
722
- '@stylistic/selector-attribute-operator-space-after': SelectorAttributeOperatorSpaceAfterOptions;
723
- /**
724
- * Require a single space or disallow whitespace before operators within attribute selectors.
725
- *
726
- * @see [selector-attribute-operator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-operator-space-before)
727
- */
728
- '@stylistic/selector-attribute-operator-space-before': SelectorAttributeOperatorSpaceBeforeOptions;
729
- /**
730
- * Require a single space or disallow whitespace after the combinators of selectors.
731
- *
732
- * @see [selector-combinator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-combinator-space-after)
733
- */
734
- '@stylistic/selector-combinator-space-after': SelectorCombinatorSpaceAfterOptions;
735
- /**
736
- * Require a single space or disallow whitespace before the combinators of selectors.
737
- *
738
- * @see [selector-combinator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-combinator-space-before)
739
- */
740
- '@stylistic/selector-combinator-space-before': SelectorCombinatorSpaceBeforeOptions;
741
- /**
742
- * Disallow non-space characters for descendant combinators of selectors.
743
- *
744
- * @see [selector-descendant-combinator-no-non-space](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-descendant-combinator-no-non-space)
745
- */
746
- '@stylistic/selector-descendant-combinator-no-non-space': SelectorDescendantCombinatorNoNonSpaceOptions;
747
- /**
748
- * Require a newline or disallow whitespace after the commas of selector lists.
749
- *
750
- * @see [selector-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-newline-after)
751
- */
752
- '@stylistic/selector-list-comma-newline-after': SelectorListCommaNewlineAfterOptions;
753
- /**
754
- * Require a newline or disallow whitespace before the commas of selector lists.
755
- *
756
- * @see [selector-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-newline-before)
757
- */
758
- '@stylistic/selector-list-comma-newline-before': SelectorListCommaNewlineBeforeOptions;
759
- /**
760
- * Require a single space or disallow whitespace after the commas of selector lists.
761
- *
762
- * @see [selector-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-space-after)
763
- */
764
- '@stylistic/selector-list-comma-space-after': SelectorListCommaSpaceAfterOptions;
765
- /**
766
- * Require a single space or disallow whitespace before the commas of selector lists.
767
- *
768
- * @see [selector-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-space-before)
769
- */
770
- '@stylistic/selector-list-comma-space-before': SelectorListCommaSpaceBeforeOptions;
771
- /**
772
- * Limit the number of adjacent empty lines within selectors.
773
- *
774
- * @see [selector-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-max-empty-lines)
775
- */
776
- '@stylistic/selector-max-empty-lines': SelectorMaxEmptyLinesOptions;
777
- /**
778
- * Specify lowercase or uppercase for pseudo-class selectors.
779
- *
780
- * @see [selector-pseudo-class-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-class-case)
781
- */
782
- '@stylistic/selector-pseudo-class-case': SelectorPseudoClassCaseOptions;
783
- /**
784
- * Specify lowercase or uppercase for pseudo-element selectors.
785
- *
786
- * @see [selector-pseudo-element-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-element-case)
787
- */
788
- '@stylistic/selector-pseudo-element-case': SelectorPseudoElementCaseOptions;
789
- /**
790
- * Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors.
791
- *
792
- * @see [selector-pseudo-class-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-class-parentheses-space-inside)
793
- */
794
- '@stylistic/selector-pseudo-class-parentheses-space-inside': SelectorPseudoClassParenthesesSpaceInsideOptions;
795
- /**
796
- * Specify single or double quotes around strings.
797
- *
798
- * @see [string-quotes](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/string-quotes)
799
- */
800
- '@stylistic/string-quotes': StringQuotesOptions;
801
- /**
802
- * Require or disallow the Unicode Byte Order Mark.
803
- *
804
- * @see [unicode-bom](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unicode-bom)
805
- */
806
- '@stylistic/unicode-bom': UnicodeBomOptions;
807
- /**
808
- * Specify lowercase or uppercase for units.
809
- *
810
- * @see [unit-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unit-case)
811
- */
812
- '@stylistic/unit-case': UnitCaseOptions;
813
- /**
814
- * Require a newline or disallow whitespace after the commas of value lists.
815
- *
816
- * @see [value-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-newline-after)
817
- */
818
- '@stylistic/value-list-comma-newline-after': ValueListCommaNewlineAfterOptions;
819
- /**
820
- * Require a newline or disallow whitespace before the commas of value lists.
821
- *
822
- * @see [value-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-newline-before)
823
- */
824
- '@stylistic/value-list-comma-newline-before': ValueListCommaNewlineBeforeOptions;
825
- /**
826
- * Require a single space or disallow whitespace after the commas of value lists.
827
- *
828
- * @see [value-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-space-after)
829
- */
830
- '@stylistic/value-list-comma-space-after': ValueListCommaSpaceAfterOptions;
831
- /**
832
- * Require a single space or disallow whitespace before the commas of value lists.
833
- *
834
- * @see [value-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-space-before)
835
- */
836
- '@stylistic/value-list-comma-space-before': ValueListCommaSpaceBeforeOptions;
837
- /**
838
- * Limit the number of adjacent empty lines within value lists.
839
- *
840
- * @see [value-list-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-max-empty-lines)
841
- */
842
- '@stylistic/value-list-max-empty-lines': ValueListMaxEmptyLinesOptions;
843
- }
844
-
845
- declare module 'stylelint-define-config' {
846
- interface CustomPlugins extends Plugins {
847
- }
848
- interface CustomExtends extends Extends {
849
- }
850
- interface CustomRuleOptions extends RuleOptions {
851
- }
276
+ /**
277
+ * Require a newline after at-rule names.
278
+ *
279
+ * @see [at-rule-name-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-newline-after)
280
+ */
281
+ "@stylistic/at-rule-name-newline-after": AtRuleNameNewlineAfterOptions;
282
+ /**
283
+ * Require a single space after at-rule names.
284
+ *
285
+ * @see [at-rule-name-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-space-after)
286
+ */
287
+ "@stylistic/at-rule-name-space-after": AtRuleNameSpaceAfterOptions;
288
+ /**
289
+ * Specify lowercase or uppercase for at-rules names.
290
+ *
291
+ * @see [at-rule-name-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-case)
292
+ */
293
+ "@stylistic/at-rule-name-case": AtRuleNameCaseOptions;
294
+ /**
295
+ * Require a single space or disallow whitespace before the semicolons of at-rules.
296
+ *
297
+ * @see [at-rule-semicolon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-semicolon-space-before)
298
+ */
299
+ "@stylistic/at-rule-semicolon-space-before": AtRuleSemicolonSpaceBeforeOptions;
300
+ /**
301
+ * Require or disallow an empty line before the closing brace of blocks.
302
+ *
303
+ * @see [block-closing-brace-empty-line-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-empty-line-before)
304
+ */
305
+ "@stylistic/block-closing-brace-empty-line-before": BlockClosingBraceEmptyLineBeforeOptions;
306
+ /**
307
+ * Require a newline after the semicolon of at-rules.
308
+ *
309
+ * @see [at-rule-semicolon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-semicolon-newline-after)
310
+ */
311
+ "@stylistic/at-rule-semicolon-newline-after": AtRuleSemicolonNewlineAfterOptions;
312
+ /**
313
+ * Require a newline or disallow whitespace after the closing brace of blocks.
314
+ *
315
+ * @see [block-closing-brace-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-newline-after)
316
+ */
317
+ "@stylistic/block-closing-brace-newline-after": BlockClosingBraceNewlineAfterOptions;
318
+ /**
319
+ * Require a newline or disallow whitespace before the closing brace of blocks.
320
+ *
321
+ * @see [block-closing-brace-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-newline-before)
322
+ */
323
+ "@stylistic/block-closing-brace-newline-before": BlockClosingBraceNewlineBeforeOptions;
324
+ /**
325
+ * Require a single space or disallow whitespace after the closing brace of blocks.
326
+ *
327
+ * @see [block-closing-brace-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-space-after)
328
+ */
329
+ "@stylistic/block-closing-brace-space-after": BlockClosingBraceSpaceAfterOptions;
330
+ /**
331
+ * Require a single space or disallow whitespace before the closing brace of blocks.
332
+ *
333
+ * @see [block-closing-brace-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-space-before)
334
+ */
335
+ "@stylistic/block-closing-brace-space-before": BlockClosingBraceSpaceBeforeOptions;
336
+ /**
337
+ * Require a newline after the opening brace of blocks.
338
+ *
339
+ * @see [block-opening-brace-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-newline-after)
340
+ */
341
+ "@stylistic/block-opening-brace-newline-after": BlockOpeningBraceNewlineAfterOptions;
342
+ /**
343
+ * Require a newline or disallow whitespace before the opening brace of blocks.
344
+ *
345
+ * @see [block-opening-brace-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-newline-before)
346
+ */
347
+ "@stylistic/block-opening-brace-newline-before": BlockOpeningBraceNewlineBeforeOptions;
348
+ /**
349
+ * Require a single space or disallow whitespace after the opening brace of blocks.
350
+ *
351
+ * @see [block-opening-brace-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-space-after)
352
+ */
353
+ "@stylistic/block-opening-brace-space-after": BlockOpeningBraceSpaceAfterOptions;
354
+ /**
355
+ * Require a single space or disallow whitespace before the opening brace of blocks.
356
+ *
357
+ * @see [block-opening-brace-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-space-before)
358
+ */
359
+ "@stylistic/block-opening-brace-space-before": BlockOpeningBraceSpaceBeforeOptions;
360
+ /**
361
+ * Specify lowercase or uppercase for hex colors.
362
+ *
363
+ * @see [color-hex-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/color-hex-case)
364
+ */
365
+ "@stylistic/color-hex-case": ColorHexCaseOptions;
366
+ /**
367
+ * Require a single space or disallow whitespace after the bang of declarations.
368
+ *
369
+ * @see [declaration-bang-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-bang-space-after)
370
+ */
371
+ "@stylistic/declaration-bang-space-after": DeclarationBangSpaceAfterOptions;
372
+ /**
373
+ * Require a single space or disallow whitespace before the bang of declarations.
374
+ *
375
+ * @see [declaration-bang-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-bang-space-before)
376
+ */
377
+ "@stylistic/declaration-bang-space-before": DeclarationBangSpaceBeforeOptions;
378
+ /**
379
+ * Require a newline or disallow whitespace after the semicolons of declaration blocks.
380
+ *
381
+ * @see [declaration-block-semicolon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-newline-after)
382
+ */
383
+ "@stylistic/declaration-block-semicolon-newline-after": DeclarationBlockSemicolonNewlineAfterOptions;
384
+ /**
385
+ * Require a newline or disallow whitespace before the semicolons of declaration blocks.
386
+ *
387
+ * @see [declaration-block-semicolon-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-newline-before)
388
+ */
389
+ "@stylistic/declaration-block-semicolon-newline-before": DeclarationBlockSemicolonNewlineBeforeOptions;
390
+ /**
391
+ * Require a single space or disallow whitespace after the semicolons of declaration blocks.
392
+ *
393
+ * @see [declaration-block-semicolon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-space-after)
394
+ */
395
+ "@stylistic/declaration-block-semicolon-space-after": DeclarationBlockSemicolonSpaceAfterOptions;
396
+ /**
397
+ * Require a single space or disallow whitespace before the semicolons of declaration blocks.
398
+ *
399
+ * @see [declaration-block-semicolon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-space-before)
400
+ */
401
+ "@stylistic/declaration-block-semicolon-space-before": DeclarationBlockSemicolonSpaceBeforeOptions;
402
+ /**
403
+ * Require or disallow a trailing semicolon within declaration blocks.
404
+ *
405
+ * @see [declaration-block-trailing-semicolon](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-trailing-semicolon)
406
+ */
407
+ "@stylistic/declaration-block-trailing-semicolon": DeclarationBlockTrailingSemicolonOptions;
408
+ /**
409
+ * Require a single space or disallow whitespace after the colon of declarations.
410
+ *
411
+ * @see [declaration-colon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-space-after)
412
+ */
413
+ "@stylistic/declaration-colon-space-after": DeclarationColonSpaceAfterOptions;
414
+ /**
415
+ * Require a single space or disallow whitespace before the colon of declarations.
416
+ *
417
+ * @see [declaration-colon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-space-before)
418
+ */
419
+ "@stylistic/declaration-colon-space-before": DeclarationColonSpaceBeforeOptions;
420
+ /**
421
+ * Require a newline or disallow whitespace after the commas of functions.
422
+ *
423
+ * @see [function-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-newline-after)
424
+ */
425
+ "@stylistic/function-comma-newline-after": FunctionCommaNewlineAfterOptions;
426
+ /**
427
+ * Require a newline or disallow whitespace before the commas of functions.
428
+ *
429
+ * @see [function-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-newline-before)
430
+ */
431
+ "@stylistic/function-comma-newline-before": FunctionCommaNewlineBeforeOptions;
432
+ /**
433
+ * Require a newline or disallow whitespace after the colon of declarations.
434
+ *
435
+ * @see [declaration-colon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-newline-after)
436
+ */
437
+ "@stylistic/declaration-colon-newline-after": DeclarationColonNewlineAfterOptions;
438
+ /**
439
+ * Require a single space or disallow whitespace after the commas of functions.
440
+ *
441
+ * @see [function-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-space-after)
442
+ */
443
+ "@stylistic/function-comma-space-after": FunctionCommaSpaceAfterOptions;
444
+ /**
445
+ * Require a single space or disallow whitespace before the commas of functions.
446
+ *
447
+ * @see [function-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-space-before)
448
+ */
449
+ "@stylistic/function-comma-space-before": FunctionCommaSpaceBeforeOptions;
450
+ /**
451
+ * Limit the number of adjacent empty lines within functions.
452
+ *
453
+ * @see [function-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-max-empty-lines)
454
+ */
455
+ "@stylistic/function-max-empty-lines": FunctionMaxEmptyLinesOptions;
456
+ /**
457
+ * Require a newline or disallow whitespace on the inside of the parentheses of functions.
458
+ *
459
+ * @see [function-parentheses-newline-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-parentheses-newline-inside)
460
+ */
461
+ "@stylistic/function-parentheses-newline-inside": FunctionParenthesesNewlineInsideOptions;
462
+ /**
463
+ * Require a single space or disallow whitespace on the inside of the parentheses of functions.
464
+ *
465
+ * @see [function-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-parentheses-space-inside)
466
+ */
467
+ "@stylistic/function-parentheses-space-inside": FunctionParenthesesSpaceInsideOptions;
468
+ /**
469
+ * Require or disallow whitespace after functions.
470
+ *
471
+ * @see [function-whitespace-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-whitespace-after)
472
+ */
473
+ "@stylistic/function-whitespace-after": FunctionWhitespaceAfterOptions;
474
+ /**
475
+ * Specify indentation.
476
+ *
477
+ * @see [indentation](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/indentation)
478
+ */
479
+ "@stylistic/indentation": IndentationOptions;
480
+ /**
481
+ * Specify unix or windows linebreaks.
482
+ *
483
+ * The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
484
+ *
485
+ * @see [linebreaks](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/linebreaks)
486
+ */
487
+ "@stylistic/linebreaks": LinebreaksOptions;
488
+ /**
489
+ * Limit the number of adjacent empty lines.
490
+ *
491
+ * @see [max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/max-empty-lines)
492
+ */
493
+ "@stylistic/max-empty-lines": MaxEmptyLinesOptions;
494
+ /**
495
+ * Limit the length of a line.
496
+ *
497
+ * @see [max-line-length](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/max-line-length)
498
+ */
499
+ "@stylistic/max-line-length": MaxLineLengthOptions;
500
+ /**
501
+ * Require a single space or disallow whitespace after the colon in media features.
502
+ *
503
+ * @see [media-feature-colon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-colon-space-after)
504
+ */
505
+ "@stylistic/media-feature-colon-space-after": MediaFeatureColonSpaceAfterOptions;
506
+ /**
507
+ * Require a single space or disallow whitespace before the colon in media features.
508
+ *
509
+ * @see [media-feature-colon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-colon-space-before)
510
+ */
511
+ "@stylistic/media-feature-colon-space-before": MediaFeatureColonSpaceBeforeOptions;
512
+ /**
513
+ * Specify lowercase or uppercase for media feature names.
514
+ *
515
+ * @see [media-feature-name-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-name-case)
516
+ */
517
+ "@stylistic/media-feature-name-case": MediaFeatureNameCaseOptions;
518
+ /**
519
+ * Require a single space or disallow whitespace on the inside of the parentheses within media features.
520
+ *
521
+ * @see [media-feature-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-parentheses-space-inside)
522
+ */
523
+ "@stylistic/media-feature-parentheses-space-inside": MediaFeatureParenthesesSpaceInsideOptions;
524
+ /**
525
+ * Require a single space or disallow whitespace after the range operator in media features.
526
+ *
527
+ * @see [media-feature-range-operator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-range-operator-space-after)
528
+ */
529
+ "@stylistic/media-feature-range-operator-space-after": MediaFeatureRangeOperatorSpaceAfterOptions;
530
+ /**
531
+ * Require a single space or disallow whitespace before the range operator in media features.
532
+ *
533
+ * @see [media-feature-range-operator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-range-operator-space-before)
534
+ */
535
+ "@stylistic/media-feature-range-operator-space-before": MediaFeatureRangeOperatorSpaceBeforeOptions;
536
+ /**
537
+ * Require a newline or disallow whitespace after the commas of media query lists.
538
+ *
539
+ * @see [media-query-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-newline-after)
540
+ */
541
+ "@stylistic/media-query-list-comma-newline-after": MediaQueryListCommaNewlineAfterOptions;
542
+ /**
543
+ * Require a newline or disallow whitespace before the commas of media query lists.
544
+ *
545
+ * @see [media-query-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-newline-before)
546
+ */
547
+ "@stylistic/media-query-list-comma-newline-before": MediaQueryListCommaNewlineBeforeOptions;
548
+ /**
549
+ * Require a single space or disallow whitespace after the commas of media query lists.
550
+ *
551
+ * @see [media-query-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-space-after)
552
+ */
553
+ "@stylistic/media-query-list-comma-space-after": MediaQueryListCommaSpaceAfterOptions;
554
+ /**
555
+ * Require a single space or disallow whitespace before the commas of media query lists.
556
+ *
557
+ * @see [media-query-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-space-before)
558
+ */
559
+ "@stylistic/media-query-list-comma-space-before": MediaQueryListCommaSpaceBeforeOptions;
560
+ /**
561
+ * Require cell tokens (and optionally ending quotes) within grid-template-areas to be aligned.
562
+ *
563
+ * @see [value-list-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/named-grid-areas-alignment)
564
+ */
565
+ "@stylistic/named-grid-areas-alignment": NamedGridAreasAlignmentOptions;
566
+ /**
567
+ * Disallow empty first lines.
568
+ *
569
+ * @see [no-empty-first-line](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-empty-first-line)
570
+ */
571
+ "@stylistic/no-empty-first-line": NoEmptyFirstLineOptions;
572
+ /**
573
+ * Disallow end-of-line whitespace.
574
+ *
575
+ * @see [no-eol-whitespace](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-eol-whitespace)
576
+ */
577
+ "@stylistic/no-eol-whitespace": NoEolWhitespaceOptions;
578
+ /**
579
+ * Disallow extra semicolons.
580
+ *
581
+ * @see [no-extra-semicolons](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-extra-semicolons)
582
+ */
583
+ "@stylistic/no-extra-semicolons": NoExtraSemicolonsOptions;
584
+ /**
585
+ * Disallow missing end-of-source newlines.
586
+ *
587
+ * @see [no-missing-end-of-source-newline](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-missing-end-of-source-newline)
588
+ */
589
+ "@stylistic/no-missing-end-of-source-newline": NoMissingEndOfSourceNewlineOptions;
590
+ /**
591
+ * Disallow multiple whitespaces.
592
+ *
593
+ * @see [no-multiple-whitespaces](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-multiple-whitespaces)
594
+ */
595
+ "@stylistic/no-multiple-whitespaces": NoMultipleWhitespacesOptions;
596
+ /**
597
+ * Require or disallow a leading zero for fractional numbers less than 1.
598
+ *
599
+ * @see [number-leading-zero](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/number-leading-zero)
600
+ */
601
+ "@stylistic/number-leading-zero": NumberLeadingZeroOptions;
602
+ /**
603
+ * Disallow trailing zeros in numbers.
604
+ *
605
+ * @see [number-no-trailing-zeros](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/number-no-trailing-zeros)
606
+ */
607
+ "@stylistic/number-no-trailing-zeros": NumberNoTrailingZerosOptions;
608
+ /**
609
+ * Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
610
+ *
611
+ * @see [selector-attribute-brackets-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-brackets-space-inside)
612
+ */
613
+ "@stylistic/selector-attribute-brackets-space-inside": SelectorAttributeBracketsSpaceInsideOptions;
614
+ /**
615
+ * Specify lowercase or uppercase for properties.
616
+ *
617
+ * @see [property-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/property-case)
618
+ */
619
+ "@stylistic/property-case": PropertyCaseOptions;
620
+ /**
621
+ * Require a single space or disallow whitespace after operators within attribute selectors.
622
+ *
623
+ * @see [selector-attribute-operator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-operator-space-after)
624
+ */
625
+ "@stylistic/selector-attribute-operator-space-after": SelectorAttributeOperatorSpaceAfterOptions;
626
+ /**
627
+ * Require a single space or disallow whitespace before operators within attribute selectors.
628
+ *
629
+ * @see [selector-attribute-operator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-operator-space-before)
630
+ */
631
+ "@stylistic/selector-attribute-operator-space-before": SelectorAttributeOperatorSpaceBeforeOptions;
632
+ /**
633
+ * Require a single space or disallow whitespace after the combinators of selectors.
634
+ *
635
+ * @see [selector-combinator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-combinator-space-after)
636
+ */
637
+ "@stylistic/selector-combinator-space-after": SelectorCombinatorSpaceAfterOptions;
638
+ /**
639
+ * Require a single space or disallow whitespace before the combinators of selectors.
640
+ *
641
+ * @see [selector-combinator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-combinator-space-before)
642
+ */
643
+ "@stylistic/selector-combinator-space-before": SelectorCombinatorSpaceBeforeOptions;
644
+ /**
645
+ * Disallow non-space characters for descendant combinators of selectors.
646
+ *
647
+ * @see [selector-descendant-combinator-no-non-space](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-descendant-combinator-no-non-space)
648
+ */
649
+ "@stylistic/selector-descendant-combinator-no-non-space": SelectorDescendantCombinatorNoNonSpaceOptions;
650
+ /**
651
+ * Require a newline or disallow whitespace after the commas of selector lists.
652
+ *
653
+ * @see [selector-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-newline-after)
654
+ */
655
+ "@stylistic/selector-list-comma-newline-after": SelectorListCommaNewlineAfterOptions;
656
+ /**
657
+ * Require a newline or disallow whitespace before the commas of selector lists.
658
+ *
659
+ * @see [selector-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-newline-before)
660
+ */
661
+ "@stylistic/selector-list-comma-newline-before": SelectorListCommaNewlineBeforeOptions;
662
+ /**
663
+ * Require a single space or disallow whitespace after the commas of selector lists.
664
+ *
665
+ * @see [selector-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-space-after)
666
+ */
667
+ "@stylistic/selector-list-comma-space-after": SelectorListCommaSpaceAfterOptions;
668
+ /**
669
+ * Require a single space or disallow whitespace before the commas of selector lists.
670
+ *
671
+ * @see [selector-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-space-before)
672
+ */
673
+ "@stylistic/selector-list-comma-space-before": SelectorListCommaSpaceBeforeOptions;
674
+ /**
675
+ * Limit the number of adjacent empty lines within selectors.
676
+ *
677
+ * @see [selector-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-max-empty-lines)
678
+ */
679
+ "@stylistic/selector-max-empty-lines": SelectorMaxEmptyLinesOptions;
680
+ /**
681
+ * Specify lowercase or uppercase for pseudo-class selectors.
682
+ *
683
+ * @see [selector-pseudo-class-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-class-case)
684
+ */
685
+ "@stylistic/selector-pseudo-class-case": SelectorPseudoClassCaseOptions;
686
+ /**
687
+ * Specify lowercase or uppercase for pseudo-element selectors.
688
+ *
689
+ * @see [selector-pseudo-element-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-element-case)
690
+ */
691
+ "@stylistic/selector-pseudo-element-case": SelectorPseudoElementCaseOptions;
692
+ /**
693
+ * Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors.
694
+ *
695
+ * @see [selector-pseudo-class-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-class-parentheses-space-inside)
696
+ */
697
+ "@stylistic/selector-pseudo-class-parentheses-space-inside": SelectorPseudoClassParenthesesSpaceInsideOptions;
698
+ /**
699
+ * Specify single or double quotes around strings.
700
+ *
701
+ * @see [string-quotes](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/string-quotes)
702
+ */
703
+ "@stylistic/string-quotes": StringQuotesOptions;
704
+ /**
705
+ * Require or disallow the Unicode Byte Order Mark.
706
+ *
707
+ * @see [unicode-bom](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unicode-bom)
708
+ */
709
+ "@stylistic/unicode-bom": UnicodeBomOptions;
710
+ /**
711
+ * Specify lowercase or uppercase for units.
712
+ *
713
+ * @see [unit-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unit-case)
714
+ */
715
+ "@stylistic/unit-case": UnitCaseOptions;
716
+ /**
717
+ * Require a newline or disallow whitespace after the commas of value lists.
718
+ *
719
+ * @see [value-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-newline-after)
720
+ */
721
+ "@stylistic/value-list-comma-newline-after": ValueListCommaNewlineAfterOptions;
722
+ /**
723
+ * Require a newline or disallow whitespace before the commas of value lists.
724
+ *
725
+ * @see [value-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-newline-before)
726
+ */
727
+ "@stylistic/value-list-comma-newline-before": ValueListCommaNewlineBeforeOptions;
728
+ /**
729
+ * Require a single space or disallow whitespace after the commas of value lists.
730
+ *
731
+ * @see [value-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-space-after)
732
+ */
733
+ "@stylistic/value-list-comma-space-after": ValueListCommaSpaceAfterOptions;
734
+ /**
735
+ * Require a single space or disallow whitespace before the commas of value lists.
736
+ *
737
+ * @see [value-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-space-before)
738
+ */
739
+ "@stylistic/value-list-comma-space-before": ValueListCommaSpaceBeforeOptions;
740
+ /**
741
+ * Limit the number of adjacent empty lines within value lists.
742
+ *
743
+ * @see [value-list-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-max-empty-lines)
744
+ */
745
+ "@stylistic/value-list-max-empty-lines": ValueListMaxEmptyLinesOptions;
852
746
  }
747
+ //#endregion
748
+ //#region src/index.d.ts
749
+ declare module "stylelint-define-config" {
750
+ interface CustomPlugins extends Plugins {}
751
+ interface CustomExtends extends Extends {}
752
+ interface CustomRuleOptions extends RuleOptions {}
753
+ }