@stylelint-types/stylelint-stylistic 5.1.0 → 5.3.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/README.md +1 -1
  2. package/lib/index.d.ts +350 -322
  3. package/package.json +41 -38
package/README.md CHANGED
@@ -23,7 +23,7 @@ const defineConfig = require('stylelint-define-config')
23
23
  module.exports = defineConfig({
24
24
  rules: {
25
25
  // ...rules
26
- }
26
+ },
27
27
  })
28
28
  ```
29
29
 
package/lib/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { AtRules, LiteralUnion, RegExpLike, RuleConfig } from "stylelint-define-config";
2
-
3
2
  //#region src/rules/at-rule-name-case.d.ts
4
3
  type AtRuleNameCaseOptions = RuleConfig<'lower' | 'upper', [name: string, expectedName: string]>;
5
4
  //#endregion
@@ -89,16 +88,44 @@ type DeclarationColonSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always
89
88
  type DeclarationColonSpaceBeforeOptions = RuleConfig<'always' | 'never'>;
90
89
  //#endregion
91
90
  //#region src/rules/function-comma-newline-after.d.ts
92
- type FunctionCommaNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
91
+ type FunctionCommaNewlineAfterOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line', [], {
92
+ /**
93
+ * Ignore the commas of specified functions, including the commas of any function nested within them.
94
+ *
95
+ * Function names are matched case-sensitively as written. Use a case-insensitive regex (e.g. `"/^translate$/i"`) to match other letter cases. This is important for custom functions like `--my-function()`, whose names are case-sensitive.
96
+ */
97
+ ignoreFunctions?: RegExpLike[];
98
+ }>;
93
99
  //#endregion
94
100
  //#region src/rules/function-comma-newline-before.d.ts
95
- type FunctionCommaNewlineBeforeOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line'>;
101
+ type FunctionCommaNewlineBeforeOptions = RuleConfig<'always' | 'always-multi-line' | 'never-multi-line', [], {
102
+ /**
103
+ * Ignore the commas of specified functions, including the commas of any function nested within them.
104
+ *
105
+ * Function names are matched case-sensitively as written. Use a case-insensitive regex (e.g. `"/^translate$/i"`) to match other letter cases. This is important for custom functions like `--my-function()`, whose names are case-sensitive.
106
+ */
107
+ ignoreFunctions?: RegExpLike[];
108
+ }>;
96
109
  //#endregion
97
110
  //#region src/rules/function-comma-space-after.d.ts
98
- type FunctionCommaSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
111
+ type FunctionCommaSpaceAfterOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line', [], {
112
+ /**
113
+ * Ignore the commas of specified functions, including the commas of any function nested within them.
114
+ *
115
+ * Function names are matched case-sensitively as written. Use a case-insensitive regex (e.g. `"/^translate$/i"`) to match other letter cases. This is important for custom functions like `--my-function()`, whose names are case-sensitive.
116
+ */
117
+ ignoreFunctions?: RegExpLike[];
118
+ }>;
99
119
  //#endregion
100
120
  //#region src/rules/function-comma-space-before.d.ts
101
- type FunctionCommaSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line'>;
121
+ type FunctionCommaSpaceBeforeOptions = RuleConfig<'always' | 'never' | 'always-single-line' | 'never-single-line', [], {
122
+ /**
123
+ * Ignore the commas of specified functions, including the commas of any function nested within them.
124
+ *
125
+ * Function names are matched case-sensitively as written. Use a case-insensitive regex (e.g. `"/^translate$/i"`) to match other letter cases. This is important for custom functions like `--my-function()`, whose names are case-sensitive.
126
+ */
127
+ ignoreFunctions?: RegExpLike[];
128
+ }>;
102
129
  //#endregion
103
130
  //#region src/rules/function-max-empty-lines.d.ts
104
131
  type FunctionMaxEmptyLinesOptions = RuleConfig<number, [primary: number]>;
@@ -274,474 +301,474 @@ interface Plugins {
274
301
  }
275
302
  interface RuleOptions {
276
303
  /**
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
- */
304
+ * Specify lowercase or uppercase for at-rules names.
305
+ *
306
+ * @see [at-rule-name-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-case)
307
+ */
308
+ "@stylistic/at-rule-name-case": AtRuleNameCaseOptions;
309
+ /**
310
+ * Require a newline after at-rule names.
311
+ *
312
+ * @see [at-rule-name-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-newline-after)
313
+ */
281
314
  "@stylistic/at-rule-name-newline-after": AtRuleNameNewlineAfterOptions;
282
315
  /**
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
- */
316
+ * Require a single space after at-rule names.
317
+ *
318
+ * @see [at-rule-name-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-name-space-after)
319
+ */
287
320
  "@stylistic/at-rule-name-space-after": AtRuleNameSpaceAfterOptions;
288
321
  /**
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
- */
322
+ * Require a single space or disallow whitespace before the semicolons of at-rules.
323
+ *
324
+ * @see [at-rule-semicolon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-semicolon-space-before)
325
+ */
299
326
  "@stylistic/at-rule-semicolon-space-before": AtRuleSemicolonSpaceBeforeOptions;
300
327
  /**
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
- */
328
+ * Require or disallow an empty line before the closing brace of blocks.
329
+ *
330
+ * @see [block-closing-brace-empty-line-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-empty-line-before)
331
+ */
305
332
  "@stylistic/block-closing-brace-empty-line-before": BlockClosingBraceEmptyLineBeforeOptions;
306
333
  /**
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
- */
334
+ * Require a newline after the semicolon of at-rules.
335
+ *
336
+ * @see [at-rule-semicolon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/at-rule-semicolon-newline-after)
337
+ */
311
338
  "@stylistic/at-rule-semicolon-newline-after": AtRuleSemicolonNewlineAfterOptions;
312
339
  /**
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
- */
340
+ * Require a newline or disallow whitespace after the closing brace of blocks.
341
+ *
342
+ * @see [block-closing-brace-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-newline-after)
343
+ */
317
344
  "@stylistic/block-closing-brace-newline-after": BlockClosingBraceNewlineAfterOptions;
318
345
  /**
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
- */
346
+ * Require a newline or disallow whitespace before the closing brace of blocks.
347
+ *
348
+ * @see [block-closing-brace-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-newline-before)
349
+ */
323
350
  "@stylistic/block-closing-brace-newline-before": BlockClosingBraceNewlineBeforeOptions;
324
351
  /**
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
- */
352
+ * Require a single space or disallow whitespace after the closing brace of blocks.
353
+ *
354
+ * @see [block-closing-brace-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-space-after)
355
+ */
329
356
  "@stylistic/block-closing-brace-space-after": BlockClosingBraceSpaceAfterOptions;
330
357
  /**
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
- */
358
+ * Require a single space or disallow whitespace before the closing brace of blocks.
359
+ *
360
+ * @see [block-closing-brace-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-closing-brace-space-before)
361
+ */
335
362
  "@stylistic/block-closing-brace-space-before": BlockClosingBraceSpaceBeforeOptions;
336
363
  /**
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
- */
364
+ * Require a newline after the opening brace of blocks.
365
+ *
366
+ * @see [block-opening-brace-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-newline-after)
367
+ */
341
368
  "@stylistic/block-opening-brace-newline-after": BlockOpeningBraceNewlineAfterOptions;
342
369
  /**
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
- */
370
+ * Require a newline or disallow whitespace before the opening brace of blocks.
371
+ *
372
+ * @see [block-opening-brace-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-newline-before)
373
+ */
347
374
  "@stylistic/block-opening-brace-newline-before": BlockOpeningBraceNewlineBeforeOptions;
348
375
  /**
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
- */
376
+ * Require a single space or disallow whitespace after the opening brace of blocks.
377
+ *
378
+ * @see [block-opening-brace-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-space-after)
379
+ */
353
380
  "@stylistic/block-opening-brace-space-after": BlockOpeningBraceSpaceAfterOptions;
354
381
  /**
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
- */
382
+ * Require a single space or disallow whitespace before the opening brace of blocks.
383
+ *
384
+ * @see [block-opening-brace-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/block-opening-brace-space-before)
385
+ */
359
386
  "@stylistic/block-opening-brace-space-before": BlockOpeningBraceSpaceBeforeOptions;
360
387
  /**
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
- */
388
+ * Specify lowercase or uppercase for hex colors.
389
+ *
390
+ * @see [color-hex-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/color-hex-case)
391
+ */
365
392
  "@stylistic/color-hex-case": ColorHexCaseOptions;
366
393
  /**
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
- */
394
+ * Require a single space or disallow whitespace after the bang of declarations.
395
+ *
396
+ * @see [declaration-bang-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-bang-space-after)
397
+ */
371
398
  "@stylistic/declaration-bang-space-after": DeclarationBangSpaceAfterOptions;
372
399
  /**
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
- */
400
+ * Require a single space or disallow whitespace before the bang of declarations.
401
+ *
402
+ * @see [declaration-bang-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-bang-space-before)
403
+ */
377
404
  "@stylistic/declaration-bang-space-before": DeclarationBangSpaceBeforeOptions;
378
405
  /**
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
- */
406
+ * Require a newline or disallow whitespace after the semicolons of declaration blocks.
407
+ *
408
+ * @see [declaration-block-semicolon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-newline-after)
409
+ */
383
410
  "@stylistic/declaration-block-semicolon-newline-after": DeclarationBlockSemicolonNewlineAfterOptions;
384
411
  /**
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
- */
412
+ * Require a newline or disallow whitespace before the semicolons of declaration blocks.
413
+ *
414
+ * @see [declaration-block-semicolon-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-newline-before)
415
+ */
389
416
  "@stylistic/declaration-block-semicolon-newline-before": DeclarationBlockSemicolonNewlineBeforeOptions;
390
417
  /**
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
- */
418
+ * Require a single space or disallow whitespace after the semicolons of declaration blocks.
419
+ *
420
+ * @see [declaration-block-semicolon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-space-after)
421
+ */
395
422
  "@stylistic/declaration-block-semicolon-space-after": DeclarationBlockSemicolonSpaceAfterOptions;
396
423
  /**
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
- */
424
+ * Require a single space or disallow whitespace before the semicolons of declaration blocks.
425
+ *
426
+ * @see [declaration-block-semicolon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-semicolon-space-before)
427
+ */
401
428
  "@stylistic/declaration-block-semicolon-space-before": DeclarationBlockSemicolonSpaceBeforeOptions;
402
429
  /**
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
- */
430
+ * Require or disallow a trailing semicolon within declaration blocks.
431
+ *
432
+ * @see [declaration-block-trailing-semicolon](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-block-trailing-semicolon)
433
+ */
407
434
  "@stylistic/declaration-block-trailing-semicolon": DeclarationBlockTrailingSemicolonOptions;
408
435
  /**
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
- */
436
+ * Require a single space or disallow whitespace after the colon of declarations.
437
+ *
438
+ * @see [declaration-colon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-space-after)
439
+ */
413
440
  "@stylistic/declaration-colon-space-after": DeclarationColonSpaceAfterOptions;
414
441
  /**
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
- */
442
+ * Require a single space or disallow whitespace before the colon of declarations.
443
+ *
444
+ * @see [declaration-colon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-space-before)
445
+ */
419
446
  "@stylistic/declaration-colon-space-before": DeclarationColonSpaceBeforeOptions;
420
447
  /**
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
- */
448
+ * Require a newline or disallow whitespace after the commas of functions.
449
+ *
450
+ * @see [function-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-newline-after)
451
+ */
425
452
  "@stylistic/function-comma-newline-after": FunctionCommaNewlineAfterOptions;
426
453
  /**
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
- */
454
+ * Require a newline or disallow whitespace before the commas of functions.
455
+ *
456
+ * @see [function-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-newline-before)
457
+ */
431
458
  "@stylistic/function-comma-newline-before": FunctionCommaNewlineBeforeOptions;
432
459
  /**
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
- */
460
+ * Require a newline or disallow whitespace after the colon of declarations.
461
+ *
462
+ * @see [declaration-colon-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/declaration-colon-newline-after)
463
+ */
437
464
  "@stylistic/declaration-colon-newline-after": DeclarationColonNewlineAfterOptions;
438
465
  /**
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
- */
466
+ * Require a single space or disallow whitespace after the commas of functions.
467
+ *
468
+ * @see [function-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-space-after)
469
+ */
443
470
  "@stylistic/function-comma-space-after": FunctionCommaSpaceAfterOptions;
444
471
  /**
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
- */
472
+ * Require a single space or disallow whitespace before the commas of functions.
473
+ *
474
+ * @see [function-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-comma-space-before)
475
+ */
449
476
  "@stylistic/function-comma-space-before": FunctionCommaSpaceBeforeOptions;
450
477
  /**
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
- */
478
+ * Limit the number of adjacent empty lines within functions.
479
+ *
480
+ * @see [function-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-max-empty-lines)
481
+ */
455
482
  "@stylistic/function-max-empty-lines": FunctionMaxEmptyLinesOptions;
456
483
  /**
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
- */
484
+ * Require a newline or disallow whitespace on the inside of the parentheses of functions.
485
+ *
486
+ * @see [function-parentheses-newline-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-parentheses-newline-inside)
487
+ */
461
488
  "@stylistic/function-parentheses-newline-inside": FunctionParenthesesNewlineInsideOptions;
462
489
  /**
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
- */
490
+ * Require a single space or disallow whitespace on the inside of the parentheses of functions.
491
+ *
492
+ * @see [function-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-parentheses-space-inside)
493
+ */
467
494
  "@stylistic/function-parentheses-space-inside": FunctionParenthesesSpaceInsideOptions;
468
495
  /**
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
- */
496
+ * Require or disallow whitespace after functions.
497
+ *
498
+ * @see [function-whitespace-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/function-whitespace-after)
499
+ */
473
500
  "@stylistic/function-whitespace-after": FunctionWhitespaceAfterOptions;
474
501
  /**
475
- * Specify indentation.
476
- *
477
- * @see [indentation](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/indentation)
478
- */
502
+ * Specify indentation.
503
+ *
504
+ * @see [indentation](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/indentation)
505
+ */
479
506
  "@stylistic/indentation": IndentationOptions;
480
507
  /**
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
- */
508
+ * Specify unix or windows linebreaks.
509
+ *
510
+ * The [`fix` option](https://stylelint.io/user-guide/options#fix) can automatically fix all of the problems reported by this rule.
511
+ *
512
+ * @see [linebreaks](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/linebreaks)
513
+ */
487
514
  "@stylistic/linebreaks": LinebreaksOptions;
488
515
  /**
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
- */
516
+ * Limit the number of adjacent empty lines.
517
+ *
518
+ * @see [max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/max-empty-lines)
519
+ */
493
520
  "@stylistic/max-empty-lines": MaxEmptyLinesOptions;
494
521
  /**
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
- */
522
+ * Limit the length of a line.
523
+ *
524
+ * @see [max-line-length](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/max-line-length)
525
+ */
499
526
  "@stylistic/max-line-length": MaxLineLengthOptions;
500
527
  /**
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
- */
528
+ * Require a single space or disallow whitespace after the colon in media features.
529
+ *
530
+ * @see [media-feature-colon-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-colon-space-after)
531
+ */
505
532
  "@stylistic/media-feature-colon-space-after": MediaFeatureColonSpaceAfterOptions;
506
533
  /**
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
- */
534
+ * Require a single space or disallow whitespace before the colon in media features.
535
+ *
536
+ * @see [media-feature-colon-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-colon-space-before)
537
+ */
511
538
  "@stylistic/media-feature-colon-space-before": MediaFeatureColonSpaceBeforeOptions;
512
539
  /**
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
- */
540
+ * Specify lowercase or uppercase for media feature names.
541
+ *
542
+ * @see [media-feature-name-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-name-case)
543
+ */
517
544
  "@stylistic/media-feature-name-case": MediaFeatureNameCaseOptions;
518
545
  /**
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
- */
546
+ * Require a single space or disallow whitespace on the inside of the parentheses within media features.
547
+ *
548
+ * @see [media-feature-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-parentheses-space-inside)
549
+ */
523
550
  "@stylistic/media-feature-parentheses-space-inside": MediaFeatureParenthesesSpaceInsideOptions;
524
551
  /**
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
- */
552
+ * Require a single space or disallow whitespace after the range operator in media features.
553
+ *
554
+ * @see [media-feature-range-operator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-range-operator-space-after)
555
+ */
529
556
  "@stylistic/media-feature-range-operator-space-after": MediaFeatureRangeOperatorSpaceAfterOptions;
530
557
  /**
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
- */
558
+ * Require a single space or disallow whitespace before the range operator in media features.
559
+ *
560
+ * @see [media-feature-range-operator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-feature-range-operator-space-before)
561
+ */
535
562
  "@stylistic/media-feature-range-operator-space-before": MediaFeatureRangeOperatorSpaceBeforeOptions;
536
563
  /**
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
- */
564
+ * Require a newline or disallow whitespace after the commas of media query lists.
565
+ *
566
+ * @see [media-query-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-newline-after)
567
+ */
541
568
  "@stylistic/media-query-list-comma-newline-after": MediaQueryListCommaNewlineAfterOptions;
542
569
  /**
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
- */
570
+ * Require a newline or disallow whitespace before the commas of media query lists.
571
+ *
572
+ * @see [media-query-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-newline-before)
573
+ */
547
574
  "@stylistic/media-query-list-comma-newline-before": MediaQueryListCommaNewlineBeforeOptions;
548
575
  /**
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
- */
576
+ * Require a single space or disallow whitespace after the commas of media query lists.
577
+ *
578
+ * @see [media-query-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-space-after)
579
+ */
553
580
  "@stylistic/media-query-list-comma-space-after": MediaQueryListCommaSpaceAfterOptions;
554
581
  /**
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
- */
582
+ * Require a single space or disallow whitespace before the commas of media query lists.
583
+ *
584
+ * @see [media-query-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/media-query-list-comma-space-before)
585
+ */
559
586
  "@stylistic/media-query-list-comma-space-before": MediaQueryListCommaSpaceBeforeOptions;
560
587
  /**
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
- */
588
+ * Require cell tokens (and optionally ending quotes) within grid-template-areas to be aligned.
589
+ *
590
+ * @see [value-list-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/named-grid-areas-alignment)
591
+ */
565
592
  "@stylistic/named-grid-areas-alignment": NamedGridAreasAlignmentOptions;
566
593
  /**
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
- */
594
+ * Disallow empty first lines.
595
+ *
596
+ * @see [no-empty-first-line](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-empty-first-line)
597
+ */
571
598
  "@stylistic/no-empty-first-line": NoEmptyFirstLineOptions;
572
599
  /**
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
- */
600
+ * Disallow end-of-line whitespace.
601
+ *
602
+ * @see [no-eol-whitespace](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-eol-whitespace)
603
+ */
577
604
  "@stylistic/no-eol-whitespace": NoEolWhitespaceOptions;
578
605
  /**
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
- */
606
+ * Disallow extra semicolons.
607
+ *
608
+ * @see [no-extra-semicolons](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-extra-semicolons)
609
+ */
583
610
  "@stylistic/no-extra-semicolons": NoExtraSemicolonsOptions;
584
611
  /**
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
- */
612
+ * Disallow missing end-of-source newlines.
613
+ *
614
+ * @see [no-missing-end-of-source-newline](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-missing-end-of-source-newline)
615
+ */
589
616
  "@stylistic/no-missing-end-of-source-newline": NoMissingEndOfSourceNewlineOptions;
590
617
  /**
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
- */
618
+ * Disallow multiple whitespaces.
619
+ *
620
+ * @see [no-multiple-whitespaces](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/no-multiple-whitespaces)
621
+ */
595
622
  "@stylistic/no-multiple-whitespaces": NoMultipleWhitespacesOptions;
596
623
  /**
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
- */
624
+ * Require or disallow a leading zero for fractional numbers less than 1.
625
+ *
626
+ * @see [number-leading-zero](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/number-leading-zero)
627
+ */
601
628
  "@stylistic/number-leading-zero": NumberLeadingZeroOptions;
602
629
  /**
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
- */
630
+ * Disallow trailing zeros in numbers.
631
+ *
632
+ * @see [number-no-trailing-zeros](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/number-no-trailing-zeros)
633
+ */
607
634
  "@stylistic/number-no-trailing-zeros": NumberNoTrailingZerosOptions;
608
635
  /**
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
- */
636
+ * Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
637
+ *
638
+ * @see [selector-attribute-brackets-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-brackets-space-inside)
639
+ */
613
640
  "@stylistic/selector-attribute-brackets-space-inside": SelectorAttributeBracketsSpaceInsideOptions;
614
641
  /**
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
- */
642
+ * Specify lowercase or uppercase for properties.
643
+ *
644
+ * @see [property-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/property-case)
645
+ */
619
646
  "@stylistic/property-case": PropertyCaseOptions;
620
647
  /**
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
- */
648
+ * Require a single space or disallow whitespace after operators within attribute selectors.
649
+ *
650
+ * @see [selector-attribute-operator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-operator-space-after)
651
+ */
625
652
  "@stylistic/selector-attribute-operator-space-after": SelectorAttributeOperatorSpaceAfterOptions;
626
653
  /**
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
- */
654
+ * Require a single space or disallow whitespace before operators within attribute selectors.
655
+ *
656
+ * @see [selector-attribute-operator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-attribute-operator-space-before)
657
+ */
631
658
  "@stylistic/selector-attribute-operator-space-before": SelectorAttributeOperatorSpaceBeforeOptions;
632
659
  /**
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
- */
660
+ * Require a single space or disallow whitespace after the combinators of selectors.
661
+ *
662
+ * @see [selector-combinator-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-combinator-space-after)
663
+ */
637
664
  "@stylistic/selector-combinator-space-after": SelectorCombinatorSpaceAfterOptions;
638
665
  /**
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
- */
666
+ * Require a single space or disallow whitespace before the combinators of selectors.
667
+ *
668
+ * @see [selector-combinator-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-combinator-space-before)
669
+ */
643
670
  "@stylistic/selector-combinator-space-before": SelectorCombinatorSpaceBeforeOptions;
644
671
  /**
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
- */
672
+ * Disallow non-space characters for descendant combinators of selectors.
673
+ *
674
+ * @see [selector-descendant-combinator-no-non-space](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-descendant-combinator-no-non-space)
675
+ */
649
676
  "@stylistic/selector-descendant-combinator-no-non-space": SelectorDescendantCombinatorNoNonSpaceOptions;
650
677
  /**
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
- */
678
+ * Require a newline or disallow whitespace after the commas of selector lists.
679
+ *
680
+ * @see [selector-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-newline-after)
681
+ */
655
682
  "@stylistic/selector-list-comma-newline-after": SelectorListCommaNewlineAfterOptions;
656
683
  /**
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
- */
684
+ * Require a newline or disallow whitespace before the commas of selector lists.
685
+ *
686
+ * @see [selector-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-newline-before)
687
+ */
661
688
  "@stylistic/selector-list-comma-newline-before": SelectorListCommaNewlineBeforeOptions;
662
689
  /**
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
- */
690
+ * Require a single space or disallow whitespace after the commas of selector lists.
691
+ *
692
+ * @see [selector-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-space-after)
693
+ */
667
694
  "@stylistic/selector-list-comma-space-after": SelectorListCommaSpaceAfterOptions;
668
695
  /**
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
- */
696
+ * Require a single space or disallow whitespace before the commas of selector lists.
697
+ *
698
+ * @see [selector-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-list-comma-space-before)
699
+ */
673
700
  "@stylistic/selector-list-comma-space-before": SelectorListCommaSpaceBeforeOptions;
674
701
  /**
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
- */
702
+ * Limit the number of adjacent empty lines within selectors.
703
+ *
704
+ * @see [selector-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-max-empty-lines)
705
+ */
679
706
  "@stylistic/selector-max-empty-lines": SelectorMaxEmptyLinesOptions;
680
707
  /**
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
- */
708
+ * Specify lowercase or uppercase for pseudo-class selectors.
709
+ *
710
+ * @see [selector-pseudo-class-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-class-case)
711
+ */
685
712
  "@stylistic/selector-pseudo-class-case": SelectorPseudoClassCaseOptions;
686
713
  /**
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
- */
714
+ * Specify lowercase or uppercase for pseudo-element selectors.
715
+ *
716
+ * @see [selector-pseudo-element-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-element-case)
717
+ */
691
718
  "@stylistic/selector-pseudo-element-case": SelectorPseudoElementCaseOptions;
692
719
  /**
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
- */
720
+ * Require a single space or disallow whitespace on the inside of the parentheses within pseudo-class selectors.
721
+ *
722
+ * @see [selector-pseudo-class-parentheses-space-inside](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/selector-pseudo-class-parentheses-space-inside)
723
+ */
697
724
  "@stylistic/selector-pseudo-class-parentheses-space-inside": SelectorPseudoClassParenthesesSpaceInsideOptions;
698
725
  /**
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
- */
726
+ * Specify single or double quotes around strings.
727
+ *
728
+ * @see [string-quotes](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/string-quotes)
729
+ */
703
730
  "@stylistic/string-quotes": StringQuotesOptions;
704
731
  /**
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
- */
732
+ * Require or disallow the Unicode Byte Order Mark.
733
+ *
734
+ * @see [unicode-bom](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unicode-bom)
735
+ */
709
736
  "@stylistic/unicode-bom": UnicodeBomOptions;
710
737
  /**
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
- */
738
+ * Specify lowercase or uppercase for units.
739
+ *
740
+ * @see [unit-case](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/unit-case)
741
+ */
715
742
  "@stylistic/unit-case": UnitCaseOptions;
716
743
  /**
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
- */
744
+ * Require a newline or disallow whitespace after the commas of value lists.
745
+ *
746
+ * @see [value-list-comma-newline-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-newline-after)
747
+ */
721
748
  "@stylistic/value-list-comma-newline-after": ValueListCommaNewlineAfterOptions;
722
749
  /**
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
- */
750
+ * Require a newline or disallow whitespace before the commas of value lists.
751
+ *
752
+ * @see [value-list-comma-newline-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-newline-before)
753
+ */
727
754
  "@stylistic/value-list-comma-newline-before": ValueListCommaNewlineBeforeOptions;
728
755
  /**
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
- */
756
+ * Require a single space or disallow whitespace after the commas of value lists.
757
+ *
758
+ * @see [value-list-comma-space-after](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-space-after)
759
+ */
733
760
  "@stylistic/value-list-comma-space-after": ValueListCommaSpaceAfterOptions;
734
761
  /**
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
- */
762
+ * Require a single space or disallow whitespace before the commas of value lists.
763
+ *
764
+ * @see [value-list-comma-space-before](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-comma-space-before)
765
+ */
739
766
  "@stylistic/value-list-comma-space-before": ValueListCommaSpaceBeforeOptions;
740
767
  /**
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
- */
768
+ * Limit the number of adjacent empty lines within value lists.
769
+ *
770
+ * @see [value-list-max-empty-lines](https://github.com/stylelint-stylistic/stylelint-stylistic/tree/main/lib/rules/value-list-max-empty-lines)
771
+ */
745
772
  "@stylistic/value-list-max-empty-lines": ValueListMaxEmptyLinesOptions;
746
773
  }
747
774
  //#endregion
@@ -750,4 +777,5 @@ declare module "stylelint-define-config" {
750
777
  interface CustomPlugins extends Plugins {}
751
778
  interface CustomExtends extends Extends {}
752
779
  interface CustomRuleOptions extends RuleOptions {}
753
- }
780
+ }
781
+ //#endregion
package/package.json CHANGED
@@ -1,28 +1,33 @@
1
1
  {
2
2
  "name": "@stylelint-types/stylelint-stylistic",
3
- "type": "module",
4
- "version": "5.1.0",
3
+ "version": "5.3.0",
5
4
  "description": "TypeScript definitions for stylelint-define-config",
6
- "author": "pengzhanbo <volodymyr@foxmail.com> (https://github.com/pengzhanbo)",
7
- "license": "MIT",
8
- "homepage": "https://github.com/stylelint-types/stylelint-stylistic#readme",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/stylelint-types/stylelint-stylistic.git"
12
- },
13
- "bugs": "https://github.com/stylelint-types/stylelint-stylistic/issues",
14
5
  "keywords": [
15
6
  "config",
16
- "scss",
17
7
  "configuration",
18
8
  "define-config",
19
- "stylelint-config",
9
+ "scss",
20
10
  "stylelint",
11
+ "stylelint-config",
21
12
  "stylelint-stylistic",
22
13
  "stylelintconfig",
23
14
  "typed",
24
15
  "typescript"
25
16
  ],
17
+ "homepage": "https://github.com/stylelint-types/stylelint-stylistic#readme",
18
+ "bugs": "https://github.com/stylelint-types/stylelint-stylistic/issues",
19
+ "license": "MIT",
20
+ "author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/stylelint-types/stylelint-stylistic.git"
24
+ },
25
+ "files": [
26
+ "lib"
27
+ ],
28
+ "type": "module",
29
+ "main": "lib/index.js",
30
+ "types": "lib/index.d.ts",
26
31
  "exports": {
27
32
  ".": {
28
33
  "types": "./lib/index.d.ts",
@@ -32,15 +37,23 @@
32
37
  "types": "./lib/types.d.ts"
33
38
  }
34
39
  },
35
- "main": "lib/index.js",
36
- "types": "lib/index.d.ts",
37
- "files": [
38
- "lib"
39
- ],
40
- "engines": {
41
- "node": ">=20.19.0",
42
- "npm": ">=9.0.0",
43
- "pnpm": ">=9.0.0"
40
+ "publishConfig": {
41
+ "access": "public",
42
+ "provenance": true
43
+ },
44
+ "devDependencies": {
45
+ "@pengzhanbo/oxc-config": "^2.9.2",
46
+ "@stylistic/stylelint-plugin": "^5.3.0",
47
+ "bumpp": "^12.3.0",
48
+ "conventional-changelog": "^8.1.3",
49
+ "conventional-changelog-angular": "^9.4.0",
50
+ "oxfmt": "^0.66.0",
51
+ "oxlint": "^1.81.0",
52
+ "oxlint-tsgolint": "^7.0.2001",
53
+ "stylelint": "^17.15.0",
54
+ "stylelint-define-config": "^17.14.0",
55
+ "tsdown": "^0.23.0",
56
+ "typescript": "^7.0.2"
44
57
  },
45
58
  "peerDependencies": {
46
59
  "stylelint": ">=17",
@@ -51,27 +64,17 @@
51
64
  "optional": true
52
65
  }
53
66
  },
54
- "devDependencies": {
55
- "@pengzhanbo/eslint-config": "^2.4.0",
56
- "@stylistic/stylelint-plugin": "^5.1.0",
57
- "bumpp": "^11.1.0",
58
- "conventional-changelog": "^7.2.0",
59
- "conventional-changelog-angular": "^8.3.1",
60
- "eslint": "^10.3.0",
61
- "stylelint": "^17.11.0",
62
- "stylelint-define-config": "^17.11.0",
63
- "tsdown": "^0.22.0",
64
- "typescript": "^6.0.3"
65
- },
66
- "publishConfig": {
67
- "access": "public",
68
- "provenance": true
67
+ "engines": {
68
+ "node": ">=20.19.0",
69
+ "npm": ">=9.0.0",
70
+ "pnpm": ">=9.0.0"
69
71
  },
70
72
  "scripts": {
71
- "lint": "eslint .",
73
+ "lint": "oxlint . --type-check --type-aware && oxfmt . --check",
74
+ "format": "oxlint . --type-check --type-aware --fix && oxfmt .",
72
75
  "build": "tsdown",
73
76
  "release:publish": "pnpm publish",
74
- "release:changelog": "conventional-changelog -p angular",
77
+ "release:changelog": "conventional-changelog -p angular && oxfmt ./CHANGELOG.md",
75
78
  "release": "bumpp package.json --execute=\"pnpm release:changelog\" --commit --all --push --tag"
76
79
  }
77
80
  }