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
@@ -203,208 +203,7 @@ export declare const enforceLogicalProperties: {
203
203
  };
204
204
  recommended: false;
205
205
  rule: {
206
- create: (ctx: import("node_modules/@eslint/core/dist/cjs/types.cjs").RuleContext<{
207
- LangOptions: import("eslint").Linter.LanguageOptions;
208
- Code: import("eslint").SourceCode;
209
- RuleOptions: [Required<{
210
- cwd?: string | undefined;
211
- rootFontSize?: number | undefined;
212
- detectComponentClasses: boolean;
213
- tsconfig?: string | undefined;
214
- tailwindConfig?: string | undefined;
215
- messageStyle: "visual" | "compact" | "raw";
216
- entryPoint?: string | undefined;
217
- tags?: (string | [string, ({
218
- match: import("../types/rule.js").MatcherType.String;
219
- } | {
220
- match: import("../types/rule.js").MatcherType.ObjectKey;
221
- pathPattern?: string | undefined;
222
- } | {
223
- match: import("../types/rule.js").MatcherType.ObjectValue;
224
- pathPattern?: string | undefined;
225
- })[]])[] | undefined;
226
- variables?: (string | [string, ({
227
- match: import("../types/rule.js").MatcherType.String;
228
- } | {
229
- match: import("../types/rule.js").MatcherType.ObjectKey;
230
- pathPattern?: string | undefined;
231
- } | {
232
- match: import("../types/rule.js").MatcherType.ObjectValue;
233
- pathPattern?: string | undefined;
234
- })[]])[] | undefined;
235
- attributes?: (string | [string, ({
236
- match: import("../types/rule.js").MatcherType.String;
237
- } | {
238
- match: import("../types/rule.js").MatcherType.ObjectKey;
239
- pathPattern?: string | undefined;
240
- } | {
241
- match: import("../types/rule.js").MatcherType.ObjectValue;
242
- pathPattern?: string | undefined;
243
- })[]])[] | undefined;
244
- callees?: (string | [string, ({
245
- match: import("../types/rule.js").MatcherType.String;
246
- } | {
247
- match: import("../types/rule.js").MatcherType.ObjectKey;
248
- pathPattern?: string | undefined;
249
- } | {
250
- match: import("../types/rule.js").MatcherType.ObjectValue;
251
- pathPattern?: string | undefined;
252
- })[]])[] | undefined;
253
- selectors: ({
254
- callTarget?: number | "all" | "first" | "last" | undefined;
255
- kind: import("../types/rule.js").SelectorKind.Callee;
256
- match?: ({
257
- type: import("../types/rule.js").MatcherType.String;
258
- } | {
259
- path?: string | undefined;
260
- type: import("../types/rule.js").MatcherType.ObjectKey;
261
- } | {
262
- path?: string | undefined;
263
- type: import("../types/rule.js").MatcherType.ObjectValue;
264
- } | {
265
- match: ({
266
- type: import("../types/rule.js").MatcherType.String;
267
- } | {
268
- path?: string | undefined;
269
- type: import("../types/rule.js").MatcherType.ObjectKey;
270
- } | {
271
- path?: string | undefined;
272
- type: import("../types/rule.js").MatcherType.ObjectValue;
273
- })[];
274
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
275
- })[] | undefined;
276
- name: string;
277
- path?: string | undefined;
278
- targetArgument?: number | "all" | "first" | "last" | undefined;
279
- targetCall?: number | "all" | "first" | "last" | undefined;
280
- } | {
281
- callTarget?: number | "all" | "first" | "last" | undefined;
282
- kind: import("../types/rule.js").SelectorKind.Callee;
283
- match?: ({
284
- type: import("../types/rule.js").MatcherType.String;
285
- } | {
286
- path?: string | undefined;
287
- type: import("../types/rule.js").MatcherType.ObjectKey;
288
- } | {
289
- path?: string | undefined;
290
- type: import("../types/rule.js").MatcherType.ObjectValue;
291
- } | {
292
- match: ({
293
- type: import("../types/rule.js").MatcherType.String;
294
- } | {
295
- path?: string | undefined;
296
- type: import("../types/rule.js").MatcherType.ObjectKey;
297
- } | {
298
- path?: string | undefined;
299
- type: import("../types/rule.js").MatcherType.ObjectValue;
300
- })[];
301
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
302
- })[] | undefined;
303
- name?: string | undefined;
304
- path: string;
305
- targetArgument?: number | "all" | "first" | "last" | undefined;
306
- targetCall?: number | "all" | "first" | "last" | undefined;
307
- } | {
308
- kind: import("../types/rule.js").SelectorKind.Tag;
309
- match?: ({
310
- type: import("../types/rule.js").MatcherType.String;
311
- } | {
312
- path?: string | undefined;
313
- type: import("../types/rule.js").MatcherType.ObjectKey;
314
- } | {
315
- path?: string | undefined;
316
- type: import("../types/rule.js").MatcherType.ObjectValue;
317
- } | {
318
- match: ({
319
- type: import("../types/rule.js").MatcherType.String;
320
- } | {
321
- path?: string | undefined;
322
- type: import("../types/rule.js").MatcherType.ObjectKey;
323
- } | {
324
- path?: string | undefined;
325
- type: import("../types/rule.js").MatcherType.ObjectValue;
326
- })[];
327
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
328
- })[] | undefined;
329
- name: string;
330
- path?: string | undefined;
331
- } | {
332
- kind: import("../types/rule.js").SelectorKind.Tag;
333
- match?: ({
334
- type: import("../types/rule.js").MatcherType.String;
335
- } | {
336
- path?: string | undefined;
337
- type: import("../types/rule.js").MatcherType.ObjectKey;
338
- } | {
339
- path?: string | undefined;
340
- type: import("../types/rule.js").MatcherType.ObjectValue;
341
- } | {
342
- match: ({
343
- type: import("../types/rule.js").MatcherType.String;
344
- } | {
345
- path?: string | undefined;
346
- type: import("../types/rule.js").MatcherType.ObjectKey;
347
- } | {
348
- path?: string | undefined;
349
- type: import("../types/rule.js").MatcherType.ObjectValue;
350
- })[];
351
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
352
- })[] | undefined;
353
- name?: string | undefined;
354
- path: string;
355
- } | {
356
- kind: import("../types/rule.js").SelectorKind.Attribute;
357
- match?: ({
358
- type: import("../types/rule.js").MatcherType.String;
359
- } | {
360
- path?: string | undefined;
361
- type: import("../types/rule.js").MatcherType.ObjectKey;
362
- } | {
363
- path?: string | undefined;
364
- type: import("../types/rule.js").MatcherType.ObjectValue;
365
- } | {
366
- match: ({
367
- type: import("../types/rule.js").MatcherType.String;
368
- } | {
369
- path?: string | undefined;
370
- type: import("../types/rule.js").MatcherType.ObjectKey;
371
- } | {
372
- path?: string | undefined;
373
- type: import("../types/rule.js").MatcherType.ObjectValue;
374
- })[];
375
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
376
- })[] | undefined;
377
- name: string;
378
- } | {
379
- kind: import("../types/rule.js").SelectorKind.Variable;
380
- match?: ({
381
- type: import("../types/rule.js").MatcherType.String;
382
- } | {
383
- path?: string | undefined;
384
- type: import("../types/rule.js").MatcherType.ObjectKey;
385
- } | {
386
- path?: string | undefined;
387
- type: import("../types/rule.js").MatcherType.ObjectValue;
388
- } | {
389
- match: ({
390
- type: import("../types/rule.js").MatcherType.String;
391
- } | {
392
- path?: string | undefined;
393
- type: import("../types/rule.js").MatcherType.ObjectKey;
394
- } | {
395
- path?: string | undefined;
396
- type: import("../types/rule.js").MatcherType.ObjectValue;
397
- })[];
398
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
399
- })[] | undefined;
400
- name: string;
401
- })[];
402
- } & {
403
- ignore: string[];
404
- }>];
405
- Node: import("eslint").JSSyntaxElement;
406
- MessageIds: "multiple" | "single";
407
- }>) => import("eslint").Rule.RuleListener;
206
+ create: (ctx: import("node_modules/eslint/lib/types/index.js").Rule.RuleContext) => import("node_modules/eslint/lib/types/index.js").Rule.RuleListener;
408
207
  meta: {
409
208
  messages?: {
410
209
  readonly multiple: "Physical class detected. Replace \"{{ className }}\" with logical classes \"{{fix}}\".";
@@ -418,7 +217,7 @@ export declare const enforceLogicalProperties: {
418
217
  fixable: "code" | undefined;
419
218
  schema: {
420
219
  additionalProperties: false;
421
- properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
220
+ properties: Record<string, boolean | import("node_modules/@valibot/to-json-schema/dist/index.mjs").JsonSchema> | undefined;
422
221
  type: "object";
423
222
  }[];
424
223
  type: "problem" | "layout";
@@ -1 +1 @@
1
- {"version":3,"file":"enforce-logical-properties.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-logical-properties.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BnC,CAAC"}
1
+ {"version":3,"file":"enforce-logical-properties.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-logical-properties.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BnC,CAAC"}
@@ -4,7 +4,7 @@ import { createGetUnknownClasses, getUnknownClasses } from "../tailwindcss/unkno
4
4
  import { buildClass } from "../utils/class.js";
5
5
  import { async } from "../utils/context.js";
6
6
  import { lintClasses } from "../utils/lint.js";
7
- import { getCachedRegex } from "../utils/regex.js";
7
+ import { getCachedRegex } from "../async-utils/regex.js";
8
8
  import { createRule } from "../utils/rule.js";
9
9
  import { replacePlaceholders, splitClasses } from "../utils/utils.js";
10
10
  export const enforceLogicalProperties = createRule({
@@ -203,208 +203,7 @@ export declare const enforceShorthandClasses: {
203
203
  };
204
204
  recommended: false;
205
205
  rule: {
206
- create: (ctx: import("node_modules/@eslint/core/dist/cjs/types.cjs").RuleContext<{
207
- LangOptions: import("eslint").Linter.LanguageOptions;
208
- Code: import("eslint").SourceCode;
209
- RuleOptions: [Required<{
210
- cwd?: string | undefined;
211
- rootFontSize?: number | undefined;
212
- detectComponentClasses: boolean;
213
- tsconfig?: string | undefined;
214
- tailwindConfig?: string | undefined;
215
- messageStyle: "visual" | "compact" | "raw";
216
- entryPoint?: string | undefined;
217
- tags?: (string | [string, ({
218
- match: import("../types/rule.js").MatcherType.String;
219
- } | {
220
- match: import("../types/rule.js").MatcherType.ObjectKey;
221
- pathPattern?: string | undefined;
222
- } | {
223
- match: import("../types/rule.js").MatcherType.ObjectValue;
224
- pathPattern?: string | undefined;
225
- })[]])[] | undefined;
226
- variables?: (string | [string, ({
227
- match: import("../types/rule.js").MatcherType.String;
228
- } | {
229
- match: import("../types/rule.js").MatcherType.ObjectKey;
230
- pathPattern?: string | undefined;
231
- } | {
232
- match: import("../types/rule.js").MatcherType.ObjectValue;
233
- pathPattern?: string | undefined;
234
- })[]])[] | undefined;
235
- attributes?: (string | [string, ({
236
- match: import("../types/rule.js").MatcherType.String;
237
- } | {
238
- match: import("../types/rule.js").MatcherType.ObjectKey;
239
- pathPattern?: string | undefined;
240
- } | {
241
- match: import("../types/rule.js").MatcherType.ObjectValue;
242
- pathPattern?: string | undefined;
243
- })[]])[] | undefined;
244
- callees?: (string | [string, ({
245
- match: import("../types/rule.js").MatcherType.String;
246
- } | {
247
- match: import("../types/rule.js").MatcherType.ObjectKey;
248
- pathPattern?: string | undefined;
249
- } | {
250
- match: import("../types/rule.js").MatcherType.ObjectValue;
251
- pathPattern?: string | undefined;
252
- })[]])[] | undefined;
253
- selectors: ({
254
- callTarget?: number | "all" | "first" | "last" | undefined;
255
- kind: import("../types/rule.js").SelectorKind.Callee;
256
- match?: ({
257
- type: import("../types/rule.js").MatcherType.String;
258
- } | {
259
- path?: string | undefined;
260
- type: import("../types/rule.js").MatcherType.ObjectKey;
261
- } | {
262
- path?: string | undefined;
263
- type: import("../types/rule.js").MatcherType.ObjectValue;
264
- } | {
265
- match: ({
266
- type: import("../types/rule.js").MatcherType.String;
267
- } | {
268
- path?: string | undefined;
269
- type: import("../types/rule.js").MatcherType.ObjectKey;
270
- } | {
271
- path?: string | undefined;
272
- type: import("../types/rule.js").MatcherType.ObjectValue;
273
- })[];
274
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
275
- })[] | undefined;
276
- name: string;
277
- path?: string | undefined;
278
- targetArgument?: number | "all" | "first" | "last" | undefined;
279
- targetCall?: number | "all" | "first" | "last" | undefined;
280
- } | {
281
- callTarget?: number | "all" | "first" | "last" | undefined;
282
- kind: import("../types/rule.js").SelectorKind.Callee;
283
- match?: ({
284
- type: import("../types/rule.js").MatcherType.String;
285
- } | {
286
- path?: string | undefined;
287
- type: import("../types/rule.js").MatcherType.ObjectKey;
288
- } | {
289
- path?: string | undefined;
290
- type: import("../types/rule.js").MatcherType.ObjectValue;
291
- } | {
292
- match: ({
293
- type: import("../types/rule.js").MatcherType.String;
294
- } | {
295
- path?: string | undefined;
296
- type: import("../types/rule.js").MatcherType.ObjectKey;
297
- } | {
298
- path?: string | undefined;
299
- type: import("../types/rule.js").MatcherType.ObjectValue;
300
- })[];
301
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
302
- })[] | undefined;
303
- name?: string | undefined;
304
- path: string;
305
- targetArgument?: number | "all" | "first" | "last" | undefined;
306
- targetCall?: number | "all" | "first" | "last" | undefined;
307
- } | {
308
- kind: import("../types/rule.js").SelectorKind.Tag;
309
- match?: ({
310
- type: import("../types/rule.js").MatcherType.String;
311
- } | {
312
- path?: string | undefined;
313
- type: import("../types/rule.js").MatcherType.ObjectKey;
314
- } | {
315
- path?: string | undefined;
316
- type: import("../types/rule.js").MatcherType.ObjectValue;
317
- } | {
318
- match: ({
319
- type: import("../types/rule.js").MatcherType.String;
320
- } | {
321
- path?: string | undefined;
322
- type: import("../types/rule.js").MatcherType.ObjectKey;
323
- } | {
324
- path?: string | undefined;
325
- type: import("../types/rule.js").MatcherType.ObjectValue;
326
- })[];
327
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
328
- })[] | undefined;
329
- name: string;
330
- path?: string | undefined;
331
- } | {
332
- kind: import("../types/rule.js").SelectorKind.Tag;
333
- match?: ({
334
- type: import("../types/rule.js").MatcherType.String;
335
- } | {
336
- path?: string | undefined;
337
- type: import("../types/rule.js").MatcherType.ObjectKey;
338
- } | {
339
- path?: string | undefined;
340
- type: import("../types/rule.js").MatcherType.ObjectValue;
341
- } | {
342
- match: ({
343
- type: import("../types/rule.js").MatcherType.String;
344
- } | {
345
- path?: string | undefined;
346
- type: import("../types/rule.js").MatcherType.ObjectKey;
347
- } | {
348
- path?: string | undefined;
349
- type: import("../types/rule.js").MatcherType.ObjectValue;
350
- })[];
351
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
352
- })[] | undefined;
353
- name?: string | undefined;
354
- path: string;
355
- } | {
356
- kind: import("../types/rule.js").SelectorKind.Attribute;
357
- match?: ({
358
- type: import("../types/rule.js").MatcherType.String;
359
- } | {
360
- path?: string | undefined;
361
- type: import("../types/rule.js").MatcherType.ObjectKey;
362
- } | {
363
- path?: string | undefined;
364
- type: import("../types/rule.js").MatcherType.ObjectValue;
365
- } | {
366
- match: ({
367
- type: import("../types/rule.js").MatcherType.String;
368
- } | {
369
- path?: string | undefined;
370
- type: import("../types/rule.js").MatcherType.ObjectKey;
371
- } | {
372
- path?: string | undefined;
373
- type: import("../types/rule.js").MatcherType.ObjectValue;
374
- })[];
375
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
376
- })[] | undefined;
377
- name: string;
378
- } | {
379
- kind: import("../types/rule.js").SelectorKind.Variable;
380
- match?: ({
381
- type: import("../types/rule.js").MatcherType.String;
382
- } | {
383
- path?: string | undefined;
384
- type: import("../types/rule.js").MatcherType.ObjectKey;
385
- } | {
386
- path?: string | undefined;
387
- type: import("../types/rule.js").MatcherType.ObjectValue;
388
- } | {
389
- match: ({
390
- type: import("../types/rule.js").MatcherType.String;
391
- } | {
392
- path?: string | undefined;
393
- type: import("../types/rule.js").MatcherType.ObjectKey;
394
- } | {
395
- path?: string | undefined;
396
- type: import("../types/rule.js").MatcherType.ObjectValue;
397
- })[];
398
- type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
399
- })[] | undefined;
400
- name: string;
401
- })[];
402
- } & {
403
- [x: string]: unknown;
404
- }>];
405
- Node: import("eslint").JSSyntaxElement;
406
- MessageIds: "unnecessary" | "longhand";
407
- }>) => import("eslint").Rule.RuleListener;
206
+ create: (ctx: import("node_modules/eslint/lib/types/index.js").Rule.RuleContext) => import("node_modules/eslint/lib/types/index.js").Rule.RuleListener;
408
207
  meta: {
409
208
  messages?: {
410
209
  readonly longhand: "Non shorthand class detected. Expected {{ longhands }} to be {{ shorthands }}";
@@ -418,7 +217,7 @@ export declare const enforceShorthandClasses: {
418
217
  fixable: "code" | undefined;
419
218
  schema: {
420
219
  additionalProperties: false;
421
- properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
220
+ properties: Record<string, boolean | import("node_modules/@valibot/to-json-schema/dist/index.mjs").JsonSchema> | undefined;
422
221
  type: "object";
423
222
  }[];
424
223
  type: "problem" | "layout";
@@ -1 +1 @@
1
- {"version":3,"file":"enforce-shorthand-classes.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-shorthand-classes.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBlC,CAAC;AAGH,MAAM,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;AAElD,eAAO,MAAM,UAAU,0BAqFD,CAAC"}
1
+ {"version":3,"file":"enforce-shorthand-classes.d.ts","sourceRoot":"","sources":["../../src/rules/enforce-shorthand-classes.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBlC,CAAC;AAGH,MAAM,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;AAElD,eAAO,MAAM,UAAU,0BAqFD,CAAC"}