@stylelint-types/stylelint-stylistic 0.4.3 → 2.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.
- package/lib/types.d.ts +154 -154
- package/package.json +8 -8
package/lib/types.d.ts
CHANGED
|
@@ -76,545 +76,545 @@ import type { ValueListCommaSpaceBeforeOptions } from './rules/value-list-comma-
|
|
|
76
76
|
import type { ValueListMaxEmptyLinesOptions } from './rules/value-list-max-empty-lines'
|
|
77
77
|
|
|
78
78
|
export interface Extends {
|
|
79
|
-
'stylelint-
|
|
79
|
+
'@stylistic/stylelint-config': void
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export interface Plugins {
|
|
83
|
-
'stylelint-
|
|
83
|
+
'@stylistic/stylelint-plugin': void
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export interface RuleOptions {
|
|
87
87
|
/**
|
|
88
88
|
* Require a newline after at-rule names.
|
|
89
89
|
*
|
|
90
|
-
* @see [at-rule-name-newline-after](https://github.com/
|
|
90
|
+
* @see [at-rule-name-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-newline-after)
|
|
91
91
|
*/
|
|
92
|
-
'stylistic/at-rule-name-newline-after': AtRuleNameNewlineAfterOptions
|
|
92
|
+
'@stylistic/at-rule-name-newline-after': AtRuleNameNewlineAfterOptions
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Require a single space after at-rule names.
|
|
96
96
|
*
|
|
97
|
-
* @see [at-rule-name-space-after](https://github.com/
|
|
97
|
+
* @see [at-rule-name-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-space-after)
|
|
98
98
|
*/
|
|
99
|
-
'stylistic/at-rule-name-space-after': AtRuleNameSpaceAfterOptions
|
|
99
|
+
'@stylistic/at-rule-name-space-after': AtRuleNameSpaceAfterOptions
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* Specify lowercase or uppercase for at-rules names.
|
|
103
103
|
*
|
|
104
|
-
* @see [at-rule-name-case](https://github.com/
|
|
104
|
+
* @see [at-rule-name-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-case)
|
|
105
105
|
*/
|
|
106
|
-
'stylistic/at-rule-name-case': AtRuleNameCaseOptions
|
|
106
|
+
'@stylistic/at-rule-name-case': AtRuleNameCaseOptions
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* Require a single space or disallow whitespace before the semicolons of at-rules.
|
|
110
110
|
*
|
|
111
|
-
* @see [at-rule-semicolon-space-before](https://github.com/
|
|
111
|
+
* @see [at-rule-semicolon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-semicolon-space-before)
|
|
112
112
|
*/
|
|
113
|
-
'stylistic/at-rule-semicolon-space-before': AtRuleSemicolonSpaceBeforeOptions
|
|
113
|
+
'@stylistic/at-rule-semicolon-space-before': AtRuleSemicolonSpaceBeforeOptions
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Require or disallow an empty line before the closing brace of blocks.
|
|
117
117
|
*
|
|
118
|
-
* @see [block-closing-brace-empty-line-before](https://github.com/
|
|
118
|
+
* @see [block-closing-brace-empty-line-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-empty-line-before)
|
|
119
119
|
*/
|
|
120
|
-
'stylistic/block-closing-brace-empty-line-before': BlockClosingBraceEmptyLineBeforeOptions
|
|
120
|
+
'@stylistic/block-closing-brace-empty-line-before': BlockClosingBraceEmptyLineBeforeOptions
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Require a newline after the semicolon of at-rules.
|
|
124
124
|
*
|
|
125
|
-
* @see [at-rule-semicolon-newline-after](https://github.com/
|
|
125
|
+
* @see [at-rule-semicolon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-semicolon-newline-after)
|
|
126
126
|
*/
|
|
127
|
-
'stylistic/at-rule-semicolon-newline-after': AtRuleSemicolonNewlineAfterOptions
|
|
127
|
+
'@stylistic/at-rule-semicolon-newline-after': AtRuleSemicolonNewlineAfterOptions
|
|
128
128
|
|
|
129
129
|
/**
|
|
130
130
|
* Require a newline or disallow whitespace after the closing brace of blocks.
|
|
131
131
|
*
|
|
132
|
-
* @see [block-closing-brace-newline-after](https://github.com/
|
|
132
|
+
* @see [block-closing-brace-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-newline-after)
|
|
133
133
|
*/
|
|
134
|
-
'stylistic/block-closing-brace-newline-after': BlockClosingBraceNewlineAfterOptions
|
|
134
|
+
'@stylistic/block-closing-brace-newline-after': BlockClosingBraceNewlineAfterOptions
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Require a newline or disallow whitespace before the closing brace of blocks.
|
|
138
138
|
*
|
|
139
|
-
* @see [block-closing-brace-newline-before](https://github.com/
|
|
139
|
+
* @see [block-closing-brace-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-newline-before)
|
|
140
140
|
*/
|
|
141
|
-
'stylistic/block-closing-brace-newline-before': BlockClosingBraceNewlineBeforeOptions
|
|
141
|
+
'@stylistic/block-closing-brace-newline-before': BlockClosingBraceNewlineBeforeOptions
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Require a single space or disallow whitespace after the closing brace of blocks.
|
|
145
145
|
*
|
|
146
|
-
* @see [block-closing-brace-space-after](https://github.com/
|
|
146
|
+
* @see [block-closing-brace-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-space-after)
|
|
147
147
|
*/
|
|
148
|
-
'stylistic/block-closing-brace-space-after': BlockClosingBraceSpaceAfterOptions
|
|
148
|
+
'@stylistic/block-closing-brace-space-after': BlockClosingBraceSpaceAfterOptions
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* Require a single space or disallow whitespace before the closing brace of blocks.
|
|
152
152
|
*
|
|
153
|
-
* @see [block-closing-brace-space-before](https://github.com/
|
|
153
|
+
* @see [block-closing-brace-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-space-before)
|
|
154
154
|
*/
|
|
155
|
-
'stylistic/block-closing-brace-space-before': BlockClosingBraceSpaceBeforeOptions
|
|
155
|
+
'@stylistic/block-closing-brace-space-before': BlockClosingBraceSpaceBeforeOptions
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Require a newline after the opening brace of blocks.
|
|
159
159
|
*
|
|
160
|
-
* @see [block-opening-brace-newline-after](https://github.com/
|
|
160
|
+
* @see [block-opening-brace-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-newline-after)
|
|
161
161
|
*/
|
|
162
|
-
'stylistic/block-opening-brace-newline-after': BlockOpeningBraceNewlineAfterOptions
|
|
162
|
+
'@stylistic/block-opening-brace-newline-after': BlockOpeningBraceNewlineAfterOptions
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
165
|
* Require a newline or disallow whitespace before the opening brace of blocks.
|
|
166
166
|
*
|
|
167
|
-
* @see [block-opening-brace-newline-before](https://github.com/
|
|
167
|
+
* @see [block-opening-brace-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-newline-before)
|
|
168
168
|
*/
|
|
169
|
-
'stylistic/block-opening-brace-newline-before': BlockOpeningBraceNewlineBeforeOptions
|
|
169
|
+
'@stylistic/block-opening-brace-newline-before': BlockOpeningBraceNewlineBeforeOptions
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* Require a single space or disallow whitespace after the opening brace of blocks.
|
|
173
173
|
*
|
|
174
|
-
* @see [block-opening-brace-space-after](https://github.com/
|
|
174
|
+
* @see [block-opening-brace-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-space-after)
|
|
175
175
|
*/
|
|
176
|
-
'stylistic/block-opening-brace-space-after': BlockOpeningBraceSpaceAfterOptions
|
|
176
|
+
'@stylistic/block-opening-brace-space-after': BlockOpeningBraceSpaceAfterOptions
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
179
|
* Require a single space or disallow whitespace before the opening brace of blocks.
|
|
180
180
|
*
|
|
181
|
-
* @see [block-opening-brace-space-before](https://github.com/
|
|
181
|
+
* @see [block-opening-brace-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-space-before)
|
|
182
182
|
*/
|
|
183
|
-
'stylistic/block-opening-brace-space-before': BlockOpeningBraceSpaceBeforeOptions
|
|
183
|
+
'@stylistic/block-opening-brace-space-before': BlockOpeningBraceSpaceBeforeOptions
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Specify lowercase or uppercase for hex colors.
|
|
187
187
|
*
|
|
188
|
-
* @see [color-hex-case](https://github.com/
|
|
188
|
+
* @see [color-hex-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/color-hex-case)
|
|
189
189
|
*/
|
|
190
|
-
'stylistic/color-hex-case': ColorHexCaseOptions
|
|
190
|
+
'@stylistic/color-hex-case': ColorHexCaseOptions
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* Require a single space or disallow whitespace after the bang of declarations.
|
|
194
194
|
*
|
|
195
|
-
* @see [declaration-bang-space-after](https://github.com/
|
|
195
|
+
* @see [declaration-bang-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-bang-space-after)
|
|
196
196
|
*/
|
|
197
|
-
'stylistic/declaration-bang-space-after': DeclarationBangSpaceAfterOptions
|
|
197
|
+
'@stylistic/declaration-bang-space-after': DeclarationBangSpaceAfterOptions
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* Require a single space or disallow whitespace before the bang of declarations.
|
|
201
201
|
*
|
|
202
|
-
* @see [declaration-bang-space-before](https://github.com/
|
|
202
|
+
* @see [declaration-bang-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-bang-space-before)
|
|
203
203
|
*/
|
|
204
|
-
'stylistic/declaration-bang-space-before': DeclarationBangSpaceBeforeOptions
|
|
204
|
+
'@stylistic/declaration-bang-space-before': DeclarationBangSpaceBeforeOptions
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* Require a newline or disallow whitespace after the semicolons of declaration blocks.
|
|
208
208
|
*
|
|
209
|
-
* @see [declaration-block-semicolon-newline-after](https://github.com/
|
|
209
|
+
* @see [declaration-block-semicolon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-newline-after)
|
|
210
210
|
*/
|
|
211
|
-
'stylistic/declaration-block-semicolon-newline-after': DeclarationBlockSemicolonNewlineAfterOptions
|
|
211
|
+
'@stylistic/declaration-block-semicolon-newline-after': DeclarationBlockSemicolonNewlineAfterOptions
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* Require a newline or disallow whitespace before the semicolons of declaration blocks.
|
|
215
215
|
*
|
|
216
|
-
* @see [declaration-block-semicolon-newline-before](https://github.com/
|
|
216
|
+
* @see [declaration-block-semicolon-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-newline-before)
|
|
217
217
|
*/
|
|
218
|
-
'stylistic/declaration-block-semicolon-newline-before': DeclarationBlockSemicolonNewlineBeforeOptions
|
|
218
|
+
'@stylistic/declaration-block-semicolon-newline-before': DeclarationBlockSemicolonNewlineBeforeOptions
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* Require a single space or disallow whitespace after the semicolons of declaration blocks.
|
|
222
222
|
*
|
|
223
|
-
* @see [declaration-block-semicolon-space-after](https://github.com/
|
|
223
|
+
* @see [declaration-block-semicolon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-space-after)
|
|
224
224
|
*/
|
|
225
|
-
'stylistic/declaration-block-semicolon-space-after': DeclarationBlockSemicolonSpaceAfterOptions
|
|
225
|
+
'@stylistic/declaration-block-semicolon-space-after': DeclarationBlockSemicolonSpaceAfterOptions
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* Require a single space or disallow whitespace before the semicolons of declaration blocks.
|
|
229
229
|
*
|
|
230
|
-
* @see [declaration-block-semicolon-space-before](https://github.com/
|
|
230
|
+
* @see [declaration-block-semicolon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-space-before)
|
|
231
231
|
*/
|
|
232
|
-
'stylistic/declaration-block-semicolon-space-before': DeclarationBlockSemicolonSpaceBeforeOptions
|
|
232
|
+
'@stylistic/declaration-block-semicolon-space-before': DeclarationBlockSemicolonSpaceBeforeOptions
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* Require or disallow a trailing semicolon within declaration blocks.
|
|
236
236
|
*
|
|
237
|
-
* @see [declaration-block-trailing-semicolon](https://github.com/
|
|
237
|
+
* @see [declaration-block-trailing-semicolon](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-trailing-semicolon)
|
|
238
238
|
*/
|
|
239
|
-
'stylistic/declaration-block-trailing-semicolon': DeclarationBlockTrailingSemicolonOptions
|
|
239
|
+
'@stylistic/declaration-block-trailing-semicolon': DeclarationBlockTrailingSemicolonOptions
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* Require a single space or disallow whitespace after the colon of declarations.
|
|
243
243
|
*
|
|
244
|
-
* @see [declaration-colon-space-after](https://github.com/
|
|
244
|
+
* @see [declaration-colon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-space-after)
|
|
245
245
|
*/
|
|
246
|
-
'stylistic/declaration-colon-space-after': DeclarationColonSpaceAfterOptions
|
|
246
|
+
'@stylistic/declaration-colon-space-after': DeclarationColonSpaceAfterOptions
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
249
|
* Require a single space or disallow whitespace before the colon of declarations.
|
|
250
250
|
*
|
|
251
|
-
* @see [declaration-colon-space-before](https://github.com/
|
|
251
|
+
* @see [declaration-colon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-space-before)
|
|
252
252
|
*/
|
|
253
|
-
'stylistic/declaration-colon-space-before': DeclarationColonSpaceBeforeOptions
|
|
253
|
+
'@stylistic/declaration-colon-space-before': DeclarationColonSpaceBeforeOptions
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
256
|
* Require a newline or disallow whitespace after the commas of functions.
|
|
257
257
|
*
|
|
258
|
-
* @see [function-comma-newline-after](https://github.com/
|
|
258
|
+
* @see [function-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-newline-after)
|
|
259
259
|
*/
|
|
260
|
-
'stylistic/function-comma-newline-after': FunctionCommaNewlineAfterOptions
|
|
260
|
+
'@stylistic/function-comma-newline-after': FunctionCommaNewlineAfterOptions
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* Require a newline or disallow whitespace before the commas of functions.
|
|
264
264
|
*
|
|
265
|
-
* @see [function-comma-newline-before](https://github.com/
|
|
265
|
+
* @see [function-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-newline-before)
|
|
266
266
|
*/
|
|
267
|
-
'stylistic/function-comma-newline-before': FunctionCommaNewlineBeforeOptions
|
|
267
|
+
'@stylistic/function-comma-newline-before': FunctionCommaNewlineBeforeOptions
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
270
|
* Require a newline or disallow whitespace after the colon of declarations.
|
|
271
271
|
*
|
|
272
|
-
* @see [declaration-colon-newline-after](https://github.com/
|
|
272
|
+
* @see [declaration-colon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-newline-after)
|
|
273
273
|
*/
|
|
274
|
-
'stylistic/declaration-colon-newline-after': DeclarationColonNewlineAfterOptions
|
|
274
|
+
'@stylistic/declaration-colon-newline-after': DeclarationColonNewlineAfterOptions
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* Require a single space or disallow whitespace after the commas of functions.
|
|
278
278
|
*
|
|
279
|
-
* @see [function-comma-space-after](https://github.com/
|
|
279
|
+
* @see [function-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-space-after)
|
|
280
280
|
*/
|
|
281
|
-
'stylistic/function-comma-space-after': FunctionCommaSpaceAfterOptions
|
|
281
|
+
'@stylistic/function-comma-space-after': FunctionCommaSpaceAfterOptions
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* Require a single space or disallow whitespace before the commas of functions.
|
|
285
285
|
*
|
|
286
|
-
* @see [function-comma-space-before](https://github.com/
|
|
286
|
+
* @see [function-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-space-before)
|
|
287
287
|
*/
|
|
288
|
-
'stylistic/function-comma-space-before': FunctionCommaSpaceBeforeOptions
|
|
288
|
+
'@stylistic/function-comma-space-before': FunctionCommaSpaceBeforeOptions
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* Limit the number of adjacent empty lines within functions.
|
|
292
292
|
*
|
|
293
|
-
* @see [function-max-empty-lines](https://github.com/
|
|
293
|
+
* @see [function-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-max-empty-lines)
|
|
294
294
|
*/
|
|
295
|
-
'stylistic/function-max-empty-lines': FunctionMaxEmptyLinesOptions
|
|
295
|
+
'@stylistic/function-max-empty-lines': FunctionMaxEmptyLinesOptions
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
298
|
* Require a newline or disallow whitespace on the inside of the parentheses of functions.
|
|
299
299
|
*
|
|
300
|
-
* @see [function-parentheses-newline-inside](https://github.com/
|
|
300
|
+
* @see [function-parentheses-newline-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-parentheses-newline-inside)
|
|
301
301
|
*/
|
|
302
|
-
'stylistic/function-parentheses-newline-inside': FunctionParenthesesNewlineInsideOptions
|
|
302
|
+
'@stylistic/function-parentheses-newline-inside': FunctionParenthesesNewlineInsideOptions
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
305
|
* Require a single space or disallow whitespace on the inside of the parentheses of functions.
|
|
306
306
|
*
|
|
307
|
-
* @see [function-parentheses-space-inside](https://github.com/
|
|
307
|
+
* @see [function-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-parentheses-space-inside)
|
|
308
308
|
*/
|
|
309
|
-
'stylistic/function-parentheses-space-inside': FunctionParenthesesSpaceInsideOptions
|
|
309
|
+
'@stylistic/function-parentheses-space-inside': FunctionParenthesesSpaceInsideOptions
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
312
|
* Require or disallow whitespace after functions.
|
|
313
313
|
*
|
|
314
|
-
* @see [function-whitespace-after](https://github.com/
|
|
314
|
+
* @see [function-whitespace-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-whitespace-after)
|
|
315
315
|
*/
|
|
316
|
-
'stylistic/function-whitespace-after': FunctionWhitespaceAfterOptions
|
|
316
|
+
'@stylistic/function-whitespace-after': FunctionWhitespaceAfterOptions
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* Specify indentation.
|
|
320
320
|
*
|
|
321
|
-
* @see [indentation](https://github.com/
|
|
321
|
+
* @see [indentation](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/indentation)
|
|
322
322
|
*/
|
|
323
|
-
'stylistic/indentation': IndentationOptions
|
|
323
|
+
'@stylistic/indentation': IndentationOptions
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
326
|
* Specify unix or windows linebreaks.
|
|
327
327
|
*
|
|
328
328
|
* The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
|
|
329
329
|
*
|
|
330
|
-
* @see [linebreaks](https://github.com/
|
|
330
|
+
* @see [linebreaks](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/linebreaks)
|
|
331
331
|
*/
|
|
332
|
-
'stylistic/linebreaks': LinebreaksOptions
|
|
332
|
+
'@stylistic/linebreaks': LinebreaksOptions
|
|
333
333
|
|
|
334
334
|
/**
|
|
335
335
|
* Limit the number of adjacent empty lines.
|
|
336
336
|
*
|
|
337
|
-
* @see [max-empty-lines](https://github.com/
|
|
337
|
+
* @see [max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/max-empty-lines)
|
|
338
338
|
*/
|
|
339
|
-
'stylistic/max-empty-lines': MaxEmptyLinesOptions
|
|
339
|
+
'@stylistic/max-empty-lines': MaxEmptyLinesOptions
|
|
340
340
|
|
|
341
341
|
/**
|
|
342
342
|
* Limit the length of a line.
|
|
343
343
|
*
|
|
344
|
-
* @see [max-line-length](https://github.com/
|
|
344
|
+
* @see [max-line-length](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/max-line-length)
|
|
345
345
|
*/
|
|
346
|
-
'stylistic/max-line-length': MaxLineLengthOptions
|
|
346
|
+
'@stylistic/max-line-length': MaxLineLengthOptions
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
349
|
* Require a single space or disallow whitespace after the colon in media features.
|
|
350
350
|
*
|
|
351
|
-
* @see [media-feature-colon-space-after](https://github.com/
|
|
351
|
+
* @see [media-feature-colon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-colon-space-after)
|
|
352
352
|
*/
|
|
353
|
-
'stylistic/media-feature-colon-space-after': MediaFeatureColonSpaceAfterOptions
|
|
353
|
+
'@stylistic/media-feature-colon-space-after': MediaFeatureColonSpaceAfterOptions
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
356
|
* Require a single space or disallow whitespace before the colon in media features.
|
|
357
357
|
*
|
|
358
|
-
* @see [media-feature-colon-space-before](https://github.com/
|
|
358
|
+
* @see [media-feature-colon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-colon-space-before)
|
|
359
359
|
*/
|
|
360
|
-
'stylistic/media-feature-colon-space-before': MediaFeatureColonSpaceBeforeOptions
|
|
360
|
+
'@stylistic/media-feature-colon-space-before': MediaFeatureColonSpaceBeforeOptions
|
|
361
361
|
|
|
362
362
|
/**
|
|
363
363
|
* Specify lowercase or uppercase for media feature names.
|
|
364
364
|
*
|
|
365
|
-
* @see [media-feature-name-case](https://github.com/
|
|
365
|
+
* @see [media-feature-name-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-name-case)
|
|
366
366
|
*/
|
|
367
|
-
'stylistic/media-feature-name-case': MediaFeatureNameCaseOptions
|
|
367
|
+
'@stylistic/media-feature-name-case': MediaFeatureNameCaseOptions
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* Require a single space or disallow whitespace on the inside of the parentheses within media features.
|
|
371
371
|
*
|
|
372
|
-
* @see [media-feature-parentheses-space-inside](https://github.com/
|
|
372
|
+
* @see [media-feature-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-parentheses-space-inside)
|
|
373
373
|
*/
|
|
374
|
-
'stylistic/media-feature-parentheses-space-inside': MediaFeatureParenthesesSpaceInsideOptions
|
|
374
|
+
'@stylistic/media-feature-parentheses-space-inside': MediaFeatureParenthesesSpaceInsideOptions
|
|
375
375
|
|
|
376
376
|
/**
|
|
377
377
|
* Require a single space or disallow whitespace after the range operator in media features.
|
|
378
378
|
*
|
|
379
|
-
* @see [media-feature-range-operator-space-after](https://github.com/
|
|
379
|
+
* @see [media-feature-range-operator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-range-operator-space-after)
|
|
380
380
|
*/
|
|
381
|
-
'stylistic/media-feature-range-operator-space-after': MediaFeatureRangeOperatorSpaceAfterOptions
|
|
381
|
+
'@stylistic/media-feature-range-operator-space-after': MediaFeatureRangeOperatorSpaceAfterOptions
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* Require a single space or disallow whitespace before the range operator in media features.
|
|
385
385
|
*
|
|
386
|
-
* @see [media-feature-range-operator-space-before](https://github.com/
|
|
386
|
+
* @see [media-feature-range-operator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-range-operator-space-before)
|
|
387
387
|
*/
|
|
388
|
-
'stylistic/media-feature-range-operator-space-before': MediaFeatureRangeOperatorSpaceBeforeOptions
|
|
388
|
+
'@stylistic/media-feature-range-operator-space-before': MediaFeatureRangeOperatorSpaceBeforeOptions
|
|
389
389
|
|
|
390
390
|
/**
|
|
391
391
|
* Require a newline or disallow whitespace after the commas of media query lists.
|
|
392
392
|
*
|
|
393
|
-
* @see [media-query-list-comma-newline-after](https://github.com/
|
|
393
|
+
* @see [media-query-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-newline-after)
|
|
394
394
|
*/
|
|
395
|
-
'stylistic/media-query-list-comma-newline-after': MediaQueryListCommaNewlineAfterOptions
|
|
395
|
+
'@stylistic/media-query-list-comma-newline-after': MediaQueryListCommaNewlineAfterOptions
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
398
|
* Require a newline or disallow whitespace before the commas of media query lists.
|
|
399
399
|
*
|
|
400
|
-
* @see [media-query-list-comma-newline-before](https://github.com/
|
|
400
|
+
* @see [media-query-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-newline-before)
|
|
401
401
|
*/
|
|
402
|
-
'stylistic/media-query-list-comma-newline-before': MediaQueryListCommaNewlineBeforeOptions
|
|
402
|
+
'@stylistic/media-query-list-comma-newline-before': MediaQueryListCommaNewlineBeforeOptions
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
405
|
* Require a single space or disallow whitespace after the commas of media query lists.
|
|
406
406
|
*
|
|
407
|
-
* @see [media-query-list-comma-space-after](https://github.com/
|
|
407
|
+
* @see [media-query-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-space-after)
|
|
408
408
|
*/
|
|
409
|
-
'stylistic/media-query-list-comma-space-after': MediaQueryListCommaSpaceAfterOptions
|
|
409
|
+
'@stylistic/media-query-list-comma-space-after': MediaQueryListCommaSpaceAfterOptions
|
|
410
410
|
|
|
411
411
|
/**
|
|
412
412
|
* Require a single space or disallow whitespace before the commas of media query lists.
|
|
413
413
|
*
|
|
414
|
-
* @see [media-query-list-comma-space-before](https://github.com/
|
|
414
|
+
* @see [media-query-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-space-before)
|
|
415
415
|
*/
|
|
416
|
-
'stylistic/media-query-list-comma-space-before': MediaQueryListCommaSpaceBeforeOptions
|
|
416
|
+
'@stylistic/media-query-list-comma-space-before': MediaQueryListCommaSpaceBeforeOptions
|
|
417
417
|
|
|
418
418
|
/**
|
|
419
419
|
* Disallow empty first lines.
|
|
420
420
|
*
|
|
421
|
-
* @see [no-empty-first-line](https://github.com/
|
|
421
|
+
* @see [no-empty-first-line](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-empty-first-line)
|
|
422
422
|
*/
|
|
423
|
-
'stylistic/no-empty-first-line': NoEmptyFirstLineOptions
|
|
423
|
+
'@stylistic/no-empty-first-line': NoEmptyFirstLineOptions
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* Disallow end-of-line whitespace.
|
|
427
427
|
*
|
|
428
|
-
* @see [no-eol-whitespace](https://github.com/
|
|
428
|
+
* @see [no-eol-whitespace](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-eol-whitespace)
|
|
429
429
|
*/
|
|
430
|
-
'stylistic/no-eol-whitespace': NoEolWhitespaceOptions
|
|
430
|
+
'@stylistic/no-eol-whitespace': NoEolWhitespaceOptions
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
433
|
* Disallow extra semicolons.
|
|
434
434
|
*
|
|
435
|
-
* @see [no-extra-semicolons](https://github.com/
|
|
435
|
+
* @see [no-extra-semicolons](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-extra-semicolons)
|
|
436
436
|
*/
|
|
437
|
-
'stylistic/no-extra-semicolons': NoExtraSemicolonsOptions
|
|
437
|
+
'@stylistic/no-extra-semicolons': NoExtraSemicolonsOptions
|
|
438
438
|
|
|
439
439
|
/**
|
|
440
440
|
* Disallow missing end-of-source newlines.
|
|
441
441
|
*
|
|
442
|
-
* @see [no-missing-end-of-source-newline](https://github.com/
|
|
442
|
+
* @see [no-missing-end-of-source-newline](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-missing-end-of-source-newline)
|
|
443
443
|
*/
|
|
444
|
-
'stylistic/no-missing-end-of-source-newline': NoMissingEndOfSourceNewlineOptions
|
|
444
|
+
'@stylistic/no-missing-end-of-source-newline': NoMissingEndOfSourceNewlineOptions
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
447
|
* Require or disallow a leading zero for fractional numbers less than 1.
|
|
448
448
|
*
|
|
449
|
-
* @see [number-leading-zero](https://github.com/
|
|
449
|
+
* @see [number-leading-zero](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/number-leading-zero)
|
|
450
450
|
*/
|
|
451
|
-
'stylistic/number-leading-zero': NumberLeadingZeroOptions
|
|
451
|
+
'@stylistic/number-leading-zero': NumberLeadingZeroOptions
|
|
452
452
|
|
|
453
453
|
/**
|
|
454
454
|
* Disallow trailing zeros in numbers.
|
|
455
455
|
*
|
|
456
|
-
* @see [number-no-trailing-zeros](https://github.com/
|
|
456
|
+
* @see [number-no-trailing-zeros](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/number-no-trailing-zeros)
|
|
457
457
|
*/
|
|
458
|
-
'stylistic/number-no-trailing-zeros': NumberNoTrailingZerosOptions
|
|
458
|
+
'@stylistic/number-no-trailing-zeros': NumberNoTrailingZerosOptions
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
461
|
* Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
|
|
462
462
|
*
|
|
463
|
-
* @see [selector-attribute-brackets-space-inside](https://github.com/
|
|
463
|
+
* @see [selector-attribute-brackets-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-brackets-space-inside)
|
|
464
464
|
*/
|
|
465
|
-
'stylistic/selector-attribute-brackets-space-inside': SelectorAttributeBracketsSpaceInsideOptions
|
|
465
|
+
'@stylistic/selector-attribute-brackets-space-inside': SelectorAttributeBracketsSpaceInsideOptions
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
468
|
* Specify lowercase or uppercase for properties.
|
|
469
469
|
*
|
|
470
|
-
* @see [property-case](https://github.com/
|
|
470
|
+
* @see [property-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/property-case)
|
|
471
471
|
*/
|
|
472
|
-
'stylistic/property-case': PropertyCaseOptions
|
|
472
|
+
'@stylistic/property-case': PropertyCaseOptions
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
475
|
* Require a single space or disallow whitespace after operators within attribute selectors.
|
|
476
476
|
*
|
|
477
|
-
* @see [selector-attribute-operator-space-after](https://github.com/
|
|
477
|
+
* @see [selector-attribute-operator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-operator-space-after)
|
|
478
478
|
*/
|
|
479
|
-
'stylistic/selector-attribute-operator-space-after': SelectorAttributeOperatorSpaceAfterOptions
|
|
479
|
+
'@stylistic/selector-attribute-operator-space-after': SelectorAttributeOperatorSpaceAfterOptions
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
482
|
* Require a single space or disallow whitespace before operators within attribute selectors.
|
|
483
483
|
*
|
|
484
|
-
* @see [selector-attribute-operator-space-before](https://github.com/
|
|
484
|
+
* @see [selector-attribute-operator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-operator-space-before)
|
|
485
485
|
*/
|
|
486
|
-
'stylistic/selector-attribute-operator-space-before': SelectorAttributeOperatorSpaceBeforeOptions
|
|
486
|
+
'@stylistic/selector-attribute-operator-space-before': SelectorAttributeOperatorSpaceBeforeOptions
|
|
487
487
|
|
|
488
488
|
/**
|
|
489
489
|
* Require a single space or disallow whitespace after the combinators of selectors.
|
|
490
490
|
*
|
|
491
|
-
* @see [selector-combinator-space-after](https://github.com/
|
|
491
|
+
* @see [selector-combinator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-combinator-space-after)
|
|
492
492
|
*/
|
|
493
|
-
'stylistic/selector-combinator-space-after': SelectorCombinatorSpaceAfterOptions
|
|
493
|
+
'@stylistic/selector-combinator-space-after': SelectorCombinatorSpaceAfterOptions
|
|
494
494
|
|
|
495
495
|
/**
|
|
496
496
|
* Require a single space or disallow whitespace before the combinators of selectors.
|
|
497
497
|
*
|
|
498
|
-
* @see [selector-combinator-space-before](https://github.com/
|
|
498
|
+
* @see [selector-combinator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-combinator-space-before)
|
|
499
499
|
*/
|
|
500
|
-
'stylistic/selector-combinator-space-before': SelectorCombinatorSpaceBeforeOptions
|
|
500
|
+
'@stylistic/selector-combinator-space-before': SelectorCombinatorSpaceBeforeOptions
|
|
501
501
|
|
|
502
502
|
/**
|
|
503
503
|
* Disallow non-space characters for descendant combinators of selectors.
|
|
504
504
|
*
|
|
505
|
-
* @see [selector-descendant-combinator-no-non-space](https://github.com/
|
|
505
|
+
* @see [selector-descendant-combinator-no-non-space](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-descendant-combinator-no-non-space)
|
|
506
506
|
*/
|
|
507
|
-
'stylistic/selector-descendant-combinator-no-non-space': SelectorDescendantCombinatorNoNonSpaceOptions
|
|
507
|
+
'@stylistic/selector-descendant-combinator-no-non-space': SelectorDescendantCombinatorNoNonSpaceOptions
|
|
508
508
|
|
|
509
509
|
/**
|
|
510
510
|
* Require a newline or disallow whitespace after the commas of selector lists.
|
|
511
511
|
*
|
|
512
|
-
* @see [selector-list-comma-newline-after](https://github.com/
|
|
512
|
+
* @see [selector-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-newline-after)
|
|
513
513
|
*/
|
|
514
|
-
'stylistic/selector-list-comma-newline-after': SelectorListCommaNewlineAfterOptions
|
|
514
|
+
'@stylistic/selector-list-comma-newline-after': SelectorListCommaNewlineAfterOptions
|
|
515
515
|
|
|
516
516
|
/**
|
|
517
517
|
* Require a newline or disallow whitespace before the commas of selector lists.
|
|
518
518
|
*
|
|
519
|
-
* @see [selector-list-comma-newline-before](https://github.com/
|
|
519
|
+
* @see [selector-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-newline-before)
|
|
520
520
|
*/
|
|
521
|
-
'stylistic/selector-list-comma-newline-before': SelectorListCommaNewlineBeforeOptions
|
|
521
|
+
'@stylistic/selector-list-comma-newline-before': SelectorListCommaNewlineBeforeOptions
|
|
522
522
|
|
|
523
523
|
/**
|
|
524
524
|
* Require a single space or disallow whitespace after the commas of selector lists.
|
|
525
525
|
*
|
|
526
|
-
* @see [selector-list-comma-space-after](https://github.com/
|
|
526
|
+
* @see [selector-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-space-after)
|
|
527
527
|
*/
|
|
528
|
-
'stylistic/selector-list-comma-space-after': SelectorListCommaSpaceAfterOptions
|
|
528
|
+
'@stylistic/selector-list-comma-space-after': SelectorListCommaSpaceAfterOptions
|
|
529
529
|
|
|
530
530
|
/**
|
|
531
531
|
* Require a single space or disallow whitespace before the commas of selector lists.
|
|
532
532
|
*
|
|
533
|
-
* @see [selector-list-comma-space-before](https://github.com/
|
|
533
|
+
* @see [selector-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-space-before)
|
|
534
534
|
*/
|
|
535
|
-
'stylistic/selector-list-comma-space-before': SelectorListCommaSpaceBeforeOptions
|
|
535
|
+
'@stylistic/selector-list-comma-space-before': SelectorListCommaSpaceBeforeOptions
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* Limit the number of adjacent empty lines within selectors.
|
|
539
539
|
*
|
|
540
|
-
* @see [selector-max-empty-lines](https://github.com/
|
|
540
|
+
* @see [selector-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-max-empty-lines)
|
|
541
541
|
*/
|
|
542
|
-
'stylistic/selector-max-empty-lines': SelectorMaxEmptyLinesOptions
|
|
542
|
+
'@stylistic/selector-max-empty-lines': SelectorMaxEmptyLinesOptions
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
545
|
* Specify lowercase or uppercase for pseudo-class selectors.
|
|
546
546
|
*
|
|
547
|
-
* @see [selector-pseudo-class-case](https://github.com/
|
|
547
|
+
* @see [selector-pseudo-class-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-class-case)
|
|
548
548
|
*/
|
|
549
|
-
'stylistic/selector-pseudo-class-case': SelectorPseudoClassCaseOptions
|
|
549
|
+
'@stylistic/selector-pseudo-class-case': SelectorPseudoClassCaseOptions
|
|
550
550
|
|
|
551
551
|
/**
|
|
552
552
|
* Specify lowercase or uppercase for pseudo-element selectors.
|
|
553
553
|
*
|
|
554
|
-
* @see [selector-pseudo-element-case](https://github.com/
|
|
554
|
+
* @see [selector-pseudo-element-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-element-case)
|
|
555
555
|
*/
|
|
556
|
-
'stylistic/selector-pseudo-element-case': SelectorPseudoElementCaseOptions
|
|
556
|
+
'@stylistic/selector-pseudo-element-case': SelectorPseudoElementCaseOptions
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
559
|
* Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors.
|
|
560
560
|
*
|
|
561
|
-
* @see [selector-pseudo-class-parentheses-space-inside](https://github.com/
|
|
561
|
+
* @see [selector-pseudo-class-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-class-parentheses-space-inside)
|
|
562
562
|
*/
|
|
563
|
-
'stylistic/selector-pseudo-class-parentheses-space-inside': SelectorPseudoClassParenthesesSpaceInsideOptions
|
|
563
|
+
'@stylistic/selector-pseudo-class-parentheses-space-inside': SelectorPseudoClassParenthesesSpaceInsideOptions
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
566
|
* Specify single or double quotes around strings.
|
|
567
567
|
*
|
|
568
|
-
* @see [string-quotes](https://github.com/
|
|
568
|
+
* @see [string-quotes](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/string-quotes)
|
|
569
569
|
*/
|
|
570
|
-
'stylistic/string-quotes': StringQuotesOptions
|
|
570
|
+
'@stylistic/string-quotes': StringQuotesOptions
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
573
|
* Require or disallow the Unicode Byte Order Mark.
|
|
574
574
|
*
|
|
575
|
-
* @see [unicode-bom](https://github.com/
|
|
575
|
+
* @see [unicode-bom](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unicode-bom)
|
|
576
576
|
*/
|
|
577
|
-
'stylistic/unicode-bom': UnicodeBomOptions
|
|
577
|
+
'@stylistic/unicode-bom': UnicodeBomOptions
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
580
|
* Specify lowercase or uppercase for units.
|
|
581
581
|
*
|
|
582
|
-
* @see [unit-case](https://github.com/
|
|
582
|
+
* @see [unit-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unit-case)
|
|
583
583
|
*/
|
|
584
|
-
'stylistic/unit-case': UnitCaseOptions
|
|
584
|
+
'@stylistic/unit-case': UnitCaseOptions
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
587
|
* Require a newline or disallow whitespace after the commas of value lists.
|
|
588
588
|
*
|
|
589
|
-
* @see [value-list-comma-newline-after](https://github.com/
|
|
589
|
+
* @see [value-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-newline-after)
|
|
590
590
|
*/
|
|
591
|
-
'stylistic/value-list-comma-newline-after': ValueListCommaNewlineAfterOptions
|
|
591
|
+
'@stylistic/value-list-comma-newline-after': ValueListCommaNewlineAfterOptions
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
594
|
* Require a newline or disallow whitespace before the commas of value lists.
|
|
595
595
|
*
|
|
596
|
-
* @see [value-list-comma-newline-before](https://github.com/
|
|
596
|
+
* @see [value-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-newline-before)
|
|
597
597
|
*/
|
|
598
|
-
'stylistic/value-list-comma-newline-before': ValueListCommaNewlineBeforeOptions
|
|
598
|
+
'@stylistic/value-list-comma-newline-before': ValueListCommaNewlineBeforeOptions
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
601
|
* Require a single space or disallow whitespace after the commas of value lists.
|
|
602
602
|
*
|
|
603
|
-
* @see [value-list-comma-space-after](https://github.com/
|
|
603
|
+
* @see [value-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-space-after)
|
|
604
604
|
*/
|
|
605
|
-
'stylistic/value-list-comma-space-after': ValueListCommaSpaceAfterOptions
|
|
605
|
+
'@stylistic/value-list-comma-space-after': ValueListCommaSpaceAfterOptions
|
|
606
606
|
|
|
607
607
|
/**
|
|
608
608
|
* Require a single space or disallow whitespace before the commas of value lists.
|
|
609
609
|
*
|
|
610
|
-
* @see [value-list-comma-space-before](https://github.com/
|
|
610
|
+
* @see [value-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-space-before)
|
|
611
611
|
*/
|
|
612
|
-
'stylistic/value-list-comma-space-before': ValueListCommaSpaceBeforeOptions
|
|
612
|
+
'@stylistic/value-list-comma-space-before': ValueListCommaSpaceBeforeOptions
|
|
613
613
|
|
|
614
614
|
/**
|
|
615
615
|
* Limit the number of adjacent empty lines within value lists.
|
|
616
616
|
*
|
|
617
|
-
* @see [value-list-max-empty-lines](https://github.com/
|
|
617
|
+
* @see [value-list-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-max-empty-lines)
|
|
618
618
|
*/
|
|
619
|
-
'stylistic/value-list-max-empty-lines': ValueListMaxEmptyLinesOptions
|
|
619
|
+
'@stylistic/value-list-max-empty-lines': ValueListMaxEmptyLinesOptions
|
|
620
620
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylelint-types/stylelint-stylistic",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
5
|
-
"packageManager": "pnpm@8.
|
|
4
|
+
"version": "2.1.0",
|
|
5
|
+
"packageManager": "pnpm@8.15.3",
|
|
6
6
|
"description": "TypeScript definitions for stylelint-define-config",
|
|
7
7
|
"author": "pengzhanbo <volodymyr@foxmail.com> (https://github.com/pengzhanbo)",
|
|
8
8
|
"license": "MIT",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@pengzhanbo/eslint-config": "^1.
|
|
56
|
-
"
|
|
55
|
+
"@pengzhanbo/eslint-config": "^1.5.4",
|
|
56
|
+
"@stylistic/stylelint-plugin": "^2.1.0",
|
|
57
|
+
"bumpp": "^9.3.0",
|
|
57
58
|
"conventional-changelog-cli": "^4.1.0",
|
|
58
|
-
"eslint": "^8.
|
|
59
|
-
"stylelint": "^16.
|
|
60
|
-
"stylelint-define-config": "^1.0
|
|
61
|
-
"stylelint-stylistic": "^0.4.3",
|
|
59
|
+
"eslint": "^8.56.0",
|
|
60
|
+
"stylelint": "^16.2.1",
|
|
61
|
+
"stylelint-define-config": "^1.1.0",
|
|
62
62
|
"typescript": "^5.3.3"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|