@favorodera/eslint-config 3.0.0 → 3.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/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as SharedOptions, n as IgnoresPatterns, o as TypedFlatConfigItem, s as ConfigNames, t as BooleanSharedOptions } from "./types-
|
|
1
|
+
import { a as SharedOptions, n as IgnoresPatterns, o as TypedFlatConfigItem, s as ConfigNames, t as BooleanSharedOptions } from "./types-D-U1-CaX.mjs";
|
|
2
2
|
import { FlatConfigComposer } from "eslint-flat-config-utils";
|
|
3
3
|
import { Selectors } from "eslint-plugin-better-tailwindcss/types";
|
|
4
4
|
import { Options } from "eslint-processor-vue-blocks";
|
|
@@ -203,121 +203,271 @@ interface RuleOptions {
|
|
|
203
203
|
* @see https://github.com/eslint/css/blob/main/docs/rules/use-layers.md
|
|
204
204
|
*/
|
|
205
205
|
'css/use-layers'?: Linter.RuleEntry<CssUseLayers>;
|
|
206
|
+
/**
|
|
207
|
+
* Enforce consistent ordering of compound selector components.
|
|
208
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/consistent-compound-selector-order.md
|
|
209
|
+
*/
|
|
210
|
+
'cssicorn/consistent-compound-selector-order'?: Linter.RuleEntry<[]>;
|
|
211
|
+
/**
|
|
212
|
+
* Enforce consistent ordering of cascade layer statements.
|
|
213
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/consistent-layer-order.md
|
|
214
|
+
*/
|
|
215
|
+
'cssicorn/consistent-layer-order'?: Linter.RuleEntry<CssicornConsistentLayerOrder>;
|
|
216
|
+
/**
|
|
217
|
+
* Enforce consistent ordering of CSS properties.
|
|
218
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/consistent-property-order.md
|
|
219
|
+
*/
|
|
220
|
+
'cssicorn/consistent-property-order'?: Linter.RuleEntry<CssicornConsistentPropertyOrder>;
|
|
221
|
+
/**
|
|
222
|
+
* Enforce consistent ordering of CSS value components.
|
|
223
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/consistent-value-order.md
|
|
224
|
+
*/
|
|
225
|
+
'cssicorn/consistent-value-order'?: Linter.RuleEntry<[]>;
|
|
206
226
|
/**
|
|
207
227
|
* Enforce lowercase CSS syntax.
|
|
208
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
228
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/lowercase.md
|
|
209
229
|
*/
|
|
210
230
|
'cssicorn/lowercase'?: Linter.RuleEntry<[]>;
|
|
231
|
+
/**
|
|
232
|
+
* Disallow CSS values that browsers silently clamp.
|
|
233
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-clamped-values.md
|
|
234
|
+
*/
|
|
235
|
+
'cssicorn/no-clamped-values'?: Linter.RuleEntry<[]>;
|
|
211
236
|
/**
|
|
212
237
|
* Disallow declarations after nested rules.
|
|
213
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
238
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-declarations-after-nested-rules.md
|
|
214
239
|
*/
|
|
215
240
|
'cssicorn/no-declarations-after-nested-rules'?: Linter.RuleEntry<[]>;
|
|
216
241
|
/**
|
|
217
242
|
* Disallow deprecated CSS features.
|
|
218
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
243
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-deprecated-features.md
|
|
219
244
|
*/
|
|
220
245
|
'cssicorn/no-deprecated-features'?: Linter.RuleEntry<CssicornNoDeprecatedFeatures>;
|
|
221
246
|
/**
|
|
222
247
|
* Disallow lower-specificity selectors from following higher-specificity selectors that set the same property.
|
|
223
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
248
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-descending-specificity.md
|
|
224
249
|
*/
|
|
225
250
|
'cssicorn/no-descending-specificity'?: Linter.RuleEntry<[]>;
|
|
251
|
+
/**
|
|
252
|
+
* Disallow `touch-action` values that disable browser pinch zoom.
|
|
253
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-disabled-pinch-zoom.md
|
|
254
|
+
*/
|
|
255
|
+
'cssicorn/no-disabled-pinch-zoom'?: Linter.RuleEntry<[]>;
|
|
256
|
+
/**
|
|
257
|
+
* Disallow duplicate named at-rule definitions.
|
|
258
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-duplicate-at-rule-definitions.md
|
|
259
|
+
*/
|
|
260
|
+
'cssicorn/no-duplicate-at-rule-definitions'?: Linter.RuleEntry<[]>;
|
|
226
261
|
/**
|
|
227
262
|
* Disallow duplicate font family names.
|
|
228
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
263
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-duplicate-font-family-names.md
|
|
229
264
|
*/
|
|
230
265
|
'cssicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>;
|
|
231
266
|
/**
|
|
232
267
|
* Disallow duplicate properties within CSS declaration blocks.
|
|
233
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
268
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-duplicate-properties.md
|
|
234
269
|
*/
|
|
235
270
|
'cssicorn/no-duplicate-properties'?: Linter.RuleEntry<[]>;
|
|
236
271
|
/**
|
|
237
272
|
* Disallow duplicate CSS selectors.
|
|
238
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
273
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-duplicate-selectors.md
|
|
239
274
|
*/
|
|
240
275
|
'cssicorn/no-duplicate-selectors'?: Linter.RuleEntry<[]>;
|
|
241
276
|
/**
|
|
242
|
-
* Disallow
|
|
243
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
277
|
+
* Disallow ineffective declarations in keyframes.
|
|
278
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-ineffective-keyframe-declarations.md
|
|
279
|
+
*/
|
|
280
|
+
'cssicorn/no-ineffective-keyframe-declarations'?: Linter.RuleEntry<[]>;
|
|
281
|
+
/**
|
|
282
|
+
* Disallow state and conditional overrides blocked by cascade priority.
|
|
283
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-ineffective-overrides.md
|
|
284
|
+
*/
|
|
285
|
+
'cssicorn/no-ineffective-overrides'?: Linter.RuleEntry<[]>;
|
|
286
|
+
/**
|
|
287
|
+
* Disallow properties that have no effect given other declarations or shorthand defaults.
|
|
288
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-ineffective-properties.md
|
|
289
|
+
*/
|
|
290
|
+
'cssicorn/no-ineffective-properties'?: Linter.RuleEntry<[]>;
|
|
291
|
+
/**
|
|
292
|
+
* Disallow properties that cannot affect their selected targets.
|
|
293
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-ineffective-selector-properties.md
|
|
294
|
+
*/
|
|
295
|
+
'cssicorn/no-ineffective-selector-properties'?: Linter.RuleEntry<[]>;
|
|
296
|
+
/**
|
|
297
|
+
* Disallow supports conditions that do not test their value functions.
|
|
298
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-ineffective-supports-conditions.md
|
|
299
|
+
*/
|
|
300
|
+
'cssicorn/no-ineffective-supports-conditions'?: Linter.RuleEntry<[]>;
|
|
301
|
+
/**
|
|
302
|
+
* Disallow transition targets that cannot transition under the declared behavior.
|
|
303
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-ineffective-transitions.md
|
|
304
|
+
*/
|
|
305
|
+
'cssicorn/no-ineffective-transitions'?: Linter.RuleEntry<[]>;
|
|
306
|
+
/**
|
|
307
|
+
* Disallow unknown media features, invalid values, and invalid notation.
|
|
308
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-invalid-media-features.md
|
|
244
309
|
*/
|
|
245
310
|
'cssicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>;
|
|
246
311
|
/**
|
|
247
|
-
* Disallow
|
|
248
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
312
|
+
* Disallow invalid property references in transitions and will-change.
|
|
313
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-invalid-property-references.md
|
|
314
|
+
*/
|
|
315
|
+
'cssicorn/no-invalid-property-references'?: Linter.RuleEntry<[]>;
|
|
316
|
+
/**
|
|
317
|
+
* Disallow animating properties that can affect layout.
|
|
318
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-layout-animations.md
|
|
319
|
+
*/
|
|
320
|
+
'cssicorn/no-layout-animations'?: Linter.RuleEntry<[]>;
|
|
321
|
+
/**
|
|
322
|
+
* Disallow mixed specificity in nesting parents and selector-list pseudo-classes.
|
|
323
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-nesting-with-mixed-specificity.md
|
|
249
324
|
*/
|
|
250
325
|
'cssicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>;
|
|
326
|
+
/**
|
|
327
|
+
* Disallow overflow values that are coerced by the other axis.
|
|
328
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-overflow-axis-coercion.md
|
|
329
|
+
*/
|
|
330
|
+
'cssicorn/no-overflow-axis-coercion'?: Linter.RuleEntry<[]>;
|
|
331
|
+
/**
|
|
332
|
+
* Disallow redundant function calls and arguments.
|
|
333
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-redundant-functions.md
|
|
334
|
+
*/
|
|
335
|
+
'cssicorn/no-redundant-functions'?: Linter.RuleEntry<[]>;
|
|
251
336
|
/**
|
|
252
337
|
* Disallow longhand properties that can be combined into a shorthand.
|
|
253
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
338
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-redundant-longhand-properties.md
|
|
254
339
|
*/
|
|
255
340
|
'cssicorn/no-redundant-longhand-properties'?: Linter.RuleEntry<CssicornNoRedundantLonghandProperties>;
|
|
256
341
|
/**
|
|
257
342
|
* Disallow nested style rules that do not modify the parent selector.
|
|
258
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
343
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-redundant-nested-style-rules.md
|
|
259
344
|
*/
|
|
260
345
|
'cssicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>;
|
|
346
|
+
/**
|
|
347
|
+
* Disallow redundant nesting selectors.
|
|
348
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-redundant-nesting-selector.md
|
|
349
|
+
*/
|
|
350
|
+
'cssicorn/no-redundant-nesting-selector'?: Linter.RuleEntry<[]>;
|
|
261
351
|
/**
|
|
262
352
|
* Disallow redundant values in CSS shorthand properties.
|
|
263
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
353
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-redundant-shorthand-values.md
|
|
264
354
|
*/
|
|
265
355
|
'cssicorn/no-redundant-shorthand-values'?: Linter.RuleEntry<[]>;
|
|
266
356
|
/**
|
|
267
|
-
* Disallow
|
|
268
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
357
|
+
* Disallow cyclic dependencies in CSS custom properties.
|
|
358
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-self-referencing-custom-properties.md
|
|
269
359
|
*/
|
|
270
360
|
'cssicorn/no-self-referencing-custom-properties'?: Linter.RuleEntry<[]>;
|
|
271
361
|
/**
|
|
272
362
|
* Disallow unknown animations.
|
|
273
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
363
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-unknown-animations.md
|
|
274
364
|
*/
|
|
275
365
|
'cssicorn/no-unknown-animations'?: Linter.RuleEntry<[]>;
|
|
276
366
|
/**
|
|
277
367
|
* Disallow unknown and noncanonical CSS annotations.
|
|
278
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
368
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-unknown-annotations.md
|
|
279
369
|
*/
|
|
280
370
|
'cssicorn/no-unknown-annotations'?: Linter.RuleEntry<[]>;
|
|
281
371
|
/**
|
|
282
372
|
* Disallow unknown pseudo-class and pseudo-element selectors.
|
|
283
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
373
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-unknown-pseudo-selectors.md
|
|
284
374
|
*/
|
|
285
375
|
'cssicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<CssicornNoUnknownPseudoSelectors>;
|
|
286
376
|
/**
|
|
287
377
|
* Disallow unscoped CSS nesting selectors.
|
|
288
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
378
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-unscoped-nesting-selector.md
|
|
289
379
|
*/
|
|
290
380
|
'cssicorn/no-unscoped-nesting-selector'?: Linter.RuleEntry<CssicornNoUnscopedNestingSelector>;
|
|
381
|
+
/**
|
|
382
|
+
* Disallow unnecessary `:is()` wrappers.
|
|
383
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-useless-is.md
|
|
384
|
+
*/
|
|
385
|
+
'cssicorn/no-useless-is'?: Linter.RuleEntry<[]>;
|
|
291
386
|
/**
|
|
292
387
|
* Disallow units on zero CSS lengths.
|
|
293
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
388
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/no-zero-length-unit.md
|
|
294
389
|
*/
|
|
295
390
|
'cssicorn/no-zero-length-unit'?: Linter.RuleEntry<[]>;
|
|
391
|
+
/**
|
|
392
|
+
* Prefer `aspect-ratio` over zero-height percentage-padding workarounds.
|
|
393
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-aspect-ratio.md
|
|
394
|
+
*/
|
|
395
|
+
'cssicorn/prefer-aspect-ratio'?: Linter.RuleEntry<[]>;
|
|
396
|
+
/**
|
|
397
|
+
* Prefer `clamp()` over nested `min()` and `max()`.
|
|
398
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-clamp.md
|
|
399
|
+
*/
|
|
400
|
+
'cssicorn/prefer-clamp'?: Linter.RuleEntry<[]>;
|
|
401
|
+
/**
|
|
402
|
+
* Prefer currentcolor over repeating the foreground color.
|
|
403
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-current-color.md
|
|
404
|
+
*/
|
|
405
|
+
'cssicorn/prefer-current-color'?: Linter.RuleEntry<[]>;
|
|
406
|
+
/**
|
|
407
|
+
* Prefer existing custom properties over matching literal values.
|
|
408
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-existing-custom-properties.md
|
|
409
|
+
*/
|
|
410
|
+
'cssicorn/prefer-existing-custom-properties'?: Linter.RuleEntry<CssicornPreferExistingCustomProperties>;
|
|
296
411
|
/**
|
|
297
412
|
* Prefer explicit viewport units.
|
|
298
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
413
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-explicit-viewport-units.md
|
|
299
414
|
*/
|
|
300
415
|
'cssicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<CssicornPreferExplicitViewportUnits>;
|
|
416
|
+
/**
|
|
417
|
+
* Prefer individual transform properties over transform functions.
|
|
418
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-individual-transform-properties.md
|
|
419
|
+
*/
|
|
420
|
+
'cssicorn/prefer-individual-transform-properties'?: Linter.RuleEntry<[]>;
|
|
421
|
+
/**
|
|
422
|
+
* Prefer `light-dark()` over paired light and dark color declarations.
|
|
423
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-light-dark.md
|
|
424
|
+
*/
|
|
425
|
+
'cssicorn/prefer-light-dark'?: Linter.RuleEntry<[]>;
|
|
301
426
|
/**
|
|
302
427
|
* Prefer modern media feature range syntax.
|
|
303
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
428
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-media-feature-range-syntax.md
|
|
304
429
|
*/
|
|
305
430
|
'cssicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>;
|
|
431
|
+
/**
|
|
432
|
+
* Prefer merging adjacent rules with identical declarations or conditions.
|
|
433
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-merged-rules.md
|
|
434
|
+
*/
|
|
435
|
+
'cssicorn/prefer-merged-rules'?: Linter.RuleEntry<[]>;
|
|
306
436
|
/**
|
|
307
437
|
* Prefer modern CSS color and pseudo-element syntax.
|
|
308
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
438
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-modern-syntax.md
|
|
309
439
|
*/
|
|
310
440
|
'cssicorn/prefer-modern-syntax'?: Linter.RuleEntry<[]>;
|
|
441
|
+
/**
|
|
442
|
+
* Prefer CSS nesting for related rules and selector groups.
|
|
443
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-nesting.md
|
|
444
|
+
*/
|
|
445
|
+
'cssicorn/prefer-nesting'?: Linter.RuleEntry<[]>;
|
|
446
|
+
/**
|
|
447
|
+
* Prefer relative colors for alpha variants of existing color custom properties.
|
|
448
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-relative-colors.md
|
|
449
|
+
*/
|
|
450
|
+
'cssicorn/prefer-relative-colors'?: Linter.RuleEntry<[]>;
|
|
311
451
|
/**
|
|
312
452
|
* Prefer short hexadecimal color notation.
|
|
313
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
453
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/prefer-short-hex-color.md
|
|
314
454
|
*/
|
|
315
455
|
'cssicorn/prefer-short-hex-color'?: Linter.RuleEntry<[]>;
|
|
456
|
+
/**
|
|
457
|
+
* Require motion effects inside `prefers-reduced-motion: no-preference` media queries.
|
|
458
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/require-prefers-reduced-motion.md
|
|
459
|
+
*/
|
|
460
|
+
'cssicorn/require-prefers-reduced-motion'?: Linter.RuleEntry<[]>;
|
|
316
461
|
/**
|
|
317
462
|
* Require descriptors in CSS `@property` rules.
|
|
318
|
-
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.
|
|
463
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/require-property-descriptors.md
|
|
319
464
|
*/
|
|
320
465
|
'cssicorn/require-property-descriptors'?: Linter.RuleEntry<[]>;
|
|
466
|
+
/**
|
|
467
|
+
* Require a positive scoping boundary for every selector.
|
|
468
|
+
* @see https://github.com/sindresorhus/eslint-cssicorn/blob/v0.2.0/docs/rules/require-selector-scope.md
|
|
469
|
+
*/
|
|
470
|
+
'cssicorn/require-selector-scope'?: Linter.RuleEntry<[]>;
|
|
321
471
|
/**
|
|
322
472
|
* Enforce consistent brace style for all control statements
|
|
323
473
|
* @see https://eslint.org/docs/latest/rules/curly
|
|
@@ -8799,6 +8949,14 @@ type CssUseLayers = [] | [{
|
|
|
8799
8949
|
requireImportLayers?: boolean;
|
|
8800
8950
|
layerNamePattern?: string;
|
|
8801
8951
|
}];
|
|
8952
|
+
// ----- cssicorn/consistent-layer-order -----
|
|
8953
|
+
type CssicornConsistentLayerOrder = [] | [{
|
|
8954
|
+
checkUndeclaredLayers?: boolean;
|
|
8955
|
+
}];
|
|
8956
|
+
// ----- cssicorn/consistent-property-order -----
|
|
8957
|
+
type CssicornConsistentPropertyOrder = [] | [{
|
|
8958
|
+
order?: (("concentric-css" | "alphabetical") | [string, ...(string)[]]);
|
|
8959
|
+
}];
|
|
8802
8960
|
// ----- cssicorn/no-deprecated-features -----
|
|
8803
8961
|
type CssicornNoDeprecatedFeatures = [] | [{
|
|
8804
8962
|
allow?: string[];
|
|
@@ -8815,6 +8973,12 @@ type CssicornNoUnknownPseudoSelectors = [] | [{
|
|
|
8815
8973
|
type CssicornNoUnscopedNestingSelector = [] | [{
|
|
8816
8974
|
scopingRootAtRules?: string[];
|
|
8817
8975
|
}];
|
|
8976
|
+
// ----- cssicorn/prefer-existing-custom-properties -----
|
|
8977
|
+
type CssicornPreferExistingCustomProperties = [] | [{
|
|
8978
|
+
customProperties?: {
|
|
8979
|
+
[k: string]: string | undefined;
|
|
8980
|
+
};
|
|
8981
|
+
}];
|
|
8818
8982
|
// ----- cssicorn/prefer-explicit-viewport-units -----
|
|
8819
8983
|
type CssicornPreferExplicitViewportUnits = [] | [{
|
|
8820
8984
|
unit?: ("dvh" | "svh" | "lvh");
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SharedOptions, i as Rules, n as IgnoresPatterns, o as TypedFlatConfigItem, r as PromisedTypedConfigFlatItemArray, t as BooleanSharedOptions } from "./types-
|
|
1
|
+
import { a as SharedOptions, i as Rules, n as IgnoresPatterns, o as TypedFlatConfigItem, r as PromisedTypedConfigFlatItemArray, t as BooleanSharedOptions } from "./types-D-U1-CaX.mjs";
|
|
2
2
|
export { BooleanSharedOptions, IgnoresPatterns, PromisedTypedConfigFlatItemArray, Rules, SharedOptions, TypedFlatConfigItem };
|
package/dist/utils.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@favorodera/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "An opinionated,type-safe ESLint flat configuration for JavaScript and TypeScript projects.",
|
|
7
7
|
"author": "Favour Emeka <favorodera@gmail.com>",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
50
50
|
"@vitest/eslint-plugin": "^1.6.28",
|
|
51
51
|
"defu": "^6.1.7",
|
|
52
|
-
"eslint-cssicorn": "^0.
|
|
52
|
+
"eslint-cssicorn": "^0.2.0",
|
|
53
53
|
"eslint-flat-config-utils": "^3.2.0",
|
|
54
54
|
"eslint-merge-processors": "^2.0.0",
|
|
55
55
|
"eslint-plugin-better-tailwindcss": "^4.10.0",
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"@ai-sdk/google": "^4.0.104",
|
|
76
76
|
"@eslint/config-inspector": "^3.5.0",
|
|
77
77
|
"@types/node": "^26.6.5",
|
|
78
|
-
"@vitest/ui": "5.0.
|
|
78
|
+
"@vitest/ui": "5.0.5",
|
|
79
79
|
"ai": "^7.0.151",
|
|
80
80
|
"concurrently": "^10.0.6",
|
|
81
81
|
"eslint": "^10.13.0",
|
|
82
82
|
"eslint-typegen": "^2.3.1",
|
|
83
|
-
"pkg-pr-new": "^0.0.
|
|
83
|
+
"pkg-pr-new": "^0.0.91",
|
|
84
84
|
"relizy": "^1.11.0",
|
|
85
85
|
"tsdown": "^0.23.2",
|
|
86
86
|
"tsx": "^4.23.15",
|