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.
- package/lib/configs/config.d.ts +30 -2862
- package/lib/configs/config.d.ts.map +1 -1
- package/lib/configs/config.js +1 -0
- package/lib/configs/config.js.map +1 -1
- package/lib/options/descriptions.d.ts +201 -201
- package/lib/options/schemas/attributes.d.ts +34 -34
- package/lib/options/schemas/attributes.d.ts.map +1 -1
- package/lib/options/schemas/callees.d.ts +34 -34
- package/lib/options/schemas/callees.d.ts.map +1 -1
- package/lib/options/schemas/common.d.ts +14 -14
- package/lib/options/schemas/matchers.d.ts +8 -8
- package/lib/options/schemas/selectors.d.ts +447 -447
- package/lib/options/schemas/tags.d.ts +34 -34
- package/lib/options/schemas/tags.d.ts.map +1 -1
- package/lib/options/schemas/variables.d.ts +34 -34
- package/lib/options/schemas/variables.d.ts.map +1 -1
- package/lib/parsers/es.js.map +1 -1
- package/lib/rules/enforce-canonical-classes.d.ts +2 -205
- package/lib/rules/enforce-canonical-classes.d.ts.map +1 -1
- package/lib/rules/enforce-canonical-classes.js +1 -1
- package/lib/rules/enforce-consistent-class-order.d.ts +3 -208
- package/lib/rules/enforce-consistent-class-order.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-important-position.d.ts +2 -203
- package/lib/rules/enforce-consistent-important-position.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-line-wrapping.d.ts +3 -211
- package/lib/rules/enforce-consistent-line-wrapping.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-variable-syntax.d.ts +2 -203
- package/lib/rules/enforce-consistent-variable-syntax.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-variable-syntax.js +1 -1
- package/lib/rules/enforce-consistent-variant-order.d.ts +2 -203
- package/lib/rules/enforce-consistent-variant-order.d.ts.map +1 -1
- package/lib/rules/enforce-logical-properties.d.ts +2 -203
- package/lib/rules/enforce-logical-properties.d.ts.map +1 -1
- package/lib/rules/enforce-logical-properties.js +1 -1
- package/lib/rules/enforce-shorthand-classes.d.ts +2 -203
- package/lib/rules/enforce-shorthand-classes.d.ts.map +1 -1
- package/lib/rules/no-conflicting-classes.d.ts +2 -203
- package/lib/rules/no-conflicting-classes.d.ts.map +1 -1
- package/lib/rules/no-deprecated-classes.d.ts +2 -203
- package/lib/rules/no-deprecated-classes.d.ts.map +1 -1
- package/lib/rules/no-deprecated-classes.js.map +1 -1
- package/lib/rules/no-duplicate-classes.d.ts +2 -203
- package/lib/rules/no-duplicate-classes.d.ts.map +1 -1
- package/lib/rules/no-restricted-classes.d.ts +2 -207
- package/lib/rules/no-restricted-classes.d.ts.map +1 -1
- package/lib/rules/no-unknown-classes.d.ts +2 -203
- package/lib/rules/no-unknown-classes.d.ts.map +1 -1
- package/lib/rules/no-unknown-classes.js +1 -1
- package/lib/rules/no-unnecessary-whitespace.d.ts +2 -203
- package/lib/rules/no-unnecessary-whitespace.d.ts.map +1 -1
- package/lib/types/rule.d.ts +6 -6
- package/lib/types/rule.d.ts.map +1 -1
- package/lib/utils/matchers.d.ts.map +1 -1
- package/lib/utils/matchers.js +20 -13
- package/lib/utils/matchers.js.map +1 -1
- package/lib/utils/rule.d.ts +2 -8
- package/lib/utils/rule.d.ts.map +1 -1
- package/lib/utils/rule.js +1 -1
- package/lib/utils/rule.js.map +1 -1
- package/lib/utils/utils.js +1 -1
- package/package.json +39 -35
- package/lib/utils/project.d.ts +0 -4
- package/lib/utils/project.d.ts.map +0 -1
- package/lib/utils/project.js +0 -22
- package/lib/utils/project.js.map +0 -1
- package/lib/utils/regex.d.ts +0 -2
- package/lib/utils/regex.d.ts.map +0 -1
- package/lib/utils/regex.js +0 -24
- package/lib/utils/regex.js.map +0 -1
|
@@ -202,208 +202,7 @@ export declare const noConflictingClasses: {
|
|
|
202
202
|
};
|
|
203
203
|
recommended: true;
|
|
204
204
|
rule: {
|
|
205
|
-
create: (ctx: import("node_modules
|
|
206
|
-
LangOptions: import("eslint").Linter.LanguageOptions;
|
|
207
|
-
Code: import("eslint").SourceCode;
|
|
208
|
-
RuleOptions: [Required<{
|
|
209
|
-
cwd?: string | undefined;
|
|
210
|
-
rootFontSize?: number | undefined;
|
|
211
|
-
detectComponentClasses: boolean;
|
|
212
|
-
tsconfig?: string | undefined;
|
|
213
|
-
tailwindConfig?: string | undefined;
|
|
214
|
-
messageStyle: "visual" | "compact" | "raw";
|
|
215
|
-
entryPoint?: string | undefined;
|
|
216
|
-
tags?: (string | [string, ({
|
|
217
|
-
match: import("../types/rule.js").MatcherType.String;
|
|
218
|
-
} | {
|
|
219
|
-
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
220
|
-
pathPattern?: string | undefined;
|
|
221
|
-
} | {
|
|
222
|
-
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
223
|
-
pathPattern?: string | undefined;
|
|
224
|
-
})[]])[] | undefined;
|
|
225
|
-
variables?: (string | [string, ({
|
|
226
|
-
match: import("../types/rule.js").MatcherType.String;
|
|
227
|
-
} | {
|
|
228
|
-
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
229
|
-
pathPattern?: string | undefined;
|
|
230
|
-
} | {
|
|
231
|
-
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
232
|
-
pathPattern?: string | undefined;
|
|
233
|
-
})[]])[] | undefined;
|
|
234
|
-
attributes?: (string | [string, ({
|
|
235
|
-
match: import("../types/rule.js").MatcherType.String;
|
|
236
|
-
} | {
|
|
237
|
-
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
238
|
-
pathPattern?: string | undefined;
|
|
239
|
-
} | {
|
|
240
|
-
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
241
|
-
pathPattern?: string | undefined;
|
|
242
|
-
})[]])[] | undefined;
|
|
243
|
-
callees?: (string | [string, ({
|
|
244
|
-
match: import("../types/rule.js").MatcherType.String;
|
|
245
|
-
} | {
|
|
246
|
-
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
247
|
-
pathPattern?: string | undefined;
|
|
248
|
-
} | {
|
|
249
|
-
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
250
|
-
pathPattern?: string | undefined;
|
|
251
|
-
})[]])[] | undefined;
|
|
252
|
-
selectors: ({
|
|
253
|
-
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
254
|
-
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
255
|
-
match?: ({
|
|
256
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
257
|
-
} | {
|
|
258
|
-
path?: string | undefined;
|
|
259
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
260
|
-
} | {
|
|
261
|
-
path?: string | undefined;
|
|
262
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
263
|
-
} | {
|
|
264
|
-
match: ({
|
|
265
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
266
|
-
} | {
|
|
267
|
-
path?: string | undefined;
|
|
268
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
269
|
-
} | {
|
|
270
|
-
path?: string | undefined;
|
|
271
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
272
|
-
})[];
|
|
273
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
274
|
-
})[] | undefined;
|
|
275
|
-
name: string;
|
|
276
|
-
path?: string | undefined;
|
|
277
|
-
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
278
|
-
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
279
|
-
} | {
|
|
280
|
-
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
281
|
-
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
282
|
-
match?: ({
|
|
283
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
284
|
-
} | {
|
|
285
|
-
path?: string | undefined;
|
|
286
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
287
|
-
} | {
|
|
288
|
-
path?: string | undefined;
|
|
289
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
290
|
-
} | {
|
|
291
|
-
match: ({
|
|
292
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
293
|
-
} | {
|
|
294
|
-
path?: string | undefined;
|
|
295
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
296
|
-
} | {
|
|
297
|
-
path?: string | undefined;
|
|
298
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
299
|
-
})[];
|
|
300
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
301
|
-
})[] | undefined;
|
|
302
|
-
name?: string | undefined;
|
|
303
|
-
path: string;
|
|
304
|
-
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
305
|
-
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
306
|
-
} | {
|
|
307
|
-
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
308
|
-
match?: ({
|
|
309
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
310
|
-
} | {
|
|
311
|
-
path?: string | undefined;
|
|
312
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
313
|
-
} | {
|
|
314
|
-
path?: string | undefined;
|
|
315
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
316
|
-
} | {
|
|
317
|
-
match: ({
|
|
318
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
319
|
-
} | {
|
|
320
|
-
path?: string | undefined;
|
|
321
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
322
|
-
} | {
|
|
323
|
-
path?: string | undefined;
|
|
324
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
325
|
-
})[];
|
|
326
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
327
|
-
})[] | undefined;
|
|
328
|
-
name: string;
|
|
329
|
-
path?: string | undefined;
|
|
330
|
-
} | {
|
|
331
|
-
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
332
|
-
match?: ({
|
|
333
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
334
|
-
} | {
|
|
335
|
-
path?: string | undefined;
|
|
336
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
337
|
-
} | {
|
|
338
|
-
path?: string | undefined;
|
|
339
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
340
|
-
} | {
|
|
341
|
-
match: ({
|
|
342
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
343
|
-
} | {
|
|
344
|
-
path?: string | undefined;
|
|
345
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
346
|
-
} | {
|
|
347
|
-
path?: string | undefined;
|
|
348
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
349
|
-
})[];
|
|
350
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
351
|
-
})[] | undefined;
|
|
352
|
-
name?: string | undefined;
|
|
353
|
-
path: string;
|
|
354
|
-
} | {
|
|
355
|
-
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
356
|
-
match?: ({
|
|
357
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
358
|
-
} | {
|
|
359
|
-
path?: string | undefined;
|
|
360
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
361
|
-
} | {
|
|
362
|
-
path?: string | undefined;
|
|
363
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
364
|
-
} | {
|
|
365
|
-
match: ({
|
|
366
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
367
|
-
} | {
|
|
368
|
-
path?: string | undefined;
|
|
369
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
370
|
-
} | {
|
|
371
|
-
path?: string | undefined;
|
|
372
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
373
|
-
})[];
|
|
374
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
375
|
-
})[] | undefined;
|
|
376
|
-
name: string;
|
|
377
|
-
} | {
|
|
378
|
-
kind: import("../types/rule.js").SelectorKind.Variable;
|
|
379
|
-
match?: ({
|
|
380
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
381
|
-
} | {
|
|
382
|
-
path?: string | undefined;
|
|
383
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
384
|
-
} | {
|
|
385
|
-
path?: string | undefined;
|
|
386
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
387
|
-
} | {
|
|
388
|
-
match: ({
|
|
389
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
390
|
-
} | {
|
|
391
|
-
path?: string | undefined;
|
|
392
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
393
|
-
} | {
|
|
394
|
-
path?: string | undefined;
|
|
395
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
396
|
-
})[];
|
|
397
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
398
|
-
})[] | undefined;
|
|
399
|
-
name: string;
|
|
400
|
-
})[];
|
|
401
|
-
} & {
|
|
402
|
-
[x: string]: unknown;
|
|
403
|
-
}>];
|
|
404
|
-
Node: import("eslint").JSSyntaxElement;
|
|
405
|
-
MessageIds: "conflicting";
|
|
406
|
-
}>) => import("eslint").Rule.RuleListener;
|
|
205
|
+
create: (ctx: import("node_modules/eslint/lib/types/index.js").Rule.RuleContext) => import("node_modules/eslint/lib/types/index.js").Rule.RuleListener;
|
|
407
206
|
meta: {
|
|
408
207
|
messages?: {
|
|
409
208
|
readonly conflicting: "Conflicting class detected: \"{{ className }}\" and \"{{ conflictingClassString }}\" apply the same CSS properties: \"{{ conflictingPropertiesString }}\".";
|
|
@@ -416,7 +215,7 @@ export declare const noConflictingClasses: {
|
|
|
416
215
|
fixable: "code" | undefined;
|
|
417
216
|
schema: {
|
|
418
217
|
additionalProperties: false;
|
|
419
|
-
properties: Record<string, boolean | import("
|
|
218
|
+
properties: Record<string, boolean | import("node_modules/@valibot/to-json-schema/dist/index.mjs").JsonSchema> | undefined;
|
|
420
219
|
type: "object";
|
|
421
220
|
}[];
|
|
422
221
|
type: "problem" | "layout";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-conflicting-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-conflicting-classes.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"no-conflicting-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-conflicting-classes.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB/B,CAAC"}
|
|
@@ -203,208 +203,7 @@ export declare const noDeprecatedClasses: {
|
|
|
203
203
|
};
|
|
204
204
|
recommended: true;
|
|
205
205
|
rule: {
|
|
206
|
-
create: (ctx: import("node_modules
|
|
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: "irreplaceable" | "replaceable";
|
|
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 irreplaceable: "Class \"{{ className }}\" is deprecated. Check the tailwindcss documentation for more information: https://tailwindcss.com/docs/upgrade-guide#removed-deprecated-utilities";
|
|
@@ -418,7 +217,7 @@ export declare const noDeprecatedClasses: {
|
|
|
418
217
|
fixable: "code" | undefined;
|
|
419
218
|
schema: {
|
|
420
219
|
additionalProperties: false;
|
|
421
|
-
properties: Record<string, boolean | import("
|
|
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":"no-deprecated-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-deprecated-classes.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"no-deprecated-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-deprecated-classes.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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