eslint-plugin-better-tailwindcss 4.6.0 → 4.6.1

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 (69) hide show
  1. package/lib/configs/config.d.ts +30 -2862
  2. package/lib/configs/config.d.ts.map +1 -1
  3. package/lib/configs/config.js +1 -0
  4. package/lib/configs/config.js.map +1 -1
  5. package/lib/options/descriptions.d.ts +201 -201
  6. package/lib/options/schemas/attributes.d.ts +34 -34
  7. package/lib/options/schemas/attributes.d.ts.map +1 -1
  8. package/lib/options/schemas/callees.d.ts +34 -34
  9. package/lib/options/schemas/callees.d.ts.map +1 -1
  10. package/lib/options/schemas/common.d.ts +14 -14
  11. package/lib/options/schemas/matchers.d.ts +8 -8
  12. package/lib/options/schemas/selectors.d.ts +447 -447
  13. package/lib/options/schemas/tags.d.ts +34 -34
  14. package/lib/options/schemas/tags.d.ts.map +1 -1
  15. package/lib/options/schemas/variables.d.ts +34 -34
  16. package/lib/options/schemas/variables.d.ts.map +1 -1
  17. package/lib/parsers/es.js.map +1 -1
  18. package/lib/rules/enforce-canonical-classes.d.ts +2 -205
  19. package/lib/rules/enforce-canonical-classes.d.ts.map +1 -1
  20. package/lib/rules/enforce-canonical-classes.js +1 -1
  21. package/lib/rules/enforce-consistent-class-order.d.ts +3 -208
  22. package/lib/rules/enforce-consistent-class-order.d.ts.map +1 -1
  23. package/lib/rules/enforce-consistent-important-position.d.ts +2 -203
  24. package/lib/rules/enforce-consistent-important-position.d.ts.map +1 -1
  25. package/lib/rules/enforce-consistent-line-wrapping.d.ts +3 -211
  26. package/lib/rules/enforce-consistent-line-wrapping.d.ts.map +1 -1
  27. package/lib/rules/enforce-consistent-variable-syntax.d.ts +2 -203
  28. package/lib/rules/enforce-consistent-variable-syntax.d.ts.map +1 -1
  29. package/lib/rules/enforce-consistent-variable-syntax.js +1 -1
  30. package/lib/rules/enforce-consistent-variant-order.d.ts +2 -203
  31. package/lib/rules/enforce-consistent-variant-order.d.ts.map +1 -1
  32. package/lib/rules/enforce-logical-properties.d.ts +2 -203
  33. package/lib/rules/enforce-logical-properties.d.ts.map +1 -1
  34. package/lib/rules/enforce-logical-properties.js +1 -1
  35. package/lib/rules/enforce-shorthand-classes.d.ts +2 -203
  36. package/lib/rules/enforce-shorthand-classes.d.ts.map +1 -1
  37. package/lib/rules/no-conflicting-classes.d.ts +2 -203
  38. package/lib/rules/no-conflicting-classes.d.ts.map +1 -1
  39. package/lib/rules/no-deprecated-classes.d.ts +2 -203
  40. package/lib/rules/no-deprecated-classes.d.ts.map +1 -1
  41. package/lib/rules/no-deprecated-classes.js.map +1 -1
  42. package/lib/rules/no-duplicate-classes.d.ts +2 -203
  43. package/lib/rules/no-duplicate-classes.d.ts.map +1 -1
  44. package/lib/rules/no-restricted-classes.d.ts +2 -207
  45. package/lib/rules/no-restricted-classes.d.ts.map +1 -1
  46. package/lib/rules/no-unknown-classes.d.ts +2 -203
  47. package/lib/rules/no-unknown-classes.d.ts.map +1 -1
  48. package/lib/rules/no-unknown-classes.js +1 -1
  49. package/lib/rules/no-unnecessary-whitespace.d.ts +2 -203
  50. package/lib/rules/no-unnecessary-whitespace.d.ts.map +1 -1
  51. package/lib/types/rule.d.ts +6 -6
  52. package/lib/types/rule.d.ts.map +1 -1
  53. package/lib/utils/matchers.d.ts.map +1 -1
  54. package/lib/utils/matchers.js +20 -13
  55. package/lib/utils/matchers.js.map +1 -1
  56. package/lib/utils/rule.d.ts +2 -8
  57. package/lib/utils/rule.d.ts.map +1 -1
  58. package/lib/utils/rule.js +1 -1
  59. package/lib/utils/rule.js.map +1 -1
  60. package/lib/utils/utils.js +1 -1
  61. package/package.json +39 -35
  62. package/lib/utils/project.d.ts +0 -4
  63. package/lib/utils/project.d.ts.map +0 -1
  64. package/lib/utils/project.js +0 -22
  65. package/lib/utils/project.js.map +0 -1
  66. package/lib/utils/regex.d.ts +0 -2
  67. package/lib/utils/regex.d.ts.map +0 -1
  68. package/lib/utils/regex.js +0 -24
  69. package/lib/utils/regex.js.map +0 -1
