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 noDuplicateClasses: {
|
|
|
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: "duplicate";
|
|
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 duplicate: "Duplicate classname: \"{{ className }}\".";
|
|
@@ -416,7 +215,7 @@ export declare const noDuplicateClasses: {
|
|
|
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-duplicate-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-duplicate-classes.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"no-duplicate-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-duplicate-classes.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa7B,CAAC"}
|
|
@@ -204,212 +204,7 @@ export declare const noRestrictedClasses: {
|
|
|
204
204
|
};
|
|
205
205
|
recommended: false;
|
|
206
206
|
rule: {
|
|
207
|
-
create: (ctx: import("node_modules
|
|
208
|
-
LangOptions: import("eslint").Linter.LanguageOptions;
|
|
209
|
-
Code: import("eslint").SourceCode;
|
|
210
|
-
RuleOptions: [Required<{
|
|
211
|
-
cwd?: string | undefined;
|
|
212
|
-
rootFontSize?: number | undefined;
|
|
213
|
-
detectComponentClasses: boolean;
|
|
214
|
-
tsconfig?: string | undefined;
|
|
215
|
-
tailwindConfig?: string | undefined;
|
|
216
|
-
messageStyle: "visual" | "compact" | "raw";
|
|
217
|
-
entryPoint?: string | undefined;
|
|
218
|
-
tags?: (string | [string, ({
|
|
219
|
-
match: import("../types/rule.js").MatcherType.String;
|
|
220
|
-
} | {
|
|
221
|
-
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
222
|
-
pathPattern?: string | undefined;
|
|
223
|
-
} | {
|
|
224
|
-
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
225
|
-
pathPattern?: string | undefined;
|
|
226
|
-
})[]])[] | undefined;
|
|
227
|
-
variables?: (string | [string, ({
|
|
228
|
-
match: import("../types/rule.js").MatcherType.String;
|
|
229
|
-
} | {
|
|
230
|
-
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
231
|
-
pathPattern?: string | undefined;
|
|
232
|
-
} | {
|
|
233
|
-
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
234
|
-
pathPattern?: string | undefined;
|
|
235
|
-
})[]])[] | undefined;
|
|
236
|
-
attributes?: (string | [string, ({
|
|
237
|
-
match: import("../types/rule.js").MatcherType.String;
|
|
238
|
-
} | {
|
|
239
|
-
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
240
|
-
pathPattern?: string | undefined;
|
|
241
|
-
} | {
|
|
242
|
-
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
243
|
-
pathPattern?: string | undefined;
|
|
244
|
-
})[]])[] | undefined;
|
|
245
|
-
callees?: (string | [string, ({
|
|
246
|
-
match: import("../types/rule.js").MatcherType.String;
|
|
247
|
-
} | {
|
|
248
|
-
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
249
|
-
pathPattern?: string | undefined;
|
|
250
|
-
} | {
|
|
251
|
-
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
252
|
-
pathPattern?: string | undefined;
|
|
253
|
-
})[]])[] | undefined;
|
|
254
|
-
selectors: ({
|
|
255
|
-
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
256
|
-
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
257
|
-
match?: ({
|
|
258
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
259
|
-
} | {
|
|
260
|
-
path?: string | undefined;
|
|
261
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
262
|
-
} | {
|
|
263
|
-
path?: string | undefined;
|
|
264
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
265
|
-
} | {
|
|
266
|
-
match: ({
|
|
267
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
268
|
-
} | {
|
|
269
|
-
path?: string | undefined;
|
|
270
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
271
|
-
} | {
|
|
272
|
-
path?: string | undefined;
|
|
273
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
274
|
-
})[];
|
|
275
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
276
|
-
})[] | undefined;
|
|
277
|
-
name: string;
|
|
278
|
-
path?: string | undefined;
|
|
279
|
-
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
280
|
-
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
281
|
-
} | {
|
|
282
|
-
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
283
|
-
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
284
|
-
match?: ({
|
|
285
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
286
|
-
} | {
|
|
287
|
-
path?: string | undefined;
|
|
288
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
289
|
-
} | {
|
|
290
|
-
path?: string | undefined;
|
|
291
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
292
|
-
} | {
|
|
293
|
-
match: ({
|
|
294
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
295
|
-
} | {
|
|
296
|
-
path?: string | undefined;
|
|
297
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
298
|
-
} | {
|
|
299
|
-
path?: string | undefined;
|
|
300
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
301
|
-
})[];
|
|
302
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
303
|
-
})[] | undefined;
|
|
304
|
-
name?: string | undefined;
|
|
305
|
-
path: string;
|
|
306
|
-
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
307
|
-
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
308
|
-
} | {
|
|
309
|
-
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
310
|
-
match?: ({
|
|
311
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
312
|
-
} | {
|
|
313
|
-
path?: string | undefined;
|
|
314
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
315
|
-
} | {
|
|
316
|
-
path?: string | undefined;
|
|
317
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
318
|
-
} | {
|
|
319
|
-
match: ({
|
|
320
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
321
|
-
} | {
|
|
322
|
-
path?: string | undefined;
|
|
323
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
324
|
-
} | {
|
|
325
|
-
path?: string | undefined;
|
|
326
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
327
|
-
})[];
|
|
328
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
329
|
-
})[] | undefined;
|
|
330
|
-
name: string;
|
|
331
|
-
path?: string | undefined;
|
|
332
|
-
} | {
|
|
333
|
-
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
334
|
-
match?: ({
|
|
335
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
336
|
-
} | {
|
|
337
|
-
path?: string | undefined;
|
|
338
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
339
|
-
} | {
|
|
340
|
-
path?: string | undefined;
|
|
341
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
342
|
-
} | {
|
|
343
|
-
match: ({
|
|
344
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
345
|
-
} | {
|
|
346
|
-
path?: string | undefined;
|
|
347
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
348
|
-
} | {
|
|
349
|
-
path?: string | undefined;
|
|
350
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
351
|
-
})[];
|
|
352
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
353
|
-
})[] | undefined;
|
|
354
|
-
name?: string | undefined;
|
|
355
|
-
path: string;
|
|
356
|
-
} | {
|
|
357
|
-
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
358
|
-
match?: ({
|
|
359
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
360
|
-
} | {
|
|
361
|
-
path?: string | undefined;
|
|
362
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
363
|
-
} | {
|
|
364
|
-
path?: string | undefined;
|
|
365
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
366
|
-
} | {
|
|
367
|
-
match: ({
|
|
368
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
369
|
-
} | {
|
|
370
|
-
path?: string | undefined;
|
|
371
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
372
|
-
} | {
|
|
373
|
-
path?: string | undefined;
|
|
374
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
375
|
-
})[];
|
|
376
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
377
|
-
})[] | undefined;
|
|
378
|
-
name: string;
|
|
379
|
-
} | {
|
|
380
|
-
kind: import("../types/rule.js").SelectorKind.Variable;
|
|
381
|
-
match?: ({
|
|
382
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
383
|
-
} | {
|
|
384
|
-
path?: string | undefined;
|
|
385
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
386
|
-
} | {
|
|
387
|
-
path?: string | undefined;
|
|
388
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
389
|
-
} | {
|
|
390
|
-
match: ({
|
|
391
|
-
type: import("../types/rule.js").MatcherType.String;
|
|
392
|
-
} | {
|
|
393
|
-
path?: string | undefined;
|
|
394
|
-
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
395
|
-
} | {
|
|
396
|
-
path?: string | undefined;
|
|
397
|
-
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
398
|
-
})[];
|
|
399
|
-
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
400
|
-
})[] | undefined;
|
|
401
|
-
name: string;
|
|
402
|
-
})[];
|
|
403
|
-
} & {
|
|
404
|
-
restrict: (string | {
|
|
405
|
-
fix?: string | undefined;
|
|
406
|
-
message?: string | undefined;
|
|
407
|
-
pattern: string;
|
|
408
|
-
})[];
|
|
409
|
-
}>];
|
|
410
|
-
Node: import("eslint").JSSyntaxElement;
|
|
411
|
-
MessageIds: string;
|
|
412
|
-
}>) => import("eslint").Rule.RuleListener;
|
|
207
|
+
create: (ctx: import("node_modules/eslint/lib/types/index.js").Rule.RuleContext) => import("node_modules/eslint/lib/types/index.js").Rule.RuleListener;
|
|
413
208
|
meta: {
|
|
414
209
|
messages?: Record<string, string>;
|
|
415
210
|
docs: {
|
|
@@ -420,7 +215,7 @@ export declare const noRestrictedClasses: {
|
|
|
420
215
|
fixable: "code" | undefined;
|
|
421
216
|
schema: {
|
|
422
217
|
additionalProperties: false;
|
|
423
|
-
properties: Record<string, boolean | import("
|
|
218
|
+
properties: Record<string, boolean | import("node_modules/@valibot/to-json-schema/dist/index.mjs").JsonSchema> | undefined;
|
|
424
219
|
type: "object";
|
|
425
220
|
}[];
|
|
426
221
|
type: "problem" | "layout";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-restricted-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-restricted-classes.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"no-restricted-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-restricted-classes.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC9B,CAAC"}
|