@@ -205,210 +205,7 @@ export declare const enforceCanonicalClasses: {
205
205
  };
206
206
  recommended: true;
207
207
  rule: {
208
- create: (ctx: import("node_modules/@eslint/core/dist/cjs/types.cjs").RuleContext<{
209
- LangOptions: import("eslint").Linter.LanguageOptions;
210
- Code: import("eslint").SourceCode;
211
- RuleOptions: [Required<{
212
- cwd?: string | undefined;
213
- rootFontSize?: number | undefined;
214
- detectComponentClasses: boolean;
215
- tsconfig?: string | undefined;
216
- tailwindConfig?: string | undefined;
217
- messageStyle: "visual" | "compact" | "raw";
218
- entryPoint?: string | undefined;
219
- tags?: (string | [string, ({
220
- match: import("../types/rule.js").MatcherType.String;
221
- } | {
222
- match: import("../types/rule.js").MatcherType.ObjectKey;
223
- pathPattern?: string | undefined;
224
- } | {
225
- match: import("../types/rule.js").MatcherType.ObjectValue;
226
- pathPattern?: string | undefined;
227
- })[]])[] | undefined;
228
- variables?: (string | [string, ({
229
- match: import("../types/rule.js").MatcherType.String;
230
- } | {
231
- match: import("../types/rule.js").MatcherType.ObjectKey;
232
- pathPattern?: string | undefined;
233
- } | {
234
- match: import("../types/rule.js").MatcherType.ObjectValue;
235
- pathPattern?: string | undefined;
236
- })[]])[] | undefined;
237
- attributes?: (string | [string, ({
238
- match: import("../types/rule.js").MatcherType.String;
239
- } | {
240
- match: import("../types/rule.js").MatcherType.ObjectKey;
241
- pathPattern?: string | undefined;
242
- } | {
243
- match: import("../types/rule.js").MatcherType.ObjectValue;
244
- pathPattern?: string | undefined;
245
- })[]])[] | undefined;
246
- callees?: (string | [string, ({
247
- match: import("../types/rule.js").MatcherType.String;
248
- } | {
249
- match: import("../types/rule.js").MatcherType.ObjectKey;
250
- pathPattern?: string | undefined;
251
- } | {
252
- match: import("../types/rule.js").MatcherType.ObjectValue;
253
- pathPattern?: string | undefined;
254
- })[]])[] | undefined;
255
- selectors: ({
256
- callTarget?: number | "all" | "first" | "last" | undefined;
257
- kind: import("../types/rule.js").SelectorKind.Callee;
258
- match?: ({
259
- type: import("../types/rule.js").MatcherType.String;
260
- } | {
261
- path?: string | undefined;
262
- type: import("../types/rule.js").MatcherType.ObjectKey;
263
- } | {
264
- path?: string | undefined;
265
- type: import("../types/rule.js").MatcherType.ObjectValue;
266
- } | {
267
- match: ({
268
- type: import("../types/rule.js").MatcherType.String;
269
- } | {
270
- path?: string | undefined;
271
- type: import("../types/rule.js").MatcherType.ObjectKey;
272
- } | {
273
- path?: string | undefined;
274
- type: import("../types/rule.js").MatcherType.ObjectValue;
275
- })[];
276
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
277
- })[] | undefined;
278
- name: string;
279
- path?: string | undefined;
280
- targetArgument?: number | "all" | "first" | "last" | undefined;
281
- targetCall?: number | "all" | "first" | "last" | undefined;
282
- } | {
283
- callTarget?: number | "all" | "first" | "last" | undefined;
284
- kind: import("../types/rule.js").SelectorKind.Callee;
285
- match?: ({
286
- type: import("../types/rule.js").MatcherType.String;
287
- } | {
288
- path?: string | undefined;
289
- type: import("../types/rule.js").MatcherType.ObjectKey;
290
- } | {
291
- path?: string | undefined;
292
- type: import("../types/rule.js").MatcherType.ObjectValue;
293
- } | {
294
- match: ({
295
- type: import("../types/rule.js").MatcherType.String;
296
- } | {
297
- path?: string | undefined;
298
- type: import("../types/rule.js").MatcherType.ObjectKey;
299
- } | {
300
- path?: string | undefined;
301
- type: import("../types/rule.js").MatcherType.ObjectValue;
302
- })[];
303
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
304
- })[] | undefined;
305
- name?: string | undefined;
306
- path: string;
307
- targetArgument?: number | "all" | "first" | "last" | undefined;
308
- targetCall?: number | "all" | "first" | "last" | undefined;
309
- } | {
310
- kind: import("../types/rule.js").SelectorKind.Tag;
311
- match?: ({
312
- type: import("../types/rule.js").MatcherType.String;
313
- } | {
314
- path?: string | undefined;
315
- type: import("../types/rule.js").MatcherType.ObjectKey;
316
- } | {
317
- path?: string | undefined;
318
- type: import("../types/rule.js").MatcherType.ObjectValue;
319
- } | {
320
- match: ({
321
- type: import("../types/rule.js").MatcherType.String;
322
- } | {
323
- path?: string | undefined;
324
- type: import("../types/rule.js").MatcherType.ObjectKey;
325
- } | {
326
- path?: string | undefined;
327
- type: import("../types/rule.js").MatcherType.ObjectValue;
328
- })[];
329
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
330
- })[] | undefined;
331
- name: string;
332
- path?: string | undefined;
333
- } | {
334
- kind: import("../types/rule.js").SelectorKind.Tag;
335
- match?: ({
336
- type: import("../types/rule.js").MatcherType.String;
337
- } | {
338
- path?: string | undefined;
339
- type: import("../types/rule.js").MatcherType.ObjectKey;
340
- } | {
341
- path?: string | undefined;
342
- type: import("../types/rule.js").MatcherType.ObjectValue;
343
- } | {
344
- match: ({
345
- type: import("../types/rule.js").MatcherType.String;
346
- } | {
347
- path?: string | undefined;
348
- type: import("../types/rule.js").MatcherType.ObjectKey;
349
- } | {
350
- path?: string | undefined;
351
- type: import("../types/rule.js").MatcherType.ObjectValue;
352
- })[];
353
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
354
- })[] | undefined;
355
- name?: string | undefined;
356
- path: string;
357
- } | {
358
- kind: import("../types/rule.js").SelectorKind.Attribute;
359
- match?: ({
360
- type: import("../types/rule.js").MatcherType.String;
361
- } | {
362
- path?: string | undefined;
363
- type: import("../types/rule.js").MatcherType.ObjectKey;
364
- } | {
365
- path?: string | undefined;
366
- type: import("../types/rule.js").MatcherType.ObjectValue;
367
- } | {
368
- match: ({
369
- type: import("../types/rule.js").MatcherType.String;
370
- } | {
371
- path?: string | undefined;
372
- type: import("../types/rule.js").MatcherType.ObjectKey;
373
- } | {
374
- path?: string | undefined;
375
- type: import("../types/rule.js").MatcherType.ObjectValue;
376
- })[];
377
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
378
- })[] | undefined;
379
- name: string;
380
- } | {
381
- kind: import("../types/rule.js").SelectorKind.Variable;
382
- match?: ({
383
- type: import("../types/rule.js").MatcherType.String;
384
- } | {
385
- path?: string | undefined;
386
- type: import("../types/rule.js").MatcherType.ObjectKey;
387
- } | {
388
- path?: string | undefined;
389
- type: import("../types/rule.js").MatcherType.ObjectValue;
390
- } | {
391
- match: ({
392
- type: import("../types/rule.js").MatcherType.String;
393
- } | {
394
- path?: string | undefined;
395
- type: import("../types/rule.js").MatcherType.ObjectKey;
396
- } | {
397
- path?: string | undefined;
398
- type: import("../types/rule.js").MatcherType.ObjectValue;
399
- })[];
400
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
401
- })[] | undefined;
402
- name: string;
403
- })[];
404
- } & {
405
- collapse: boolean;
406
- ignore: string[];
407
- logical: boolean;
408
- }>];
409
- Node: import("eslint").JSSyntaxElement;
410
- MessageIds: "multiple" | "single";
411
- }>) => import("eslint").Rule.RuleListener;
208
+ create: (ctx: import("node_modules/eslint/lib/types/index.js").Rule.RuleContext) => import("node_modules/eslint/lib/types/index.js").Rule.RuleListener;
412
209
  meta: {
413
210
  messages?: {
414
211
  readonly multiple: "The classes: \"{{ classNames }}\" can be simplified to \"{{canonicalClass}}\".";
@@ -422,7 +219,7 @@ export declare const enforceCanonicalClasses: {
422
219
  fixable: "code" | undefined;
423
220
  schema: {
424
221
  additionalProperties: false;
425
- properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
222
+ properties: Record<string, boolean | import("node_modules/@valibot/to-json-schema/dist/index.mjs").JsonSchema> | undefined;
426
223
  type: "object";
427
224
  }[];
428
225
  type: "problem" | "layout";
@@ -1 +1 @@
1
- {"version":3,"file":"enforce-canonical-classes.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-canonical-classes.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ClC,CAAC"}
1
+ {"version":3,"file":"enforce-canonical-classes.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-canonical-classes.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ClC,CAAC"}
@@ -2,7 +2,7 @@ import { array, boolean, description, optional, pipe, strictObject, string } fro
2
2
  import { createGetCanonicalClasses, getCanonicalClasses } from "../tailwindcss/canonical-classes.js";
3
3
  import { async } from "../utils/context.js";
4
4
  import { lintClasses } from "../utils/lint.js";
5
- import { getCachedRegex } from "../utils/regex.js";
5
+ import { getCachedRegex } from "../async-utils/regex.js";
6
6
  import { createRule } from "../utils/rule.js";
7
7
  import { deduplicateClasses, splitClasses } from "../utils/utils.js";
8
8
  export const enforceCanonicalClasses = createRule({
@@ -200,218 +200,13 @@ export declare const enforceConsistentClassOrder: {
200
200
  } & {
201
201
  componentClassOrder: "asc" | "desc" | "preserve";
202
202
  componentClassPosition: "start" | "end";
203
- order: "asc" | "desc" | "official" | "strict";
203
+ order: "strict" | "asc" | "desc" | "official";
204
204
  unknownClassOrder: "asc" | "desc" | "preserve";
205
205
  unknownClassPosition: "start" | "end";
206
206
  };
207
207
  recommended: true;
208
208
  rule: {
209
- create: (ctx: import("node_modules/@eslint/core/dist/cjs/types.cjs").RuleContext<{
210
- LangOptions: import("eslint").Linter.LanguageOptions;
211
- Code: import("eslint").SourceCode;
212
- RuleOptions: [Required<{
213
- cwd?: string | undefined;
214
- rootFontSize?: number | undefined;
215
- detectComponentClasses: boolean;
216
- tsconfig?: string | undefined;
217
- tailwindConfig?: string | undefined;
218
- messageStyle: "visual" | "compact" | "raw";
219
- entryPoint?: string | undefined;
220
- tags?: (string | [string, ({
221
- match: import("../types/rule.js").MatcherType.String;
222
- } | {
223
- match: import("../types/rule.js").MatcherType.ObjectKey;
224
- pathPattern?: string | undefined;
225
- } | {
226
- match: import("../types/rule.js").MatcherType.ObjectValue;
227
- pathPattern?: string | undefined;
228
- })[]])[] | undefined;
229
- variables?: (string | [string, ({
230
- match: import("../types/rule.js").MatcherType.String;
231
- } | {
232
- match: import("../types/rule.js").MatcherType.ObjectKey;
233
- pathPattern?: string | undefined;
234
- } | {
235
- match: import("../types/rule.js").MatcherType.ObjectValue;
236
- pathPattern?: string | undefined;
237
- })[]])[] | undefined;
238
- attributes?: (string | [string, ({
239
- match: import("../types/rule.js").MatcherType.String;
240
- } | {
241
- match: import("../types/rule.js").MatcherType.ObjectKey;
242
- pathPattern?: string | undefined;
243
- } | {
244
- match: import("../types/rule.js").MatcherType.ObjectValue;
245
- pathPattern?: string | undefined;
246
- })[]])[] | undefined;
247
- callees?: (string | [string, ({
248
- match: import("../types/rule.js").MatcherType.String;
249
- } | {
250
- match: import("../types/rule.js").MatcherType.ObjectKey;
251
- pathPattern?: string | undefined;
252
- } | {
253
- match: import("../types/rule.js").MatcherType.ObjectValue;
254
- pathPattern?: string | undefined;
255
- })[]])[] | undefined;
256
- selectors: ({
257
- callTarget?: number | "all" | "first" | "last" | undefined;
258
- kind: import("../types/rule.js").SelectorKind.Callee;
259
- match?: ({
260
- type: import("../types/rule.js").MatcherType.String;
261
- } | {
262
- path?: string | undefined;
263
- type: import("../types/rule.js").MatcherType.ObjectKey;
264
- } | {
265
- path?: string | undefined;
266
- type: import("../types/rule.js").MatcherType.ObjectValue;
267
- } | {
268
- match: ({
269
- type: import("../types/rule.js").MatcherType.String;
270
- } | {
271
- path?: string | undefined;
272
- type: import("../types/rule.js").MatcherType.ObjectKey;
273
- } | {
274
- path?: string | undefined;
275
- type: import("../types/rule.js").MatcherType.ObjectValue;
276
- })[];
277
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
278
- })[] | undefined;
279
- name: string;
280
- path?: string | undefined;
281
- targetArgument?: number | "all" | "first" | "last" | undefined;
282
- targetCall?: number | "all" | "first" | "last" | undefined;
283
- } | {
284
- callTarget?: number | "all" | "first" | "last" | undefined;
285
- kind: import("../types/rule.js").SelectorKind.Callee;
286
- match?: ({
287
- type: import("../types/rule.js").MatcherType.String;
288
- } | {
289
- path?: string | undefined;
290
- type: import("../types/rule.js").MatcherType.ObjectKey;
291
- } | {
292
- path?: string | undefined;
293
- type: import("../types/rule.js").MatcherType.ObjectValue;
294
- } | {
295
- match: ({
296
- type: import("../types/rule.js").MatcherType.String;
297
- } | {
298
- path?: string | undefined;
299
- type: import("../types/rule.js").MatcherType.ObjectKey;
300
- } | {
301
- path?: string | undefined;
302
- type: import("../types/rule.js").MatcherType.ObjectValue;
303
- })[];
304
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
305
- })[] | undefined;
306
- name?: string | undefined;
307
- path: string;
308
- targetArgument?: number | "all" | "first" | "last" | undefined;
309
- targetCall?: number | "all" | "first" | "last" | undefined;
310
- } | {
311
- kind: import("../types/rule.js").SelectorKind.Tag;
312
- match?: ({
313
- type: import("../types/rule.js").MatcherType.String;
314
- } | {
315
- path?: string | undefined;
316
- type: import("../types/rule.js").MatcherType.ObjectKey;
317
- } | {
318
- path?: string | undefined;
319
- type: import("../types/rule.js").MatcherType.ObjectValue;
320
- } | {
321
- match: ({
322
- type: import("../types/rule.js").MatcherType.String;
323
- } | {
324
- path?: string | undefined;
325
- type: import("../types/rule.js").MatcherType.ObjectKey;
326
- } | {
327
- path?: string | undefined;
328
- type: import("../types/rule.js").MatcherType.ObjectValue;
329
- })[];
330
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
331
- })[] | undefined;
332
- name: string;
333
- path?: string | undefined;
334
- } | {
335
- kind: import("../types/rule.js").SelectorKind.Tag;
336
- match?: ({
337
- type: import("../types/rule.js").MatcherType.String;
338
- } | {
339
- path?: string | undefined;
340
- type: import("../types/rule.js").MatcherType.ObjectKey;
341
- } | {
342
- path?: string | undefined;
343
- type: import("../types/rule.js").MatcherType.ObjectValue;
344
- } | {
345
- match: ({
346
- type: import("../types/rule.js").MatcherType.String;
347
- } | {
348
- path?: string | undefined;
349
- type: import("../types/rule.js").MatcherType.ObjectKey;
350
- } | {
351
- path?: string | undefined;
352
- type: import("../types/rule.js").MatcherType.ObjectValue;
353
- })[];
354
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
355
- })[] | undefined;
356
- name?: string | undefined;
357
- path: string;
358
- } | {
359
- kind: import("../types/rule.js").SelectorKind.Attribute;
360
- match?: ({
361
- type: import("../types/rule.js").MatcherType.String;
362
- } | {
363
- path?: string | undefined;
364
- type: import("../types/rule.js").MatcherType.ObjectKey;
365
- } | {
366
- path?: string | undefined;
367
- type: import("../types/rule.js").MatcherType.ObjectValue;
368
- } | {
369
- match: ({
370
- type: import("../types/rule.js").MatcherType.String;
371
- } | {
372
- path?: string | undefined;
373
- type: import("../types/rule.js").MatcherType.ObjectKey;
374
- } | {
375
- path?: string | undefined;
376
- type: import("../types/rule.js").MatcherType.ObjectValue;
377
- })[];
378
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
379
- })[] | undefined;
380
- name: string;
381
- } | {
382
- kind: import("../types/rule.js").SelectorKind.Variable;
383
- match?: ({
384
- type: import("../types/rule.js").MatcherType.String;
385
- } | {
386
- path?: string | undefined;
387
- type: import("../types/rule.js").MatcherType.ObjectKey;
388
- } | {
389
- path?: string | undefined;
390
- type: import("../types/rule.js").MatcherType.ObjectValue;
391
- } | {
392
- match: ({
393
- type: import("../types/rule.js").MatcherType.String;
394
- } | {
395
- path?: string | undefined;
396
- type: import("../types/rule.js").MatcherType.ObjectKey;
397
- } | {
398
- path?: string | undefined;
399
- type: import("../types/rule.js").MatcherType.ObjectValue;
400
- })[];
401
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
402
- })[] | undefined;
403
- name: string;
404
- })[];
405
- } & {
406
- componentClassOrder: "asc" | "desc" | "preserve";
407
- componentClassPosition: "start" | "end";
408
- order: "asc" | "desc" | "official" | "strict";
409
- unknownClassOrder: "asc" | "desc" | "preserve";
410
- unknownClassPosition: "start" | "end";
411
- }>];
412
- Node: import("eslint").JSSyntaxElement;
413
- MessageIds: "order";
414
- }>) => import("eslint").Rule.RuleListener;
209
+ create: (ctx: import("node_modules/eslint/lib/types/index.js").Rule.RuleContext) => import("node_modules/eslint/lib/types/index.js").Rule.RuleListener;
415
210
  meta: {
416
211
  messages?: {
417
212
  readonly order: "Incorrect class order. Expected\n\n{{ notSorted }}\n\nto be\n\n{{ sorted }}";
@@ -424,7 +219,7 @@ export declare const enforceConsistentClassOrder: {
424
219
  fixable: "code" | undefined;
425
220
  schema: {
426
221
  additionalProperties: false;
427
- properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
222
+ properties: Record<string, boolean | import("node_modules/@valibot/to-json-schema/dist/index.mjs").JsonSchema> | undefined;
428
223
  type: "object";
429
224
  }[];
430
225
  type: "problem" | "layout";
@@ -1 +1 @@
1
- {"version":3,"file":"enforce-consistent-class-order.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-consistent-class-order.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoJtC,CAAC"}
1
+ {"version":3,"file":"enforce-consistent-class-order.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-consistent-class-order.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoJtC,CAAC"}