eslint-plugin-better-tailwindcss 4.3.2 → 4.4.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/README.md +35 -0
- package/lib/api/defaults.d.ts +15 -0
- package/lib/api/defaults.d.ts.map +1 -1
- package/lib/api/types.d.ts +7 -2
- package/lib/api/types.d.ts.map +1 -1
- package/lib/api/types.js +4 -1
- package/lib/api/types.js.map +1 -1
- package/lib/async-utils/escape.d.ts.map +1 -1
- package/lib/async-utils/escape.js +2 -1
- package/lib/async-utils/escape.js.map +1 -1
- package/lib/async-utils/fs.d.ts +1 -1
- package/lib/async-utils/fs.d.ts.map +1 -1
- package/lib/async-utils/fs.js +2 -6
- package/lib/async-utils/fs.js.map +1 -1
- package/lib/async-utils/operations.d.ts +2 -0
- package/lib/async-utils/operations.d.ts.map +1 -1
- package/lib/async-utils/regex.d.ts +3 -0
- package/lib/async-utils/regex.d.ts.map +1 -0
- package/lib/async-utils/regex.js +32 -0
- package/lib/async-utils/regex.js.map +1 -0
- package/lib/async-utils/worker.d.ts.map +1 -1
- package/lib/async-utils/worker.js +3 -2
- package/lib/async-utils/worker.js.map +1 -1
- package/lib/configs/config.d.ts +2921 -33
- package/lib/configs/config.d.ts.map +1 -1
- package/lib/configs/config.js +4 -0
- package/lib/configs/config.js.map +1 -1
- package/lib/options/callees/cc.js +2 -2
- package/lib/options/callees/cc.js.map +1 -1
- package/lib/options/callees/clb.js +3 -3
- package/lib/options/callees/clb.js.map +1 -1
- package/lib/options/callees/clsx.js +2 -2
- package/lib/options/callees/clsx.js.map +1 -1
- package/lib/options/callees/cn.js +2 -2
- package/lib/options/callees/cn.js.map +1 -1
- package/lib/options/callees/cnb.js +2 -2
- package/lib/options/callees/cnb.js.map +1 -1
- package/lib/options/callees/ctl.js +1 -1
- package/lib/options/callees/ctl.js.map +1 -1
- package/lib/options/callees/cva.js +3 -3
- package/lib/options/callees/cva.js.map +1 -1
- package/lib/options/callees/cx.js +2 -2
- package/lib/options/callees/cx.js.map +1 -1
- package/lib/options/callees/dcnb.js +2 -2
- package/lib/options/callees/dcnb.js.map +1 -1
- package/lib/options/callees/objstr.js +2 -2
- package/lib/options/callees/objstr.js.map +1 -1
- package/lib/options/callees/tv.js +6 -6
- package/lib/options/callees/tv.js.map +1 -1
- package/lib/options/callees/twJoin.js +1 -1
- package/lib/options/callees/twJoin.js.map +1 -1
- package/lib/options/callees/twMerge.js +1 -1
- package/lib/options/callees/twMerge.js.map +1 -1
- package/lib/options/default-options.d.ts +31 -1
- package/lib/options/default-options.d.ts.map +1 -1
- package/lib/options/default-options.js +9 -3
- package/lib/options/default-options.js.map +1 -1
- package/lib/options/descriptions.d.ts +308 -2
- package/lib/options/descriptions.d.ts.map +1 -1
- package/lib/options/descriptions.js +3 -2
- package/lib/options/descriptions.js.map +1 -1
- package/lib/options/migrate.js +29 -12
- package/lib/options/migrate.js.map +1 -1
- package/lib/options/schemas/common.d.ts +4 -0
- package/lib/options/schemas/common.d.ts.map +1 -1
- package/lib/options/schemas/common.js +3 -0
- package/lib/options/schemas/common.js.map +1 -1
- package/lib/options/schemas/selectors.d.ts +806 -5
- package/lib/options/schemas/selectors.d.ts.map +1 -1
- package/lib/options/schemas/selectors.js +42 -11
- package/lib/options/schemas/selectors.js.map +1 -1
- package/lib/options/tags/twc.d.ts +36 -0
- package/lib/options/tags/twc.d.ts.map +1 -0
- package/lib/options/tags/twc.js +26 -0
- package/lib/options/tags/twc.js.map +1 -0
- package/lib/options/tags/twx.d.ts +36 -0
- package/lib/options/tags/twx.d.ts.map +1 -0
- package/lib/options/tags/twx.js +26 -0
- package/lib/options/tags/twx.js.map +1 -0
- package/lib/parsers/angular.d.ts.map +1 -1
- package/lib/parsers/angular.js +22 -12
- package/lib/parsers/angular.js.map +1 -1
- package/lib/parsers/es.d.ts +11 -2
- package/lib/parsers/es.d.ts.map +1 -1
- package/lib/parsers/es.js +249 -55
- package/lib/parsers/es.js.map +1 -1
- package/lib/parsers/svelte.d.ts.map +1 -1
- package/lib/parsers/svelte.js +6 -64
- package/lib/parsers/svelte.js.map +1 -1
- package/lib/parsers/vue.d.ts.map +1 -1
- package/lib/parsers/vue.js +5 -65
- package/lib/parsers/vue.js.map +1 -1
- package/lib/rules/enforce-canonical-classes.d.ts +172 -2
- package/lib/rules/enforce-canonical-classes.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-class-order.d.ts +172 -2
- package/lib/rules/enforce-consistent-class-order.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-class-order.js +14 -2
- package/lib/rules/enforce-consistent-class-order.js.map +1 -1
- package/lib/rules/enforce-consistent-important-position.d.ts +172 -2
- package/lib/rules/enforce-consistent-important-position.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-important-position.js +2 -1
- package/lib/rules/enforce-consistent-important-position.js.map +1 -1
- package/lib/rules/enforce-consistent-line-wrapping.d.ts +172 -2
- package/lib/rules/enforce-consistent-line-wrapping.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-line-wrapping.js +30 -0
- package/lib/rules/enforce-consistent-line-wrapping.js.map +1 -1
- package/lib/rules/enforce-consistent-variable-syntax.d.ts +172 -2
- package/lib/rules/enforce-consistent-variable-syntax.d.ts.map +1 -1
- package/lib/rules/enforce-consistent-variable-syntax.js +3 -2
- package/lib/rules/enforce-consistent-variable-syntax.js.map +1 -1
- package/lib/rules/enforce-consistent-variant-order.d.ts +426 -0
- package/lib/rules/enforce-consistent-variant-order.d.ts.map +1 -0
- package/lib/rules/enforce-consistent-variant-order.js +75 -0
- package/lib/rules/enforce-consistent-variant-order.js.map +1 -0
- package/lib/rules/enforce-logical-properties.d.ts +426 -0
- package/lib/rules/enforce-logical-properties.d.ts.map +1 -0
- package/lib/rules/enforce-logical-properties.js +118 -0
- package/lib/rules/enforce-logical-properties.js.map +1 -0
- package/lib/rules/enforce-shorthand-classes.d.ts +172 -2
- package/lib/rules/enforce-shorthand-classes.d.ts.map +1 -1
- package/lib/rules/no-conflicting-classes.d.ts +172 -2
- package/lib/rules/no-conflicting-classes.d.ts.map +1 -1
- package/lib/rules/no-deprecated-classes.d.ts +173 -3
- package/lib/rules/no-deprecated-classes.d.ts.map +1 -1
- package/lib/rules/no-duplicate-classes.d.ts +172 -2
- package/lib/rules/no-duplicate-classes.d.ts.map +1 -1
- package/lib/rules/no-restricted-classes.d.ts +172 -2
- package/lib/rules/no-restricted-classes.d.ts.map +1 -1
- package/lib/rules/no-unknown-classes.d.ts +172 -2
- package/lib/rules/no-unknown-classes.d.ts.map +1 -1
- package/lib/rules/no-unknown-classes.js +8 -7
- package/lib/rules/no-unknown-classes.js.map +1 -1
- package/lib/rules/no-unnecessary-whitespace.d.ts +172 -2
- package/lib/rules/no-unnecessary-whitespace.d.ts.map +1 -1
- package/lib/tailwindcss/dissect-classes.async.v3.d.ts.map +1 -1
- package/lib/tailwindcss/dissect-classes.async.v3.js +4 -3
- package/lib/tailwindcss/dissect-classes.async.v3.js.map +1 -1
- package/lib/tailwindcss/dissect-classes.async.v4.d.ts.map +1 -1
- package/lib/tailwindcss/dissect-classes.async.v4.js +6 -5
- package/lib/tailwindcss/dissect-classes.async.v4.js.map +1 -1
- package/lib/tailwindcss/tailwind.async.worker.v3.js +5 -0
- package/lib/tailwindcss/tailwind.async.worker.v3.js.map +1 -1
- package/lib/tailwindcss/tailwind.async.worker.v4.js +6 -0
- package/lib/tailwindcss/tailwind.async.worker.v4.js.map +1 -1
- package/lib/tailwindcss/variant-order.async.v3.d.ts +3 -0
- package/lib/tailwindcss/variant-order.async.v3.d.ts.map +1 -0
- package/lib/tailwindcss/variant-order.async.v3.js +4 -0
- package/lib/tailwindcss/variant-order.async.v3.js.map +1 -0
- package/lib/tailwindcss/variant-order.async.v4.d.ts +3 -0
- package/lib/tailwindcss/variant-order.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/variant-order.async.v4.js +18 -0
- package/lib/tailwindcss/variant-order.async.v4.js.map +1 -0
- package/lib/tailwindcss/variant-order.d.ts +11 -0
- package/lib/tailwindcss/variant-order.d.ts.map +1 -0
- package/lib/tailwindcss/variant-order.js +15 -0
- package/lib/tailwindcss/variant-order.js.map +1 -0
- package/lib/types/rule.d.ts +27 -5
- package/lib/types/rule.d.ts.map +1 -1
- package/lib/types/rule.js +7 -0
- package/lib/types/rule.js.map +1 -1
- package/lib/utils/context.js +5 -5
- package/lib/utils/context.js.map +1 -1
- package/lib/utils/matchers.d.ts +1 -3
- package/lib/utils/matchers.d.ts.map +1 -1
- package/lib/utils/matchers.js +56 -37
- package/lib/utils/matchers.js.map +1 -1
- package/lib/utils/project.d.ts +4 -0
- package/lib/utils/project.d.ts.map +1 -0
- package/lib/utils/project.js +22 -0
- package/lib/utils/project.js.map +1 -0
- package/lib/utils/rule.d.ts +1 -1
- package/lib/utils/rule.d.ts.map +1 -1
- package/lib/utils/rule.js +50 -10
- package/lib/utils/rule.js.map +1 -1
- package/lib/utils/utils.d.ts.map +1 -1
- package/lib/utils/utils.js +6 -5
- package/lib/utils/utils.js.map +1 -1
- package/package.json +22 -21
package/lib/configs/config.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ declare const rules: readonly [{
|
|
|
11
11
|
} | undefined;
|
|
12
12
|
name: "enforce-consistent-class-order";
|
|
13
13
|
readonly options: {
|
|
14
|
+
cwd?: string | undefined;
|
|
14
15
|
rootFontSize?: number | undefined;
|
|
15
16
|
detectComponentClasses: boolean;
|
|
16
17
|
tsconfig?: string | undefined;
|
|
@@ -64,9 +65,22 @@ declare const rules: readonly [{
|
|
|
64
65
|
} | {
|
|
65
66
|
path?: string | undefined;
|
|
66
67
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
68
|
+
} | {
|
|
69
|
+
match: ({
|
|
70
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
71
|
+
} | {
|
|
72
|
+
path?: string | undefined;
|
|
73
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
74
|
+
} | {
|
|
75
|
+
path?: string | undefined;
|
|
76
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
77
|
+
})[];
|
|
78
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
67
79
|
})[] | undefined;
|
|
68
80
|
name: string;
|
|
69
81
|
path?: string | undefined;
|
|
82
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
83
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
70
84
|
} | {
|
|
71
85
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
72
86
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -78,11 +92,24 @@ declare const rules: readonly [{
|
|
|
78
92
|
} | {
|
|
79
93
|
path?: string | undefined;
|
|
80
94
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
95
|
+
} | {
|
|
96
|
+
match: ({
|
|
97
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
98
|
+
} | {
|
|
99
|
+
path?: string | undefined;
|
|
100
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
101
|
+
} | {
|
|
102
|
+
path?: string | undefined;
|
|
103
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
104
|
+
})[];
|
|
105
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
81
106
|
})[] | undefined;
|
|
82
107
|
name?: string | undefined;
|
|
83
108
|
path: string;
|
|
109
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
110
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
84
111
|
} | {
|
|
85
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
112
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
86
113
|
match?: ({
|
|
87
114
|
type: import("../types/rule.js").MatcherType.String;
|
|
88
115
|
} | {
|
|
@@ -91,8 +118,20 @@ declare const rules: readonly [{
|
|
|
91
118
|
} | {
|
|
92
119
|
path?: string | undefined;
|
|
93
120
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
121
|
+
} | {
|
|
122
|
+
match: ({
|
|
123
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
124
|
+
} | {
|
|
125
|
+
path?: string | undefined;
|
|
126
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
127
|
+
} | {
|
|
128
|
+
path?: string | undefined;
|
|
129
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
130
|
+
})[];
|
|
131
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
94
132
|
})[] | undefined;
|
|
95
133
|
name: string;
|
|
134
|
+
path?: string | undefined;
|
|
96
135
|
} | {
|
|
97
136
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
98
137
|
match?: ({
|
|
@@ -103,6 +142,41 @@ declare const rules: readonly [{
|
|
|
103
142
|
} | {
|
|
104
143
|
path?: string | undefined;
|
|
105
144
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
145
|
+
} | {
|
|
146
|
+
match: ({
|
|
147
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
148
|
+
} | {
|
|
149
|
+
path?: string | undefined;
|
|
150
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
151
|
+
} | {
|
|
152
|
+
path?: string | undefined;
|
|
153
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
154
|
+
})[];
|
|
155
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
156
|
+
})[] | undefined;
|
|
157
|
+
name?: string | undefined;
|
|
158
|
+
path: string;
|
|
159
|
+
} | {
|
|
160
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
161
|
+
match?: ({
|
|
162
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
163
|
+
} | {
|
|
164
|
+
path?: string | undefined;
|
|
165
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
166
|
+
} | {
|
|
167
|
+
path?: string | undefined;
|
|
168
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
169
|
+
} | {
|
|
170
|
+
match: ({
|
|
171
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
172
|
+
} | {
|
|
173
|
+
path?: string | undefined;
|
|
174
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
175
|
+
} | {
|
|
176
|
+
path?: string | undefined;
|
|
177
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
178
|
+
})[];
|
|
179
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
106
180
|
})[] | undefined;
|
|
107
181
|
name: string;
|
|
108
182
|
} | {
|
|
@@ -115,6 +189,17 @@ declare const rules: readonly [{
|
|
|
115
189
|
} | {
|
|
116
190
|
path?: string | undefined;
|
|
117
191
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
192
|
+
} | {
|
|
193
|
+
match: ({
|
|
194
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
195
|
+
} | {
|
|
196
|
+
path?: string | undefined;
|
|
197
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
198
|
+
} | {
|
|
199
|
+
path?: string | undefined;
|
|
200
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
201
|
+
})[];
|
|
202
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
118
203
|
})[] | undefined;
|
|
119
204
|
name: string;
|
|
120
205
|
})[];
|
|
@@ -131,6 +216,7 @@ declare const rules: readonly [{
|
|
|
131
216
|
LangOptions: Linter.LanguageOptions;
|
|
132
217
|
Code: import("eslint").SourceCode;
|
|
133
218
|
RuleOptions: [Required<{
|
|
219
|
+
cwd?: string | undefined;
|
|
134
220
|
rootFontSize?: number | undefined;
|
|
135
221
|
detectComponentClasses: boolean;
|
|
136
222
|
tsconfig?: string | undefined;
|
|
@@ -184,9 +270,22 @@ declare const rules: readonly [{
|
|
|
184
270
|
} | {
|
|
185
271
|
path?: string | undefined;
|
|
186
272
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
273
|
+
} | {
|
|
274
|
+
match: ({
|
|
275
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
276
|
+
} | {
|
|
277
|
+
path?: string | undefined;
|
|
278
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
279
|
+
} | {
|
|
280
|
+
path?: string | undefined;
|
|
281
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
282
|
+
})[];
|
|
283
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
187
284
|
})[] | undefined;
|
|
188
285
|
name: string;
|
|
189
286
|
path?: string | undefined;
|
|
287
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
288
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
190
289
|
} | {
|
|
191
290
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
192
291
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -198,11 +297,24 @@ declare const rules: readonly [{
|
|
|
198
297
|
} | {
|
|
199
298
|
path?: string | undefined;
|
|
200
299
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
300
|
+
} | {
|
|
301
|
+
match: ({
|
|
302
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
303
|
+
} | {
|
|
304
|
+
path?: string | undefined;
|
|
305
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
306
|
+
} | {
|
|
307
|
+
path?: string | undefined;
|
|
308
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
309
|
+
})[];
|
|
310
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
201
311
|
})[] | undefined;
|
|
202
312
|
name?: string | undefined;
|
|
203
313
|
path: string;
|
|
314
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
315
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
204
316
|
} | {
|
|
205
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
317
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
206
318
|
match?: ({
|
|
207
319
|
type: import("../types/rule.js").MatcherType.String;
|
|
208
320
|
} | {
|
|
@@ -211,8 +323,20 @@ declare const rules: readonly [{
|
|
|
211
323
|
} | {
|
|
212
324
|
path?: string | undefined;
|
|
213
325
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
326
|
+
} | {
|
|
327
|
+
match: ({
|
|
328
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
329
|
+
} | {
|
|
330
|
+
path?: string | undefined;
|
|
331
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
332
|
+
} | {
|
|
333
|
+
path?: string | undefined;
|
|
334
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
335
|
+
})[];
|
|
336
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
214
337
|
})[] | undefined;
|
|
215
338
|
name: string;
|
|
339
|
+
path?: string | undefined;
|
|
216
340
|
} | {
|
|
217
341
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
218
342
|
match?: ({
|
|
@@ -223,6 +347,41 @@ declare const rules: readonly [{
|
|
|
223
347
|
} | {
|
|
224
348
|
path?: string | undefined;
|
|
225
349
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
350
|
+
} | {
|
|
351
|
+
match: ({
|
|
352
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
353
|
+
} | {
|
|
354
|
+
path?: string | undefined;
|
|
355
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
356
|
+
} | {
|
|
357
|
+
path?: string | undefined;
|
|
358
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
359
|
+
})[];
|
|
360
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
361
|
+
})[] | undefined;
|
|
362
|
+
name?: string | undefined;
|
|
363
|
+
path: string;
|
|
364
|
+
} | {
|
|
365
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
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
|
+
match: ({
|
|
376
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
377
|
+
} | {
|
|
378
|
+
path?: string | undefined;
|
|
379
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
380
|
+
} | {
|
|
381
|
+
path?: string | undefined;
|
|
382
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
383
|
+
})[];
|
|
384
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
226
385
|
})[] | undefined;
|
|
227
386
|
name: string;
|
|
228
387
|
} | {
|
|
@@ -235,6 +394,17 @@ declare const rules: readonly [{
|
|
|
235
394
|
} | {
|
|
236
395
|
path?: string | undefined;
|
|
237
396
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
397
|
+
} | {
|
|
398
|
+
match: ({
|
|
399
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
400
|
+
} | {
|
|
401
|
+
path?: string | undefined;
|
|
402
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
403
|
+
} | {
|
|
404
|
+
path?: string | undefined;
|
|
405
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
406
|
+
})[];
|
|
407
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
238
408
|
})[] | undefined;
|
|
239
409
|
name: string;
|
|
240
410
|
})[];
|
|
@@ -273,6 +443,7 @@ declare const rules: readonly [{
|
|
|
273
443
|
} | undefined;
|
|
274
444
|
name: "enforce-consistent-important-position";
|
|
275
445
|
readonly options: {
|
|
446
|
+
cwd?: string | undefined;
|
|
276
447
|
rootFontSize?: number | undefined;
|
|
277
448
|
detectComponentClasses: boolean;
|
|
278
449
|
tsconfig?: string | undefined;
|
|
@@ -326,9 +497,22 @@ declare const rules: readonly [{
|
|
|
326
497
|
} | {
|
|
327
498
|
path?: string | undefined;
|
|
328
499
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
500
|
+
} | {
|
|
501
|
+
match: ({
|
|
502
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
503
|
+
} | {
|
|
504
|
+
path?: string | undefined;
|
|
505
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
506
|
+
} | {
|
|
507
|
+
path?: string | undefined;
|
|
508
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
509
|
+
})[];
|
|
510
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
329
511
|
})[] | undefined;
|
|
330
512
|
name: string;
|
|
331
513
|
path?: string | undefined;
|
|
514
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
515
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
332
516
|
} | {
|
|
333
517
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
334
518
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -340,11 +524,24 @@ declare const rules: readonly [{
|
|
|
340
524
|
} | {
|
|
341
525
|
path?: string | undefined;
|
|
342
526
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
527
|
+
} | {
|
|
528
|
+
match: ({
|
|
529
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
530
|
+
} | {
|
|
531
|
+
path?: string | undefined;
|
|
532
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
533
|
+
} | {
|
|
534
|
+
path?: string | undefined;
|
|
535
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
536
|
+
})[];
|
|
537
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
343
538
|
})[] | undefined;
|
|
344
539
|
name?: string | undefined;
|
|
345
540
|
path: string;
|
|
541
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
542
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
346
543
|
} | {
|
|
347
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
544
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
348
545
|
match?: ({
|
|
349
546
|
type: import("../types/rule.js").MatcherType.String;
|
|
350
547
|
} | {
|
|
@@ -353,8 +550,20 @@ declare const rules: readonly [{
|
|
|
353
550
|
} | {
|
|
354
551
|
path?: string | undefined;
|
|
355
552
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
553
|
+
} | {
|
|
554
|
+
match: ({
|
|
555
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
556
|
+
} | {
|
|
557
|
+
path?: string | undefined;
|
|
558
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
559
|
+
} | {
|
|
560
|
+
path?: string | undefined;
|
|
561
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
562
|
+
})[];
|
|
563
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
356
564
|
})[] | undefined;
|
|
357
565
|
name: string;
|
|
566
|
+
path?: string | undefined;
|
|
358
567
|
} | {
|
|
359
568
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
360
569
|
match?: ({
|
|
@@ -365,6 +574,41 @@ declare const rules: readonly [{
|
|
|
365
574
|
} | {
|
|
366
575
|
path?: string | undefined;
|
|
367
576
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
577
|
+
} | {
|
|
578
|
+
match: ({
|
|
579
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
580
|
+
} | {
|
|
581
|
+
path?: string | undefined;
|
|
582
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
583
|
+
} | {
|
|
584
|
+
path?: string | undefined;
|
|
585
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
586
|
+
})[];
|
|
587
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
588
|
+
})[] | undefined;
|
|
589
|
+
name?: string | undefined;
|
|
590
|
+
path: string;
|
|
591
|
+
} | {
|
|
592
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
593
|
+
match?: ({
|
|
594
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
595
|
+
} | {
|
|
596
|
+
path?: string | undefined;
|
|
597
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
598
|
+
} | {
|
|
599
|
+
path?: string | undefined;
|
|
600
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
601
|
+
} | {
|
|
602
|
+
match: ({
|
|
603
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
604
|
+
} | {
|
|
605
|
+
path?: string | undefined;
|
|
606
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
607
|
+
} | {
|
|
608
|
+
path?: string | undefined;
|
|
609
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
610
|
+
})[];
|
|
611
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
368
612
|
})[] | undefined;
|
|
369
613
|
name: string;
|
|
370
614
|
} | {
|
|
@@ -377,6 +621,17 @@ declare const rules: readonly [{
|
|
|
377
621
|
} | {
|
|
378
622
|
path?: string | undefined;
|
|
379
623
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
624
|
+
} | {
|
|
625
|
+
match: ({
|
|
626
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
627
|
+
} | {
|
|
628
|
+
path?: string | undefined;
|
|
629
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
630
|
+
} | {
|
|
631
|
+
path?: string | undefined;
|
|
632
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
633
|
+
})[];
|
|
634
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
380
635
|
})[] | undefined;
|
|
381
636
|
name: string;
|
|
382
637
|
})[];
|
|
@@ -389,6 +644,7 @@ declare const rules: readonly [{
|
|
|
389
644
|
LangOptions: Linter.LanguageOptions;
|
|
390
645
|
Code: import("eslint").SourceCode;
|
|
391
646
|
RuleOptions: [Required<{
|
|
647
|
+
cwd?: string | undefined;
|
|
392
648
|
rootFontSize?: number | undefined;
|
|
393
649
|
detectComponentClasses: boolean;
|
|
394
650
|
tsconfig?: string | undefined;
|
|
@@ -442,9 +698,22 @@ declare const rules: readonly [{
|
|
|
442
698
|
} | {
|
|
443
699
|
path?: string | undefined;
|
|
444
700
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
701
|
+
} | {
|
|
702
|
+
match: ({
|
|
703
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
704
|
+
} | {
|
|
705
|
+
path?: string | undefined;
|
|
706
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
707
|
+
} | {
|
|
708
|
+
path?: string | undefined;
|
|
709
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
710
|
+
})[];
|
|
711
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
445
712
|
})[] | undefined;
|
|
446
713
|
name: string;
|
|
447
714
|
path?: string | undefined;
|
|
715
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
716
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
448
717
|
} | {
|
|
449
718
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
450
719
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -456,11 +725,24 @@ declare const rules: readonly [{
|
|
|
456
725
|
} | {
|
|
457
726
|
path?: string | undefined;
|
|
458
727
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
728
|
+
} | {
|
|
729
|
+
match: ({
|
|
730
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
731
|
+
} | {
|
|
732
|
+
path?: string | undefined;
|
|
733
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
734
|
+
} | {
|
|
735
|
+
path?: string | undefined;
|
|
736
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
737
|
+
})[];
|
|
738
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
459
739
|
})[] | undefined;
|
|
460
740
|
name?: string | undefined;
|
|
461
741
|
path: string;
|
|
742
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
743
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
462
744
|
} | {
|
|
463
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
745
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
464
746
|
match?: ({
|
|
465
747
|
type: import("../types/rule.js").MatcherType.String;
|
|
466
748
|
} | {
|
|
@@ -469,8 +751,20 @@ declare const rules: readonly [{
|
|
|
469
751
|
} | {
|
|
470
752
|
path?: string | undefined;
|
|
471
753
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
754
|
+
} | {
|
|
755
|
+
match: ({
|
|
756
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
757
|
+
} | {
|
|
758
|
+
path?: string | undefined;
|
|
759
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
760
|
+
} | {
|
|
761
|
+
path?: string | undefined;
|
|
762
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
763
|
+
})[];
|
|
764
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
472
765
|
})[] | undefined;
|
|
473
766
|
name: string;
|
|
767
|
+
path?: string | undefined;
|
|
474
768
|
} | {
|
|
475
769
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
476
770
|
match?: ({
|
|
@@ -481,6 +775,41 @@ declare const rules: readonly [{
|
|
|
481
775
|
} | {
|
|
482
776
|
path?: string | undefined;
|
|
483
777
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
778
|
+
} | {
|
|
779
|
+
match: ({
|
|
780
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
781
|
+
} | {
|
|
782
|
+
path?: string | undefined;
|
|
783
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
784
|
+
} | {
|
|
785
|
+
path?: string | undefined;
|
|
786
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
787
|
+
})[];
|
|
788
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
789
|
+
})[] | undefined;
|
|
790
|
+
name?: string | undefined;
|
|
791
|
+
path: string;
|
|
792
|
+
} | {
|
|
793
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
794
|
+
match?: ({
|
|
795
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
796
|
+
} | {
|
|
797
|
+
path?: string | undefined;
|
|
798
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
799
|
+
} | {
|
|
800
|
+
path?: string | undefined;
|
|
801
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
802
|
+
} | {
|
|
803
|
+
match: ({
|
|
804
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
805
|
+
} | {
|
|
806
|
+
path?: string | undefined;
|
|
807
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
808
|
+
} | {
|
|
809
|
+
path?: string | undefined;
|
|
810
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
811
|
+
})[];
|
|
812
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
484
813
|
})[] | undefined;
|
|
485
814
|
name: string;
|
|
486
815
|
} | {
|
|
@@ -493,6 +822,17 @@ declare const rules: readonly [{
|
|
|
493
822
|
} | {
|
|
494
823
|
path?: string | undefined;
|
|
495
824
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
825
|
+
} | {
|
|
826
|
+
match: ({
|
|
827
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
828
|
+
} | {
|
|
829
|
+
path?: string | undefined;
|
|
830
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
831
|
+
} | {
|
|
832
|
+
path?: string | undefined;
|
|
833
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
834
|
+
})[];
|
|
835
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
496
836
|
})[] | undefined;
|
|
497
837
|
name: string;
|
|
498
838
|
})[];
|
|
@@ -528,6 +868,7 @@ declare const rules: readonly [{
|
|
|
528
868
|
} | undefined;
|
|
529
869
|
name: "enforce-consistent-line-wrapping";
|
|
530
870
|
readonly options: {
|
|
871
|
+
cwd?: string | undefined;
|
|
531
872
|
rootFontSize?: number | undefined;
|
|
532
873
|
detectComponentClasses: boolean;
|
|
533
874
|
tsconfig?: string | undefined;
|
|
@@ -581,9 +922,22 @@ declare const rules: readonly [{
|
|
|
581
922
|
} | {
|
|
582
923
|
path?: string | undefined;
|
|
583
924
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
925
|
+
} | {
|
|
926
|
+
match: ({
|
|
927
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
928
|
+
} | {
|
|
929
|
+
path?: string | undefined;
|
|
930
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
931
|
+
} | {
|
|
932
|
+
path?: string | undefined;
|
|
933
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
934
|
+
})[];
|
|
935
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
584
936
|
})[] | undefined;
|
|
585
937
|
name: string;
|
|
586
938
|
path?: string | undefined;
|
|
939
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
940
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
587
941
|
} | {
|
|
588
942
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
589
943
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -595,11 +949,24 @@ declare const rules: readonly [{
|
|
|
595
949
|
} | {
|
|
596
950
|
path?: string | undefined;
|
|
597
951
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
952
|
+
} | {
|
|
953
|
+
match: ({
|
|
954
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
955
|
+
} | {
|
|
956
|
+
path?: string | undefined;
|
|
957
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
958
|
+
} | {
|
|
959
|
+
path?: string | undefined;
|
|
960
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
961
|
+
})[];
|
|
962
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
598
963
|
})[] | undefined;
|
|
599
964
|
name?: string | undefined;
|
|
600
965
|
path: string;
|
|
966
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
967
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
601
968
|
} | {
|
|
602
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
969
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
603
970
|
match?: ({
|
|
604
971
|
type: import("../types/rule.js").MatcherType.String;
|
|
605
972
|
} | {
|
|
@@ -608,8 +975,20 @@ declare const rules: readonly [{
|
|
|
608
975
|
} | {
|
|
609
976
|
path?: string | undefined;
|
|
610
977
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
978
|
+
} | {
|
|
979
|
+
match: ({
|
|
980
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
981
|
+
} | {
|
|
982
|
+
path?: string | undefined;
|
|
983
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
984
|
+
} | {
|
|
985
|
+
path?: string | undefined;
|
|
986
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
987
|
+
})[];
|
|
988
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
611
989
|
})[] | undefined;
|
|
612
990
|
name: string;
|
|
991
|
+
path?: string | undefined;
|
|
613
992
|
} | {
|
|
614
993
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
615
994
|
match?: ({
|
|
@@ -620,6 +999,41 @@ declare const rules: readonly [{
|
|
|
620
999
|
} | {
|
|
621
1000
|
path?: string | undefined;
|
|
622
1001
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1002
|
+
} | {
|
|
1003
|
+
match: ({
|
|
1004
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1005
|
+
} | {
|
|
1006
|
+
path?: string | undefined;
|
|
1007
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1008
|
+
} | {
|
|
1009
|
+
path?: string | undefined;
|
|
1010
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1011
|
+
})[];
|
|
1012
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1013
|
+
})[] | undefined;
|
|
1014
|
+
name?: string | undefined;
|
|
1015
|
+
path: string;
|
|
1016
|
+
} | {
|
|
1017
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
1018
|
+
match?: ({
|
|
1019
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1020
|
+
} | {
|
|
1021
|
+
path?: string | undefined;
|
|
1022
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1023
|
+
} | {
|
|
1024
|
+
path?: string | undefined;
|
|
1025
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1026
|
+
} | {
|
|
1027
|
+
match: ({
|
|
1028
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1029
|
+
} | {
|
|
1030
|
+
path?: string | undefined;
|
|
1031
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1032
|
+
} | {
|
|
1033
|
+
path?: string | undefined;
|
|
1034
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1035
|
+
})[];
|
|
1036
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
623
1037
|
})[] | undefined;
|
|
624
1038
|
name: string;
|
|
625
1039
|
} | {
|
|
@@ -632,6 +1046,17 @@ declare const rules: readonly [{
|
|
|
632
1046
|
} | {
|
|
633
1047
|
path?: string | undefined;
|
|
634
1048
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1049
|
+
} | {
|
|
1050
|
+
match: ({
|
|
1051
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1052
|
+
} | {
|
|
1053
|
+
path?: string | undefined;
|
|
1054
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1055
|
+
} | {
|
|
1056
|
+
path?: string | undefined;
|
|
1057
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1058
|
+
})[];
|
|
1059
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
635
1060
|
})[] | undefined;
|
|
636
1061
|
name: string;
|
|
637
1062
|
})[];
|
|
@@ -650,6 +1075,7 @@ declare const rules: readonly [{
|
|
|
650
1075
|
LangOptions: Linter.LanguageOptions;
|
|
651
1076
|
Code: import("eslint").SourceCode;
|
|
652
1077
|
RuleOptions: [Required<{
|
|
1078
|
+
cwd?: string | undefined;
|
|
653
1079
|
rootFontSize?: number | undefined;
|
|
654
1080
|
detectComponentClasses: boolean;
|
|
655
1081
|
tsconfig?: string | undefined;
|
|
@@ -703,9 +1129,22 @@ declare const rules: readonly [{
|
|
|
703
1129
|
} | {
|
|
704
1130
|
path?: string | undefined;
|
|
705
1131
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1132
|
+
} | {
|
|
1133
|
+
match: ({
|
|
1134
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1135
|
+
} | {
|
|
1136
|
+
path?: string | undefined;
|
|
1137
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1138
|
+
} | {
|
|
1139
|
+
path?: string | undefined;
|
|
1140
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1141
|
+
})[];
|
|
1142
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
706
1143
|
})[] | undefined;
|
|
707
1144
|
name: string;
|
|
708
1145
|
path?: string | undefined;
|
|
1146
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
1147
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
709
1148
|
} | {
|
|
710
1149
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
711
1150
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -717,11 +1156,24 @@ declare const rules: readonly [{
|
|
|
717
1156
|
} | {
|
|
718
1157
|
path?: string | undefined;
|
|
719
1158
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1159
|
+
} | {
|
|
1160
|
+
match: ({
|
|
1161
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1162
|
+
} | {
|
|
1163
|
+
path?: string | undefined;
|
|
1164
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1165
|
+
} | {
|
|
1166
|
+
path?: string | undefined;
|
|
1167
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1168
|
+
})[];
|
|
1169
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
720
1170
|
})[] | undefined;
|
|
721
1171
|
name?: string | undefined;
|
|
722
1172
|
path: string;
|
|
1173
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
1174
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
723
1175
|
} | {
|
|
724
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
1176
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
725
1177
|
match?: ({
|
|
726
1178
|
type: import("../types/rule.js").MatcherType.String;
|
|
727
1179
|
} | {
|
|
@@ -730,8 +1182,20 @@ declare const rules: readonly [{
|
|
|
730
1182
|
} | {
|
|
731
1183
|
path?: string | undefined;
|
|
732
1184
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1185
|
+
} | {
|
|
1186
|
+
match: ({
|
|
1187
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1188
|
+
} | {
|
|
1189
|
+
path?: string | undefined;
|
|
1190
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1191
|
+
} | {
|
|
1192
|
+
path?: string | undefined;
|
|
1193
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1194
|
+
})[];
|
|
1195
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
733
1196
|
})[] | undefined;
|
|
734
1197
|
name: string;
|
|
1198
|
+
path?: string | undefined;
|
|
735
1199
|
} | {
|
|
736
1200
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
737
1201
|
match?: ({
|
|
@@ -742,6 +1206,41 @@ declare const rules: readonly [{
|
|
|
742
1206
|
} | {
|
|
743
1207
|
path?: string | undefined;
|
|
744
1208
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1209
|
+
} | {
|
|
1210
|
+
match: ({
|
|
1211
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1212
|
+
} | {
|
|
1213
|
+
path?: string | undefined;
|
|
1214
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1215
|
+
} | {
|
|
1216
|
+
path?: string | undefined;
|
|
1217
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1218
|
+
})[];
|
|
1219
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1220
|
+
})[] | undefined;
|
|
1221
|
+
name?: string | undefined;
|
|
1222
|
+
path: string;
|
|
1223
|
+
} | {
|
|
1224
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
1225
|
+
match?: ({
|
|
1226
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1227
|
+
} | {
|
|
1228
|
+
path?: string | undefined;
|
|
1229
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1230
|
+
} | {
|
|
1231
|
+
path?: string | undefined;
|
|
1232
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1233
|
+
} | {
|
|
1234
|
+
match: ({
|
|
1235
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1236
|
+
} | {
|
|
1237
|
+
path?: string | undefined;
|
|
1238
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1239
|
+
} | {
|
|
1240
|
+
path?: string | undefined;
|
|
1241
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1242
|
+
})[];
|
|
1243
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
745
1244
|
})[] | undefined;
|
|
746
1245
|
name: string;
|
|
747
1246
|
} | {
|
|
@@ -754,6 +1253,17 @@ declare const rules: readonly [{
|
|
|
754
1253
|
} | {
|
|
755
1254
|
path?: string | undefined;
|
|
756
1255
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1256
|
+
} | {
|
|
1257
|
+
match: ({
|
|
1258
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1259
|
+
} | {
|
|
1260
|
+
path?: string | undefined;
|
|
1261
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1262
|
+
} | {
|
|
1263
|
+
path?: string | undefined;
|
|
1264
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1265
|
+
})[];
|
|
1266
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
757
1267
|
})[] | undefined;
|
|
758
1268
|
name: string;
|
|
759
1269
|
})[];
|
|
@@ -791,10 +1301,11 @@ declare const rules: readonly [{
|
|
|
791
1301
|
}, {
|
|
792
1302
|
category: "stylistic";
|
|
793
1303
|
messages: {
|
|
794
|
-
readonly
|
|
1304
|
+
readonly order: "Incorrect variant order. '{{ className }}' should be '{{ fix }}'.";
|
|
795
1305
|
} | undefined;
|
|
796
|
-
name: "enforce-consistent-
|
|
1306
|
+
name: "enforce-consistent-variant-order";
|
|
797
1307
|
readonly options: {
|
|
1308
|
+
cwd?: string | undefined;
|
|
798
1309
|
rootFontSize?: number | undefined;
|
|
799
1310
|
detectComponentClasses: boolean;
|
|
800
1311
|
tsconfig?: string | undefined;
|
|
@@ -848,9 +1359,22 @@ declare const rules: readonly [{
|
|
|
848
1359
|
} | {
|
|
849
1360
|
path?: string | undefined;
|
|
850
1361
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1362
|
+
} | {
|
|
1363
|
+
match: ({
|
|
1364
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1365
|
+
} | {
|
|
1366
|
+
path?: string | undefined;
|
|
1367
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1368
|
+
} | {
|
|
1369
|
+
path?: string | undefined;
|
|
1370
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1371
|
+
})[];
|
|
1372
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
851
1373
|
})[] | undefined;
|
|
852
1374
|
name: string;
|
|
853
1375
|
path?: string | undefined;
|
|
1376
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
1377
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
854
1378
|
} | {
|
|
855
1379
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
856
1380
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -862,11 +1386,24 @@ declare const rules: readonly [{
|
|
|
862
1386
|
} | {
|
|
863
1387
|
path?: string | undefined;
|
|
864
1388
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1389
|
+
} | {
|
|
1390
|
+
match: ({
|
|
1391
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1392
|
+
} | {
|
|
1393
|
+
path?: string | undefined;
|
|
1394
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1395
|
+
} | {
|
|
1396
|
+
path?: string | undefined;
|
|
1397
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1398
|
+
})[];
|
|
1399
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
865
1400
|
})[] | undefined;
|
|
866
1401
|
name?: string | undefined;
|
|
867
1402
|
path: string;
|
|
1403
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
1404
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
868
1405
|
} | {
|
|
869
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
1406
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
870
1407
|
match?: ({
|
|
871
1408
|
type: import("../types/rule.js").MatcherType.String;
|
|
872
1409
|
} | {
|
|
@@ -875,8 +1412,20 @@ declare const rules: readonly [{
|
|
|
875
1412
|
} | {
|
|
876
1413
|
path?: string | undefined;
|
|
877
1414
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1415
|
+
} | {
|
|
1416
|
+
match: ({
|
|
1417
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1418
|
+
} | {
|
|
1419
|
+
path?: string | undefined;
|
|
1420
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1421
|
+
} | {
|
|
1422
|
+
path?: string | undefined;
|
|
1423
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1424
|
+
})[];
|
|
1425
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
878
1426
|
})[] | undefined;
|
|
879
1427
|
name: string;
|
|
1428
|
+
path?: string | undefined;
|
|
880
1429
|
} | {
|
|
881
1430
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
882
1431
|
match?: ({
|
|
@@ -887,10 +1436,22 @@ declare const rules: readonly [{
|
|
|
887
1436
|
} | {
|
|
888
1437
|
path?: string | undefined;
|
|
889
1438
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1439
|
+
} | {
|
|
1440
|
+
match: ({
|
|
1441
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1442
|
+
} | {
|
|
1443
|
+
path?: string | undefined;
|
|
1444
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1445
|
+
} | {
|
|
1446
|
+
path?: string | undefined;
|
|
1447
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1448
|
+
})[];
|
|
1449
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
890
1450
|
})[] | undefined;
|
|
891
|
-
name
|
|
1451
|
+
name?: string | undefined;
|
|
1452
|
+
path: string;
|
|
892
1453
|
} | {
|
|
893
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
1454
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
894
1455
|
match?: ({
|
|
895
1456
|
type: import("../types/rule.js").MatcherType.String;
|
|
896
1457
|
} | {
|
|
@@ -899,11 +1460,893 @@ declare const rules: readonly [{
|
|
|
899
1460
|
} | {
|
|
900
1461
|
path?: string | undefined;
|
|
901
1462
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1463
|
+
} | {
|
|
1464
|
+
match: ({
|
|
1465
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1466
|
+
} | {
|
|
1467
|
+
path?: string | undefined;
|
|
1468
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1469
|
+
} | {
|
|
1470
|
+
path?: string | undefined;
|
|
1471
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1472
|
+
})[];
|
|
1473
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1474
|
+
})[] | undefined;
|
|
1475
|
+
name: string;
|
|
1476
|
+
} | {
|
|
1477
|
+
kind: import("../types/rule.js").SelectorKind.Variable;
|
|
1478
|
+
match?: ({
|
|
1479
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1480
|
+
} | {
|
|
1481
|
+
path?: string | undefined;
|
|
1482
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1483
|
+
} | {
|
|
1484
|
+
path?: string | undefined;
|
|
1485
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1486
|
+
} | {
|
|
1487
|
+
match: ({
|
|
1488
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1489
|
+
} | {
|
|
1490
|
+
path?: string | undefined;
|
|
1491
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1492
|
+
} | {
|
|
1493
|
+
path?: string | undefined;
|
|
1494
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1495
|
+
})[];
|
|
1496
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1497
|
+
})[] | undefined;
|
|
1498
|
+
name: string;
|
|
1499
|
+
})[];
|
|
1500
|
+
} & {
|
|
1501
|
+
[x: string]: unknown;
|
|
1502
|
+
};
|
|
1503
|
+
recommended: false;
|
|
1504
|
+
rule: {
|
|
1505
|
+
create: (ctx: import("node_modules/@eslint/core/dist/cjs/types.cjs").RuleContext<{
|
|
1506
|
+
LangOptions: Linter.LanguageOptions;
|
|
1507
|
+
Code: import("eslint").SourceCode;
|
|
1508
|
+
RuleOptions: [Required<{
|
|
1509
|
+
cwd?: string | undefined;
|
|
1510
|
+
rootFontSize?: number | undefined;
|
|
1511
|
+
detectComponentClasses: boolean;
|
|
1512
|
+
tsconfig?: string | undefined;
|
|
1513
|
+
tailwindConfig?: string | undefined;
|
|
1514
|
+
messageStyle: "visual" | "compact" | "raw";
|
|
1515
|
+
entryPoint?: string | undefined;
|
|
1516
|
+
tags?: (string | [string, ({
|
|
1517
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1518
|
+
} | {
|
|
1519
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1520
|
+
pathPattern?: string | undefined;
|
|
1521
|
+
} | {
|
|
1522
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1523
|
+
pathPattern?: string | undefined;
|
|
1524
|
+
})[]])[] | undefined;
|
|
1525
|
+
variables?: (string | [string, ({
|
|
1526
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1527
|
+
} | {
|
|
1528
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1529
|
+
pathPattern?: string | undefined;
|
|
1530
|
+
} | {
|
|
1531
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1532
|
+
pathPattern?: string | undefined;
|
|
1533
|
+
})[]])[] | undefined;
|
|
1534
|
+
attributes?: (string | [string, ({
|
|
1535
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1536
|
+
} | {
|
|
1537
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1538
|
+
pathPattern?: string | undefined;
|
|
1539
|
+
} | {
|
|
1540
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1541
|
+
pathPattern?: string | undefined;
|
|
1542
|
+
})[]])[] | undefined;
|
|
1543
|
+
callees?: (string | [string, ({
|
|
1544
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1545
|
+
} | {
|
|
1546
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1547
|
+
pathPattern?: string | undefined;
|
|
1548
|
+
} | {
|
|
1549
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1550
|
+
pathPattern?: string | undefined;
|
|
1551
|
+
})[]])[] | undefined;
|
|
1552
|
+
selectors: ({
|
|
1553
|
+
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1554
|
+
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
1555
|
+
match?: ({
|
|
1556
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1557
|
+
} | {
|
|
1558
|
+
path?: string | undefined;
|
|
1559
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1560
|
+
} | {
|
|
1561
|
+
path?: string | undefined;
|
|
1562
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1563
|
+
} | {
|
|
1564
|
+
match: ({
|
|
1565
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1566
|
+
} | {
|
|
1567
|
+
path?: string | undefined;
|
|
1568
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1569
|
+
} | {
|
|
1570
|
+
path?: string | undefined;
|
|
1571
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1572
|
+
})[];
|
|
1573
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1574
|
+
})[] | undefined;
|
|
1575
|
+
name: string;
|
|
1576
|
+
path?: string | undefined;
|
|
1577
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
1578
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1579
|
+
} | {
|
|
1580
|
+
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1581
|
+
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
1582
|
+
match?: ({
|
|
1583
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1584
|
+
} | {
|
|
1585
|
+
path?: string | undefined;
|
|
1586
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1587
|
+
} | {
|
|
1588
|
+
path?: string | undefined;
|
|
1589
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1590
|
+
} | {
|
|
1591
|
+
match: ({
|
|
1592
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1593
|
+
} | {
|
|
1594
|
+
path?: string | undefined;
|
|
1595
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1596
|
+
} | {
|
|
1597
|
+
path?: string | undefined;
|
|
1598
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1599
|
+
})[];
|
|
1600
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1601
|
+
})[] | undefined;
|
|
1602
|
+
name?: string | undefined;
|
|
1603
|
+
path: string;
|
|
1604
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
1605
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1606
|
+
} | {
|
|
1607
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1608
|
+
match?: ({
|
|
1609
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1610
|
+
} | {
|
|
1611
|
+
path?: string | undefined;
|
|
1612
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1613
|
+
} | {
|
|
1614
|
+
path?: string | undefined;
|
|
1615
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1616
|
+
} | {
|
|
1617
|
+
match: ({
|
|
1618
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1619
|
+
} | {
|
|
1620
|
+
path?: string | undefined;
|
|
1621
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1622
|
+
} | {
|
|
1623
|
+
path?: string | undefined;
|
|
1624
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1625
|
+
})[];
|
|
1626
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1627
|
+
})[] | undefined;
|
|
1628
|
+
name: string;
|
|
1629
|
+
path?: string | undefined;
|
|
1630
|
+
} | {
|
|
1631
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1632
|
+
match?: ({
|
|
1633
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1634
|
+
} | {
|
|
1635
|
+
path?: string | undefined;
|
|
1636
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1637
|
+
} | {
|
|
1638
|
+
path?: string | undefined;
|
|
1639
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1640
|
+
} | {
|
|
1641
|
+
match: ({
|
|
1642
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1643
|
+
} | {
|
|
1644
|
+
path?: string | undefined;
|
|
1645
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1646
|
+
} | {
|
|
1647
|
+
path?: string | undefined;
|
|
1648
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1649
|
+
})[];
|
|
1650
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1651
|
+
})[] | undefined;
|
|
1652
|
+
name?: string | undefined;
|
|
1653
|
+
path: string;
|
|
1654
|
+
} | {
|
|
1655
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
1656
|
+
match?: ({
|
|
1657
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1658
|
+
} | {
|
|
1659
|
+
path?: string | undefined;
|
|
1660
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1661
|
+
} | {
|
|
1662
|
+
path?: string | undefined;
|
|
1663
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1664
|
+
} | {
|
|
1665
|
+
match: ({
|
|
1666
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1667
|
+
} | {
|
|
1668
|
+
path?: string | undefined;
|
|
1669
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1670
|
+
} | {
|
|
1671
|
+
path?: string | undefined;
|
|
1672
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1673
|
+
})[];
|
|
1674
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1675
|
+
})[] | undefined;
|
|
1676
|
+
name: string;
|
|
1677
|
+
} | {
|
|
1678
|
+
kind: import("../types/rule.js").SelectorKind.Variable;
|
|
1679
|
+
match?: ({
|
|
1680
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1681
|
+
} | {
|
|
1682
|
+
path?: string | undefined;
|
|
1683
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1684
|
+
} | {
|
|
1685
|
+
path?: string | undefined;
|
|
1686
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1687
|
+
} | {
|
|
1688
|
+
match: ({
|
|
1689
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1690
|
+
} | {
|
|
1691
|
+
path?: string | undefined;
|
|
1692
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1693
|
+
} | {
|
|
1694
|
+
path?: string | undefined;
|
|
1695
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1696
|
+
})[];
|
|
1697
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1698
|
+
})[] | undefined;
|
|
1699
|
+
name: string;
|
|
1700
|
+
})[];
|
|
1701
|
+
} & {
|
|
1702
|
+
[x: string]: unknown;
|
|
1703
|
+
}>];
|
|
1704
|
+
Node: import("eslint").JSSyntaxElement;
|
|
1705
|
+
MessageIds: "order";
|
|
1706
|
+
}>) => import("eslint").Rule.RuleListener;
|
|
1707
|
+
meta: {
|
|
1708
|
+
messages?: {
|
|
1709
|
+
readonly order: "Incorrect variant order. '{{ className }}' should be '{{ fix }}'.";
|
|
1710
|
+
};
|
|
1711
|
+
docs: {
|
|
1712
|
+
description: string;
|
|
1713
|
+
recommended: boolean;
|
|
1714
|
+
url: string;
|
|
1715
|
+
};
|
|
1716
|
+
fixable: "code" | undefined;
|
|
1717
|
+
schema: {
|
|
1718
|
+
additionalProperties: false;
|
|
1719
|
+
properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
|
|
1720
|
+
type: "object";
|
|
1721
|
+
}[];
|
|
1722
|
+
type: "problem" | "layout";
|
|
1723
|
+
};
|
|
1724
|
+
};
|
|
1725
|
+
}, {
|
|
1726
|
+
category: "stylistic";
|
|
1727
|
+
messages: {
|
|
1728
|
+
readonly incorrect: "Incorrect variable syntax: {{ className }}.";
|
|
1729
|
+
} | undefined;
|
|
1730
|
+
name: "enforce-consistent-variable-syntax";
|
|
1731
|
+
readonly options: {
|
|
1732
|
+
cwd?: string | undefined;
|
|
1733
|
+
rootFontSize?: number | undefined;
|
|
1734
|
+
detectComponentClasses: boolean;
|
|
1735
|
+
tsconfig?: string | undefined;
|
|
1736
|
+
tailwindConfig?: string | undefined;
|
|
1737
|
+
messageStyle: "visual" | "compact" | "raw";
|
|
1738
|
+
entryPoint?: string | undefined;
|
|
1739
|
+
tags?: (string | [string, ({
|
|
1740
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1741
|
+
} | {
|
|
1742
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1743
|
+
pathPattern?: string | undefined;
|
|
1744
|
+
} | {
|
|
1745
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1746
|
+
pathPattern?: string | undefined;
|
|
1747
|
+
})[]])[] | undefined;
|
|
1748
|
+
variables?: (string | [string, ({
|
|
1749
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1750
|
+
} | {
|
|
1751
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1752
|
+
pathPattern?: string | undefined;
|
|
1753
|
+
} | {
|
|
1754
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1755
|
+
pathPattern?: string | undefined;
|
|
1756
|
+
})[]])[] | undefined;
|
|
1757
|
+
attributes?: (string | [string, ({
|
|
1758
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1759
|
+
} | {
|
|
1760
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1761
|
+
pathPattern?: string | undefined;
|
|
1762
|
+
} | {
|
|
1763
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1764
|
+
pathPattern?: string | undefined;
|
|
1765
|
+
})[]])[] | undefined;
|
|
1766
|
+
callees?: (string | [string, ({
|
|
1767
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1768
|
+
} | {
|
|
1769
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1770
|
+
pathPattern?: string | undefined;
|
|
1771
|
+
} | {
|
|
1772
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1773
|
+
pathPattern?: string | undefined;
|
|
1774
|
+
})[]])[] | undefined;
|
|
1775
|
+
selectors: ({
|
|
1776
|
+
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1777
|
+
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
1778
|
+
match?: ({
|
|
1779
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1780
|
+
} | {
|
|
1781
|
+
path?: string | undefined;
|
|
1782
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1783
|
+
} | {
|
|
1784
|
+
path?: string | undefined;
|
|
1785
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1786
|
+
} | {
|
|
1787
|
+
match: ({
|
|
1788
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1789
|
+
} | {
|
|
1790
|
+
path?: string | undefined;
|
|
1791
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1792
|
+
} | {
|
|
1793
|
+
path?: string | undefined;
|
|
1794
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1795
|
+
})[];
|
|
1796
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1797
|
+
})[] | undefined;
|
|
1798
|
+
name: string;
|
|
1799
|
+
path?: string | undefined;
|
|
1800
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
1801
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1802
|
+
} | {
|
|
1803
|
+
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1804
|
+
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
1805
|
+
match?: ({
|
|
1806
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1807
|
+
} | {
|
|
1808
|
+
path?: string | undefined;
|
|
1809
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1810
|
+
} | {
|
|
1811
|
+
path?: string | undefined;
|
|
1812
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1813
|
+
} | {
|
|
1814
|
+
match: ({
|
|
1815
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1816
|
+
} | {
|
|
1817
|
+
path?: string | undefined;
|
|
1818
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1819
|
+
} | {
|
|
1820
|
+
path?: string | undefined;
|
|
1821
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1822
|
+
})[];
|
|
1823
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1824
|
+
})[] | undefined;
|
|
1825
|
+
name?: string | undefined;
|
|
1826
|
+
path: string;
|
|
1827
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
1828
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1829
|
+
} | {
|
|
1830
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1831
|
+
match?: ({
|
|
1832
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1833
|
+
} | {
|
|
1834
|
+
path?: string | undefined;
|
|
1835
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1836
|
+
} | {
|
|
1837
|
+
path?: string | undefined;
|
|
1838
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1839
|
+
} | {
|
|
1840
|
+
match: ({
|
|
1841
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1842
|
+
} | {
|
|
1843
|
+
path?: string | undefined;
|
|
1844
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1845
|
+
} | {
|
|
1846
|
+
path?: string | undefined;
|
|
1847
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1848
|
+
})[];
|
|
1849
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1850
|
+
})[] | undefined;
|
|
1851
|
+
name: string;
|
|
1852
|
+
path?: string | undefined;
|
|
1853
|
+
} | {
|
|
1854
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1855
|
+
match?: ({
|
|
1856
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1857
|
+
} | {
|
|
1858
|
+
path?: string | undefined;
|
|
1859
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1860
|
+
} | {
|
|
1861
|
+
path?: string | undefined;
|
|
1862
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1863
|
+
} | {
|
|
1864
|
+
match: ({
|
|
1865
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1866
|
+
} | {
|
|
1867
|
+
path?: string | undefined;
|
|
1868
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1869
|
+
} | {
|
|
1870
|
+
path?: string | undefined;
|
|
1871
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1872
|
+
})[];
|
|
1873
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1874
|
+
})[] | undefined;
|
|
1875
|
+
name?: string | undefined;
|
|
1876
|
+
path: string;
|
|
1877
|
+
} | {
|
|
1878
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
1879
|
+
match?: ({
|
|
1880
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1881
|
+
} | {
|
|
1882
|
+
path?: string | undefined;
|
|
1883
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1884
|
+
} | {
|
|
1885
|
+
path?: string | undefined;
|
|
1886
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1887
|
+
} | {
|
|
1888
|
+
match: ({
|
|
1889
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1890
|
+
} | {
|
|
1891
|
+
path?: string | undefined;
|
|
1892
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1893
|
+
} | {
|
|
1894
|
+
path?: string | undefined;
|
|
1895
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1896
|
+
})[];
|
|
1897
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1898
|
+
})[] | undefined;
|
|
1899
|
+
name: string;
|
|
1900
|
+
} | {
|
|
1901
|
+
kind: import("../types/rule.js").SelectorKind.Variable;
|
|
1902
|
+
match?: ({
|
|
1903
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1904
|
+
} | {
|
|
1905
|
+
path?: string | undefined;
|
|
1906
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1907
|
+
} | {
|
|
1908
|
+
path?: string | undefined;
|
|
1909
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1910
|
+
} | {
|
|
1911
|
+
match: ({
|
|
1912
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1913
|
+
} | {
|
|
1914
|
+
path?: string | undefined;
|
|
1915
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1916
|
+
} | {
|
|
1917
|
+
path?: string | undefined;
|
|
1918
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1919
|
+
})[];
|
|
1920
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1921
|
+
})[] | undefined;
|
|
1922
|
+
name: string;
|
|
1923
|
+
})[];
|
|
1924
|
+
} & {
|
|
1925
|
+
syntax: "variable" | "shorthand";
|
|
1926
|
+
};
|
|
1927
|
+
recommended: false;
|
|
1928
|
+
rule: {
|
|
1929
|
+
create: (ctx: import("node_modules/@eslint/core/dist/cjs/types.cjs").RuleContext<{
|
|
1930
|
+
LangOptions: Linter.LanguageOptions;
|
|
1931
|
+
Code: import("eslint").SourceCode;
|
|
1932
|
+
RuleOptions: [Required<{
|
|
1933
|
+
cwd?: string | undefined;
|
|
1934
|
+
rootFontSize?: number | undefined;
|
|
1935
|
+
detectComponentClasses: boolean;
|
|
1936
|
+
tsconfig?: string | undefined;
|
|
1937
|
+
tailwindConfig?: string | undefined;
|
|
1938
|
+
messageStyle: "visual" | "compact" | "raw";
|
|
1939
|
+
entryPoint?: string | undefined;
|
|
1940
|
+
tags?: (string | [string, ({
|
|
1941
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1942
|
+
} | {
|
|
1943
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1944
|
+
pathPattern?: string | undefined;
|
|
1945
|
+
} | {
|
|
1946
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1947
|
+
pathPattern?: string | undefined;
|
|
1948
|
+
})[]])[] | undefined;
|
|
1949
|
+
variables?: (string | [string, ({
|
|
1950
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1951
|
+
} | {
|
|
1952
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1953
|
+
pathPattern?: string | undefined;
|
|
1954
|
+
} | {
|
|
1955
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1956
|
+
pathPattern?: string | undefined;
|
|
1957
|
+
})[]])[] | undefined;
|
|
1958
|
+
attributes?: (string | [string, ({
|
|
1959
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1960
|
+
} | {
|
|
1961
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1962
|
+
pathPattern?: string | undefined;
|
|
1963
|
+
} | {
|
|
1964
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1965
|
+
pathPattern?: string | undefined;
|
|
1966
|
+
})[]])[] | undefined;
|
|
1967
|
+
callees?: (string | [string, ({
|
|
1968
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
1969
|
+
} | {
|
|
1970
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1971
|
+
pathPattern?: string | undefined;
|
|
1972
|
+
} | {
|
|
1973
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1974
|
+
pathPattern?: string | undefined;
|
|
1975
|
+
})[]])[] | undefined;
|
|
1976
|
+
selectors: ({
|
|
1977
|
+
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1978
|
+
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
1979
|
+
match?: ({
|
|
1980
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1981
|
+
} | {
|
|
1982
|
+
path?: string | undefined;
|
|
1983
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1984
|
+
} | {
|
|
1985
|
+
path?: string | undefined;
|
|
1986
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1987
|
+
} | {
|
|
1988
|
+
match: ({
|
|
1989
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
1990
|
+
} | {
|
|
1991
|
+
path?: string | undefined;
|
|
1992
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
1993
|
+
} | {
|
|
1994
|
+
path?: string | undefined;
|
|
1995
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
1996
|
+
})[];
|
|
1997
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1998
|
+
})[] | undefined;
|
|
1999
|
+
name: string;
|
|
2000
|
+
path?: string | undefined;
|
|
2001
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2002
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2003
|
+
} | {
|
|
2004
|
+
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2005
|
+
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
2006
|
+
match?: ({
|
|
2007
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2008
|
+
} | {
|
|
2009
|
+
path?: string | undefined;
|
|
2010
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2011
|
+
} | {
|
|
2012
|
+
path?: string | undefined;
|
|
2013
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2014
|
+
} | {
|
|
2015
|
+
match: ({
|
|
2016
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2017
|
+
} | {
|
|
2018
|
+
path?: string | undefined;
|
|
2019
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2020
|
+
} | {
|
|
2021
|
+
path?: string | undefined;
|
|
2022
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2023
|
+
})[];
|
|
2024
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2025
|
+
})[] | undefined;
|
|
2026
|
+
name?: string | undefined;
|
|
2027
|
+
path: string;
|
|
2028
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2029
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2030
|
+
} | {
|
|
2031
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2032
|
+
match?: ({
|
|
2033
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2034
|
+
} | {
|
|
2035
|
+
path?: string | undefined;
|
|
2036
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2037
|
+
} | {
|
|
2038
|
+
path?: string | undefined;
|
|
2039
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2040
|
+
} | {
|
|
2041
|
+
match: ({
|
|
2042
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2043
|
+
} | {
|
|
2044
|
+
path?: string | undefined;
|
|
2045
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2046
|
+
} | {
|
|
2047
|
+
path?: string | undefined;
|
|
2048
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2049
|
+
})[];
|
|
2050
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2051
|
+
})[] | undefined;
|
|
2052
|
+
name: string;
|
|
2053
|
+
path?: string | undefined;
|
|
2054
|
+
} | {
|
|
2055
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2056
|
+
match?: ({
|
|
2057
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2058
|
+
} | {
|
|
2059
|
+
path?: string | undefined;
|
|
2060
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2061
|
+
} | {
|
|
2062
|
+
path?: string | undefined;
|
|
2063
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2064
|
+
} | {
|
|
2065
|
+
match: ({
|
|
2066
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2067
|
+
} | {
|
|
2068
|
+
path?: string | undefined;
|
|
2069
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2070
|
+
} | {
|
|
2071
|
+
path?: string | undefined;
|
|
2072
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2073
|
+
})[];
|
|
2074
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2075
|
+
})[] | undefined;
|
|
2076
|
+
name?: string | undefined;
|
|
2077
|
+
path: string;
|
|
2078
|
+
} | {
|
|
2079
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
2080
|
+
match?: ({
|
|
2081
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2082
|
+
} | {
|
|
2083
|
+
path?: string | undefined;
|
|
2084
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2085
|
+
} | {
|
|
2086
|
+
path?: string | undefined;
|
|
2087
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2088
|
+
} | {
|
|
2089
|
+
match: ({
|
|
2090
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2091
|
+
} | {
|
|
2092
|
+
path?: string | undefined;
|
|
2093
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2094
|
+
} | {
|
|
2095
|
+
path?: string | undefined;
|
|
2096
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2097
|
+
})[];
|
|
2098
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2099
|
+
})[] | undefined;
|
|
2100
|
+
name: string;
|
|
2101
|
+
} | {
|
|
2102
|
+
kind: import("../types/rule.js").SelectorKind.Variable;
|
|
2103
|
+
match?: ({
|
|
2104
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2105
|
+
} | {
|
|
2106
|
+
path?: string | undefined;
|
|
2107
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2108
|
+
} | {
|
|
2109
|
+
path?: string | undefined;
|
|
2110
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2111
|
+
} | {
|
|
2112
|
+
match: ({
|
|
2113
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2114
|
+
} | {
|
|
2115
|
+
path?: string | undefined;
|
|
2116
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2117
|
+
} | {
|
|
2118
|
+
path?: string | undefined;
|
|
2119
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2120
|
+
})[];
|
|
2121
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2122
|
+
})[] | undefined;
|
|
2123
|
+
name: string;
|
|
2124
|
+
})[];
|
|
2125
|
+
} & {
|
|
2126
|
+
syntax: "variable" | "shorthand";
|
|
2127
|
+
}>];
|
|
2128
|
+
Node: import("eslint").JSSyntaxElement;
|
|
2129
|
+
MessageIds: "incorrect";
|
|
2130
|
+
}>) => import("eslint").Rule.RuleListener;
|
|
2131
|
+
meta: {
|
|
2132
|
+
messages?: {
|
|
2133
|
+
readonly incorrect: "Incorrect variable syntax: {{ className }}.";
|
|
2134
|
+
};
|
|
2135
|
+
docs: {
|
|
2136
|
+
description: string;
|
|
2137
|
+
recommended: boolean;
|
|
2138
|
+
url: string;
|
|
2139
|
+
};
|
|
2140
|
+
fixable: "code" | undefined;
|
|
2141
|
+
schema: {
|
|
2142
|
+
additionalProperties: false;
|
|
2143
|
+
properties: Record<string, boolean | import("@valibot/to-json-schema").JsonSchema> | undefined;
|
|
2144
|
+
type: "object";
|
|
2145
|
+
}[];
|
|
2146
|
+
type: "problem" | "layout";
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
2149
|
+
}, {
|
|
2150
|
+
category: "stylistic";
|
|
2151
|
+
messages: {
|
|
2152
|
+
readonly replaceable: "Physical class detected. Replace \"{{ className }}\" with logical class \"{{fix}}\".";
|
|
2153
|
+
} | undefined;
|
|
2154
|
+
name: "enforce-logical-properties";
|
|
2155
|
+
readonly options: {
|
|
2156
|
+
cwd?: string | undefined;
|
|
2157
|
+
rootFontSize?: number | undefined;
|
|
2158
|
+
detectComponentClasses: boolean;
|
|
2159
|
+
tsconfig?: string | undefined;
|
|
2160
|
+
tailwindConfig?: string | undefined;
|
|
2161
|
+
messageStyle: "visual" | "compact" | "raw";
|
|
2162
|
+
entryPoint?: string | undefined;
|
|
2163
|
+
tags?: (string | [string, ({
|
|
2164
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
2165
|
+
} | {
|
|
2166
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2167
|
+
pathPattern?: string | undefined;
|
|
2168
|
+
} | {
|
|
2169
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2170
|
+
pathPattern?: string | undefined;
|
|
2171
|
+
})[]])[] | undefined;
|
|
2172
|
+
variables?: (string | [string, ({
|
|
2173
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
2174
|
+
} | {
|
|
2175
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2176
|
+
pathPattern?: string | undefined;
|
|
2177
|
+
} | {
|
|
2178
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2179
|
+
pathPattern?: string | undefined;
|
|
2180
|
+
})[]])[] | undefined;
|
|
2181
|
+
attributes?: (string | [string, ({
|
|
2182
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
2183
|
+
} | {
|
|
2184
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2185
|
+
pathPattern?: string | undefined;
|
|
2186
|
+
} | {
|
|
2187
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2188
|
+
pathPattern?: string | undefined;
|
|
2189
|
+
})[]])[] | undefined;
|
|
2190
|
+
callees?: (string | [string, ({
|
|
2191
|
+
match: import("../types/rule.js").MatcherType.String;
|
|
2192
|
+
} | {
|
|
2193
|
+
match: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2194
|
+
pathPattern?: string | undefined;
|
|
2195
|
+
} | {
|
|
2196
|
+
match: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2197
|
+
pathPattern?: string | undefined;
|
|
2198
|
+
})[]])[] | undefined;
|
|
2199
|
+
selectors: ({
|
|
2200
|
+
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2201
|
+
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
2202
|
+
match?: ({
|
|
2203
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2204
|
+
} | {
|
|
2205
|
+
path?: string | undefined;
|
|
2206
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2207
|
+
} | {
|
|
2208
|
+
path?: string | undefined;
|
|
2209
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2210
|
+
} | {
|
|
2211
|
+
match: ({
|
|
2212
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2213
|
+
} | {
|
|
2214
|
+
path?: string | undefined;
|
|
2215
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2216
|
+
} | {
|
|
2217
|
+
path?: string | undefined;
|
|
2218
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2219
|
+
})[];
|
|
2220
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2221
|
+
})[] | undefined;
|
|
2222
|
+
name: string;
|
|
2223
|
+
path?: string | undefined;
|
|
2224
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2225
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2226
|
+
} | {
|
|
2227
|
+
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2228
|
+
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
2229
|
+
match?: ({
|
|
2230
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2231
|
+
} | {
|
|
2232
|
+
path?: string | undefined;
|
|
2233
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2234
|
+
} | {
|
|
2235
|
+
path?: string | undefined;
|
|
2236
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2237
|
+
} | {
|
|
2238
|
+
match: ({
|
|
2239
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2240
|
+
} | {
|
|
2241
|
+
path?: string | undefined;
|
|
2242
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2243
|
+
} | {
|
|
2244
|
+
path?: string | undefined;
|
|
2245
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2246
|
+
})[];
|
|
2247
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2248
|
+
})[] | undefined;
|
|
2249
|
+
name?: string | undefined;
|
|
2250
|
+
path: string;
|
|
2251
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2252
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2253
|
+
} | {
|
|
2254
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2255
|
+
match?: ({
|
|
2256
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2257
|
+
} | {
|
|
2258
|
+
path?: string | undefined;
|
|
2259
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2260
|
+
} | {
|
|
2261
|
+
path?: string | undefined;
|
|
2262
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2263
|
+
} | {
|
|
2264
|
+
match: ({
|
|
2265
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2266
|
+
} | {
|
|
2267
|
+
path?: string | undefined;
|
|
2268
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2269
|
+
} | {
|
|
2270
|
+
path?: string | undefined;
|
|
2271
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2272
|
+
})[];
|
|
2273
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2274
|
+
})[] | undefined;
|
|
2275
|
+
name: string;
|
|
2276
|
+
path?: string | undefined;
|
|
2277
|
+
} | {
|
|
2278
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2279
|
+
match?: ({
|
|
2280
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2281
|
+
} | {
|
|
2282
|
+
path?: string | undefined;
|
|
2283
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2284
|
+
} | {
|
|
2285
|
+
path?: string | undefined;
|
|
2286
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2287
|
+
} | {
|
|
2288
|
+
match: ({
|
|
2289
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2290
|
+
} | {
|
|
2291
|
+
path?: string | undefined;
|
|
2292
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2293
|
+
} | {
|
|
2294
|
+
path?: string | undefined;
|
|
2295
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2296
|
+
})[];
|
|
2297
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2298
|
+
})[] | undefined;
|
|
2299
|
+
name?: string | undefined;
|
|
2300
|
+
path: string;
|
|
2301
|
+
} | {
|
|
2302
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
2303
|
+
match?: ({
|
|
2304
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2305
|
+
} | {
|
|
2306
|
+
path?: string | undefined;
|
|
2307
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2308
|
+
} | {
|
|
2309
|
+
path?: string | undefined;
|
|
2310
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2311
|
+
} | {
|
|
2312
|
+
match: ({
|
|
2313
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2314
|
+
} | {
|
|
2315
|
+
path?: string | undefined;
|
|
2316
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2317
|
+
} | {
|
|
2318
|
+
path?: string | undefined;
|
|
2319
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2320
|
+
})[];
|
|
2321
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2322
|
+
})[] | undefined;
|
|
2323
|
+
name: string;
|
|
2324
|
+
} | {
|
|
2325
|
+
kind: import("../types/rule.js").SelectorKind.Variable;
|
|
2326
|
+
match?: ({
|
|
2327
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2328
|
+
} | {
|
|
2329
|
+
path?: string | undefined;
|
|
2330
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2331
|
+
} | {
|
|
2332
|
+
path?: string | undefined;
|
|
2333
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2334
|
+
} | {
|
|
2335
|
+
match: ({
|
|
2336
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2337
|
+
} | {
|
|
2338
|
+
path?: string | undefined;
|
|
2339
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2340
|
+
} | {
|
|
2341
|
+
path?: string | undefined;
|
|
2342
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2343
|
+
})[];
|
|
2344
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
902
2345
|
})[] | undefined;
|
|
903
2346
|
name: string;
|
|
904
2347
|
})[];
|
|
905
2348
|
} & {
|
|
906
|
-
|
|
2349
|
+
[x: string]: unknown;
|
|
907
2350
|
};
|
|
908
2351
|
recommended: false;
|
|
909
2352
|
rule: {
|
|
@@ -911,6 +2354,7 @@ declare const rules: readonly [{
|
|
|
911
2354
|
LangOptions: Linter.LanguageOptions;
|
|
912
2355
|
Code: import("eslint").SourceCode;
|
|
913
2356
|
RuleOptions: [Required<{
|
|
2357
|
+
cwd?: string | undefined;
|
|
914
2358
|
rootFontSize?: number | undefined;
|
|
915
2359
|
detectComponentClasses: boolean;
|
|
916
2360
|
tsconfig?: string | undefined;
|
|
@@ -964,9 +2408,22 @@ declare const rules: readonly [{
|
|
|
964
2408
|
} | {
|
|
965
2409
|
path?: string | undefined;
|
|
966
2410
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2411
|
+
} | {
|
|
2412
|
+
match: ({
|
|
2413
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2414
|
+
} | {
|
|
2415
|
+
path?: string | undefined;
|
|
2416
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2417
|
+
} | {
|
|
2418
|
+
path?: string | undefined;
|
|
2419
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2420
|
+
})[];
|
|
2421
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
967
2422
|
})[] | undefined;
|
|
968
2423
|
name: string;
|
|
969
2424
|
path?: string | undefined;
|
|
2425
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2426
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
970
2427
|
} | {
|
|
971
2428
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
972
2429
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -978,11 +2435,24 @@ declare const rules: readonly [{
|
|
|
978
2435
|
} | {
|
|
979
2436
|
path?: string | undefined;
|
|
980
2437
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2438
|
+
} | {
|
|
2439
|
+
match: ({
|
|
2440
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2441
|
+
} | {
|
|
2442
|
+
path?: string | undefined;
|
|
2443
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2444
|
+
} | {
|
|
2445
|
+
path?: string | undefined;
|
|
2446
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2447
|
+
})[];
|
|
2448
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
981
2449
|
})[] | undefined;
|
|
982
2450
|
name?: string | undefined;
|
|
983
2451
|
path: string;
|
|
2452
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2453
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
984
2454
|
} | {
|
|
985
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
2455
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
986
2456
|
match?: ({
|
|
987
2457
|
type: import("../types/rule.js").MatcherType.String;
|
|
988
2458
|
} | {
|
|
@@ -991,8 +2461,20 @@ declare const rules: readonly [{
|
|
|
991
2461
|
} | {
|
|
992
2462
|
path?: string | undefined;
|
|
993
2463
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2464
|
+
} | {
|
|
2465
|
+
match: ({
|
|
2466
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2467
|
+
} | {
|
|
2468
|
+
path?: string | undefined;
|
|
2469
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2470
|
+
} | {
|
|
2471
|
+
path?: string | undefined;
|
|
2472
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2473
|
+
})[];
|
|
2474
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
994
2475
|
})[] | undefined;
|
|
995
2476
|
name: string;
|
|
2477
|
+
path?: string | undefined;
|
|
996
2478
|
} | {
|
|
997
2479
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
998
2480
|
match?: ({
|
|
@@ -1003,6 +2485,41 @@ declare const rules: readonly [{
|
|
|
1003
2485
|
} | {
|
|
1004
2486
|
path?: string | undefined;
|
|
1005
2487
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2488
|
+
} | {
|
|
2489
|
+
match: ({
|
|
2490
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2491
|
+
} | {
|
|
2492
|
+
path?: string | undefined;
|
|
2493
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2494
|
+
} | {
|
|
2495
|
+
path?: string | undefined;
|
|
2496
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2497
|
+
})[];
|
|
2498
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2499
|
+
})[] | undefined;
|
|
2500
|
+
name?: string | undefined;
|
|
2501
|
+
path: string;
|
|
2502
|
+
} | {
|
|
2503
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
2504
|
+
match?: ({
|
|
2505
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2506
|
+
} | {
|
|
2507
|
+
path?: string | undefined;
|
|
2508
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2509
|
+
} | {
|
|
2510
|
+
path?: string | undefined;
|
|
2511
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2512
|
+
} | {
|
|
2513
|
+
match: ({
|
|
2514
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2515
|
+
} | {
|
|
2516
|
+
path?: string | undefined;
|
|
2517
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2518
|
+
} | {
|
|
2519
|
+
path?: string | undefined;
|
|
2520
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2521
|
+
})[];
|
|
2522
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1006
2523
|
})[] | undefined;
|
|
1007
2524
|
name: string;
|
|
1008
2525
|
} | {
|
|
@@ -1015,18 +2532,29 @@ declare const rules: readonly [{
|
|
|
1015
2532
|
} | {
|
|
1016
2533
|
path?: string | undefined;
|
|
1017
2534
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2535
|
+
} | {
|
|
2536
|
+
match: ({
|
|
2537
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2538
|
+
} | {
|
|
2539
|
+
path?: string | undefined;
|
|
2540
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2541
|
+
} | {
|
|
2542
|
+
path?: string | undefined;
|
|
2543
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2544
|
+
})[];
|
|
2545
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1018
2546
|
})[] | undefined;
|
|
1019
2547
|
name: string;
|
|
1020
2548
|
})[];
|
|
1021
2549
|
} & {
|
|
1022
|
-
|
|
2550
|
+
[x: string]: unknown;
|
|
1023
2551
|
}>];
|
|
1024
2552
|
Node: import("eslint").JSSyntaxElement;
|
|
1025
|
-
MessageIds: "
|
|
2553
|
+
MessageIds: "replaceable";
|
|
1026
2554
|
}>) => import("eslint").Rule.RuleListener;
|
|
1027
2555
|
meta: {
|
|
1028
2556
|
messages?: {
|
|
1029
|
-
readonly
|
|
2557
|
+
readonly replaceable: "Physical class detected. Replace \"{{ className }}\" with logical class \"{{fix}}\".";
|
|
1030
2558
|
};
|
|
1031
2559
|
docs: {
|
|
1032
2560
|
description: string;
|
|
@@ -1050,6 +2578,7 @@ declare const rules: readonly [{
|
|
|
1050
2578
|
} | undefined;
|
|
1051
2579
|
name: "enforce-shorthand-classes";
|
|
1052
2580
|
readonly options: {
|
|
2581
|
+
cwd?: string | undefined;
|
|
1053
2582
|
rootFontSize?: number | undefined;
|
|
1054
2583
|
detectComponentClasses: boolean;
|
|
1055
2584
|
tsconfig?: string | undefined;
|
|
@@ -1103,9 +2632,22 @@ declare const rules: readonly [{
|
|
|
1103
2632
|
} | {
|
|
1104
2633
|
path?: string | undefined;
|
|
1105
2634
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2635
|
+
} | {
|
|
2636
|
+
match: ({
|
|
2637
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2638
|
+
} | {
|
|
2639
|
+
path?: string | undefined;
|
|
2640
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2641
|
+
} | {
|
|
2642
|
+
path?: string | undefined;
|
|
2643
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2644
|
+
})[];
|
|
2645
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1106
2646
|
})[] | undefined;
|
|
1107
2647
|
name: string;
|
|
1108
2648
|
path?: string | undefined;
|
|
2649
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2650
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1109
2651
|
} | {
|
|
1110
2652
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1111
2653
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -1117,11 +2659,24 @@ declare const rules: readonly [{
|
|
|
1117
2659
|
} | {
|
|
1118
2660
|
path?: string | undefined;
|
|
1119
2661
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2662
|
+
} | {
|
|
2663
|
+
match: ({
|
|
2664
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2665
|
+
} | {
|
|
2666
|
+
path?: string | undefined;
|
|
2667
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2668
|
+
} | {
|
|
2669
|
+
path?: string | undefined;
|
|
2670
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2671
|
+
})[];
|
|
2672
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1120
2673
|
})[] | undefined;
|
|
1121
2674
|
name?: string | undefined;
|
|
1122
2675
|
path: string;
|
|
2676
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2677
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1123
2678
|
} | {
|
|
1124
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
2679
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1125
2680
|
match?: ({
|
|
1126
2681
|
type: import("../types/rule.js").MatcherType.String;
|
|
1127
2682
|
} | {
|
|
@@ -1130,8 +2685,20 @@ declare const rules: readonly [{
|
|
|
1130
2685
|
} | {
|
|
1131
2686
|
path?: string | undefined;
|
|
1132
2687
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2688
|
+
} | {
|
|
2689
|
+
match: ({
|
|
2690
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2691
|
+
} | {
|
|
2692
|
+
path?: string | undefined;
|
|
2693
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2694
|
+
} | {
|
|
2695
|
+
path?: string | undefined;
|
|
2696
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2697
|
+
})[];
|
|
2698
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1133
2699
|
})[] | undefined;
|
|
1134
2700
|
name: string;
|
|
2701
|
+
path?: string | undefined;
|
|
1135
2702
|
} | {
|
|
1136
2703
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1137
2704
|
match?: ({
|
|
@@ -1142,6 +2709,41 @@ declare const rules: readonly [{
|
|
|
1142
2709
|
} | {
|
|
1143
2710
|
path?: string | undefined;
|
|
1144
2711
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2712
|
+
} | {
|
|
2713
|
+
match: ({
|
|
2714
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2715
|
+
} | {
|
|
2716
|
+
path?: string | undefined;
|
|
2717
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2718
|
+
} | {
|
|
2719
|
+
path?: string | undefined;
|
|
2720
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2721
|
+
})[];
|
|
2722
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2723
|
+
})[] | undefined;
|
|
2724
|
+
name?: string | undefined;
|
|
2725
|
+
path: string;
|
|
2726
|
+
} | {
|
|
2727
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
2728
|
+
match?: ({
|
|
2729
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2730
|
+
} | {
|
|
2731
|
+
path?: string | undefined;
|
|
2732
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2733
|
+
} | {
|
|
2734
|
+
path?: string | undefined;
|
|
2735
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2736
|
+
} | {
|
|
2737
|
+
match: ({
|
|
2738
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2739
|
+
} | {
|
|
2740
|
+
path?: string | undefined;
|
|
2741
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2742
|
+
} | {
|
|
2743
|
+
path?: string | undefined;
|
|
2744
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2745
|
+
})[];
|
|
2746
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1145
2747
|
})[] | undefined;
|
|
1146
2748
|
name: string;
|
|
1147
2749
|
} | {
|
|
@@ -1154,6 +2756,17 @@ declare const rules: readonly [{
|
|
|
1154
2756
|
} | {
|
|
1155
2757
|
path?: string | undefined;
|
|
1156
2758
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2759
|
+
} | {
|
|
2760
|
+
match: ({
|
|
2761
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2762
|
+
} | {
|
|
2763
|
+
path?: string | undefined;
|
|
2764
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2765
|
+
} | {
|
|
2766
|
+
path?: string | undefined;
|
|
2767
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2768
|
+
})[];
|
|
2769
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1157
2770
|
})[] | undefined;
|
|
1158
2771
|
name: string;
|
|
1159
2772
|
})[];
|
|
@@ -1166,6 +2779,7 @@ declare const rules: readonly [{
|
|
|
1166
2779
|
LangOptions: Linter.LanguageOptions;
|
|
1167
2780
|
Code: import("eslint").SourceCode;
|
|
1168
2781
|
RuleOptions: [Required<{
|
|
2782
|
+
cwd?: string | undefined;
|
|
1169
2783
|
rootFontSize?: number | undefined;
|
|
1170
2784
|
detectComponentClasses: boolean;
|
|
1171
2785
|
tsconfig?: string | undefined;
|
|
@@ -1219,9 +2833,22 @@ declare const rules: readonly [{
|
|
|
1219
2833
|
} | {
|
|
1220
2834
|
path?: string | undefined;
|
|
1221
2835
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2836
|
+
} | {
|
|
2837
|
+
match: ({
|
|
2838
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2839
|
+
} | {
|
|
2840
|
+
path?: string | undefined;
|
|
2841
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2842
|
+
} | {
|
|
2843
|
+
path?: string | undefined;
|
|
2844
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2845
|
+
})[];
|
|
2846
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1222
2847
|
})[] | undefined;
|
|
1223
2848
|
name: string;
|
|
1224
2849
|
path?: string | undefined;
|
|
2850
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2851
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1225
2852
|
} | {
|
|
1226
2853
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1227
2854
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -1233,11 +2860,24 @@ declare const rules: readonly [{
|
|
|
1233
2860
|
} | {
|
|
1234
2861
|
path?: string | undefined;
|
|
1235
2862
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2863
|
+
} | {
|
|
2864
|
+
match: ({
|
|
2865
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2866
|
+
} | {
|
|
2867
|
+
path?: string | undefined;
|
|
2868
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2869
|
+
} | {
|
|
2870
|
+
path?: string | undefined;
|
|
2871
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2872
|
+
})[];
|
|
2873
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1236
2874
|
})[] | undefined;
|
|
1237
2875
|
name?: string | undefined;
|
|
1238
2876
|
path: string;
|
|
2877
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
2878
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1239
2879
|
} | {
|
|
1240
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
2880
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1241
2881
|
match?: ({
|
|
1242
2882
|
type: import("../types/rule.js").MatcherType.String;
|
|
1243
2883
|
} | {
|
|
@@ -1246,8 +2886,20 @@ declare const rules: readonly [{
|
|
|
1246
2886
|
} | {
|
|
1247
2887
|
path?: string | undefined;
|
|
1248
2888
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2889
|
+
} | {
|
|
2890
|
+
match: ({
|
|
2891
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2892
|
+
} | {
|
|
2893
|
+
path?: string | undefined;
|
|
2894
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2895
|
+
} | {
|
|
2896
|
+
path?: string | undefined;
|
|
2897
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2898
|
+
})[];
|
|
2899
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1249
2900
|
})[] | undefined;
|
|
1250
2901
|
name: string;
|
|
2902
|
+
path?: string | undefined;
|
|
1251
2903
|
} | {
|
|
1252
2904
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1253
2905
|
match?: ({
|
|
@@ -1258,6 +2910,41 @@ declare const rules: readonly [{
|
|
|
1258
2910
|
} | {
|
|
1259
2911
|
path?: string | undefined;
|
|
1260
2912
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2913
|
+
} | {
|
|
2914
|
+
match: ({
|
|
2915
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2916
|
+
} | {
|
|
2917
|
+
path?: string | undefined;
|
|
2918
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2919
|
+
} | {
|
|
2920
|
+
path?: string | undefined;
|
|
2921
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2922
|
+
})[];
|
|
2923
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2924
|
+
})[] | undefined;
|
|
2925
|
+
name?: string | undefined;
|
|
2926
|
+
path: string;
|
|
2927
|
+
} | {
|
|
2928
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
2929
|
+
match?: ({
|
|
2930
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2931
|
+
} | {
|
|
2932
|
+
path?: string | undefined;
|
|
2933
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2934
|
+
} | {
|
|
2935
|
+
path?: string | undefined;
|
|
2936
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2937
|
+
} | {
|
|
2938
|
+
match: ({
|
|
2939
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2940
|
+
} | {
|
|
2941
|
+
path?: string | undefined;
|
|
2942
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2943
|
+
} | {
|
|
2944
|
+
path?: string | undefined;
|
|
2945
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2946
|
+
})[];
|
|
2947
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1261
2948
|
})[] | undefined;
|
|
1262
2949
|
name: string;
|
|
1263
2950
|
} | {
|
|
@@ -1270,6 +2957,17 @@ declare const rules: readonly [{
|
|
|
1270
2957
|
} | {
|
|
1271
2958
|
path?: string | undefined;
|
|
1272
2959
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2960
|
+
} | {
|
|
2961
|
+
match: ({
|
|
2962
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
2963
|
+
} | {
|
|
2964
|
+
path?: string | undefined;
|
|
2965
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
2966
|
+
} | {
|
|
2967
|
+
path?: string | undefined;
|
|
2968
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
2969
|
+
})[];
|
|
2970
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1273
2971
|
})[] | undefined;
|
|
1274
2972
|
name: string;
|
|
1275
2973
|
})[];
|
|
@@ -1305,6 +3003,7 @@ declare const rules: readonly [{
|
|
|
1305
3003
|
} | undefined;
|
|
1306
3004
|
name: "no-conflicting-classes";
|
|
1307
3005
|
readonly options: {
|
|
3006
|
+
cwd?: string | undefined;
|
|
1308
3007
|
rootFontSize?: number | undefined;
|
|
1309
3008
|
detectComponentClasses: boolean;
|
|
1310
3009
|
tsconfig?: string | undefined;
|
|
@@ -1358,9 +3057,22 @@ declare const rules: readonly [{
|
|
|
1358
3057
|
} | {
|
|
1359
3058
|
path?: string | undefined;
|
|
1360
3059
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3060
|
+
} | {
|
|
3061
|
+
match: ({
|
|
3062
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3063
|
+
} | {
|
|
3064
|
+
path?: string | undefined;
|
|
3065
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3066
|
+
} | {
|
|
3067
|
+
path?: string | undefined;
|
|
3068
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3069
|
+
})[];
|
|
3070
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1361
3071
|
})[] | undefined;
|
|
1362
3072
|
name: string;
|
|
1363
3073
|
path?: string | undefined;
|
|
3074
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3075
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1364
3076
|
} | {
|
|
1365
3077
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1366
3078
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -1372,11 +3084,24 @@ declare const rules: readonly [{
|
|
|
1372
3084
|
} | {
|
|
1373
3085
|
path?: string | undefined;
|
|
1374
3086
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3087
|
+
} | {
|
|
3088
|
+
match: ({
|
|
3089
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3090
|
+
} | {
|
|
3091
|
+
path?: string | undefined;
|
|
3092
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3093
|
+
} | {
|
|
3094
|
+
path?: string | undefined;
|
|
3095
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3096
|
+
})[];
|
|
3097
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1375
3098
|
})[] | undefined;
|
|
1376
3099
|
name?: string | undefined;
|
|
1377
3100
|
path: string;
|
|
3101
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3102
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1378
3103
|
} | {
|
|
1379
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
3104
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1380
3105
|
match?: ({
|
|
1381
3106
|
type: import("../types/rule.js").MatcherType.String;
|
|
1382
3107
|
} | {
|
|
@@ -1385,8 +3110,20 @@ declare const rules: readonly [{
|
|
|
1385
3110
|
} | {
|
|
1386
3111
|
path?: string | undefined;
|
|
1387
3112
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3113
|
+
} | {
|
|
3114
|
+
match: ({
|
|
3115
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3116
|
+
} | {
|
|
3117
|
+
path?: string | undefined;
|
|
3118
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3119
|
+
} | {
|
|
3120
|
+
path?: string | undefined;
|
|
3121
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3122
|
+
})[];
|
|
3123
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1388
3124
|
})[] | undefined;
|
|
1389
3125
|
name: string;
|
|
3126
|
+
path?: string | undefined;
|
|
1390
3127
|
} | {
|
|
1391
3128
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1392
3129
|
match?: ({
|
|
@@ -1397,6 +3134,41 @@ declare const rules: readonly [{
|
|
|
1397
3134
|
} | {
|
|
1398
3135
|
path?: string | undefined;
|
|
1399
3136
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3137
|
+
} | {
|
|
3138
|
+
match: ({
|
|
3139
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3140
|
+
} | {
|
|
3141
|
+
path?: string | undefined;
|
|
3142
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3143
|
+
} | {
|
|
3144
|
+
path?: string | undefined;
|
|
3145
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3146
|
+
})[];
|
|
3147
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3148
|
+
})[] | undefined;
|
|
3149
|
+
name?: string | undefined;
|
|
3150
|
+
path: string;
|
|
3151
|
+
} | {
|
|
3152
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
3153
|
+
match?: ({
|
|
3154
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3155
|
+
} | {
|
|
3156
|
+
path?: string | undefined;
|
|
3157
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3158
|
+
} | {
|
|
3159
|
+
path?: string | undefined;
|
|
3160
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3161
|
+
} | {
|
|
3162
|
+
match: ({
|
|
3163
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3164
|
+
} | {
|
|
3165
|
+
path?: string | undefined;
|
|
3166
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3167
|
+
} | {
|
|
3168
|
+
path?: string | undefined;
|
|
3169
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3170
|
+
})[];
|
|
3171
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1400
3172
|
})[] | undefined;
|
|
1401
3173
|
name: string;
|
|
1402
3174
|
} | {
|
|
@@ -1409,6 +3181,17 @@ declare const rules: readonly [{
|
|
|
1409
3181
|
} | {
|
|
1410
3182
|
path?: string | undefined;
|
|
1411
3183
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3184
|
+
} | {
|
|
3185
|
+
match: ({
|
|
3186
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3187
|
+
} | {
|
|
3188
|
+
path?: string | undefined;
|
|
3189
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3190
|
+
} | {
|
|
3191
|
+
path?: string | undefined;
|
|
3192
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3193
|
+
})[];
|
|
3194
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1412
3195
|
})[] | undefined;
|
|
1413
3196
|
name: string;
|
|
1414
3197
|
})[];
|
|
@@ -1421,6 +3204,7 @@ declare const rules: readonly [{
|
|
|
1421
3204
|
LangOptions: Linter.LanguageOptions;
|
|
1422
3205
|
Code: import("eslint").SourceCode;
|
|
1423
3206
|
RuleOptions: [Required<{
|
|
3207
|
+
cwd?: string | undefined;
|
|
1424
3208
|
rootFontSize?: number | undefined;
|
|
1425
3209
|
detectComponentClasses: boolean;
|
|
1426
3210
|
tsconfig?: string | undefined;
|
|
@@ -1474,9 +3258,22 @@ declare const rules: readonly [{
|
|
|
1474
3258
|
} | {
|
|
1475
3259
|
path?: string | undefined;
|
|
1476
3260
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3261
|
+
} | {
|
|
3262
|
+
match: ({
|
|
3263
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3264
|
+
} | {
|
|
3265
|
+
path?: string | undefined;
|
|
3266
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3267
|
+
} | {
|
|
3268
|
+
path?: string | undefined;
|
|
3269
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3270
|
+
})[];
|
|
3271
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1477
3272
|
})[] | undefined;
|
|
1478
3273
|
name: string;
|
|
1479
3274
|
path?: string | undefined;
|
|
3275
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3276
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1480
3277
|
} | {
|
|
1481
3278
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1482
3279
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -1488,11 +3285,24 @@ declare const rules: readonly [{
|
|
|
1488
3285
|
} | {
|
|
1489
3286
|
path?: string | undefined;
|
|
1490
3287
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3288
|
+
} | {
|
|
3289
|
+
match: ({
|
|
3290
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3291
|
+
} | {
|
|
3292
|
+
path?: string | undefined;
|
|
3293
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3294
|
+
} | {
|
|
3295
|
+
path?: string | undefined;
|
|
3296
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3297
|
+
})[];
|
|
3298
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1491
3299
|
})[] | undefined;
|
|
1492
3300
|
name?: string | undefined;
|
|
1493
3301
|
path: string;
|
|
3302
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3303
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1494
3304
|
} | {
|
|
1495
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
3305
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1496
3306
|
match?: ({
|
|
1497
3307
|
type: import("../types/rule.js").MatcherType.String;
|
|
1498
3308
|
} | {
|
|
@@ -1501,8 +3311,20 @@ declare const rules: readonly [{
|
|
|
1501
3311
|
} | {
|
|
1502
3312
|
path?: string | undefined;
|
|
1503
3313
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3314
|
+
} | {
|
|
3315
|
+
match: ({
|
|
3316
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3317
|
+
} | {
|
|
3318
|
+
path?: string | undefined;
|
|
3319
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3320
|
+
} | {
|
|
3321
|
+
path?: string | undefined;
|
|
3322
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3323
|
+
})[];
|
|
3324
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1504
3325
|
})[] | undefined;
|
|
1505
3326
|
name: string;
|
|
3327
|
+
path?: string | undefined;
|
|
1506
3328
|
} | {
|
|
1507
3329
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1508
3330
|
match?: ({
|
|
@@ -1513,6 +3335,41 @@ declare const rules: readonly [{
|
|
|
1513
3335
|
} | {
|
|
1514
3336
|
path?: string | undefined;
|
|
1515
3337
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3338
|
+
} | {
|
|
3339
|
+
match: ({
|
|
3340
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3341
|
+
} | {
|
|
3342
|
+
path?: string | undefined;
|
|
3343
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3344
|
+
} | {
|
|
3345
|
+
path?: string | undefined;
|
|
3346
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3347
|
+
})[];
|
|
3348
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3349
|
+
})[] | undefined;
|
|
3350
|
+
name?: string | undefined;
|
|
3351
|
+
path: string;
|
|
3352
|
+
} | {
|
|
3353
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
3354
|
+
match?: ({
|
|
3355
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3356
|
+
} | {
|
|
3357
|
+
path?: string | undefined;
|
|
3358
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3359
|
+
} | {
|
|
3360
|
+
path?: string | undefined;
|
|
3361
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3362
|
+
} | {
|
|
3363
|
+
match: ({
|
|
3364
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3365
|
+
} | {
|
|
3366
|
+
path?: string | undefined;
|
|
3367
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3368
|
+
} | {
|
|
3369
|
+
path?: string | undefined;
|
|
3370
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3371
|
+
})[];
|
|
3372
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1516
3373
|
})[] | undefined;
|
|
1517
3374
|
name: string;
|
|
1518
3375
|
} | {
|
|
@@ -1525,6 +3382,17 @@ declare const rules: readonly [{
|
|
|
1525
3382
|
} | {
|
|
1526
3383
|
path?: string | undefined;
|
|
1527
3384
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3385
|
+
} | {
|
|
3386
|
+
match: ({
|
|
3387
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3388
|
+
} | {
|
|
3389
|
+
path?: string | undefined;
|
|
3390
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3391
|
+
} | {
|
|
3392
|
+
path?: string | undefined;
|
|
3393
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3394
|
+
})[];
|
|
3395
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1528
3396
|
})[] | undefined;
|
|
1529
3397
|
name: string;
|
|
1530
3398
|
})[];
|
|
@@ -1560,6 +3428,7 @@ declare const rules: readonly [{
|
|
|
1560
3428
|
} | undefined;
|
|
1561
3429
|
name: "no-deprecated-classes";
|
|
1562
3430
|
readonly options: {
|
|
3431
|
+
cwd?: string | undefined;
|
|
1563
3432
|
rootFontSize?: number | undefined;
|
|
1564
3433
|
detectComponentClasses: boolean;
|
|
1565
3434
|
tsconfig?: string | undefined;
|
|
@@ -1613,9 +3482,22 @@ declare const rules: readonly [{
|
|
|
1613
3482
|
} | {
|
|
1614
3483
|
path?: string | undefined;
|
|
1615
3484
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3485
|
+
} | {
|
|
3486
|
+
match: ({
|
|
3487
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3488
|
+
} | {
|
|
3489
|
+
path?: string | undefined;
|
|
3490
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3491
|
+
} | {
|
|
3492
|
+
path?: string | undefined;
|
|
3493
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3494
|
+
})[];
|
|
3495
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1616
3496
|
})[] | undefined;
|
|
1617
3497
|
name: string;
|
|
1618
3498
|
path?: string | undefined;
|
|
3499
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3500
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1619
3501
|
} | {
|
|
1620
3502
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1621
3503
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -1627,11 +3509,24 @@ declare const rules: readonly [{
|
|
|
1627
3509
|
} | {
|
|
1628
3510
|
path?: string | undefined;
|
|
1629
3511
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3512
|
+
} | {
|
|
3513
|
+
match: ({
|
|
3514
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3515
|
+
} | {
|
|
3516
|
+
path?: string | undefined;
|
|
3517
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3518
|
+
} | {
|
|
3519
|
+
path?: string | undefined;
|
|
3520
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3521
|
+
})[];
|
|
3522
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1630
3523
|
})[] | undefined;
|
|
1631
3524
|
name?: string | undefined;
|
|
1632
3525
|
path: string;
|
|
3526
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3527
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1633
3528
|
} | {
|
|
1634
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
3529
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1635
3530
|
match?: ({
|
|
1636
3531
|
type: import("../types/rule.js").MatcherType.String;
|
|
1637
3532
|
} | {
|
|
@@ -1640,8 +3535,20 @@ declare const rules: readonly [{
|
|
|
1640
3535
|
} | {
|
|
1641
3536
|
path?: string | undefined;
|
|
1642
3537
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3538
|
+
} | {
|
|
3539
|
+
match: ({
|
|
3540
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3541
|
+
} | {
|
|
3542
|
+
path?: string | undefined;
|
|
3543
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3544
|
+
} | {
|
|
3545
|
+
path?: string | undefined;
|
|
3546
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3547
|
+
})[];
|
|
3548
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1643
3549
|
})[] | undefined;
|
|
1644
3550
|
name: string;
|
|
3551
|
+
path?: string | undefined;
|
|
1645
3552
|
} | {
|
|
1646
3553
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1647
3554
|
match?: ({
|
|
@@ -1652,6 +3559,41 @@ declare const rules: readonly [{
|
|
|
1652
3559
|
} | {
|
|
1653
3560
|
path?: string | undefined;
|
|
1654
3561
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3562
|
+
} | {
|
|
3563
|
+
match: ({
|
|
3564
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3565
|
+
} | {
|
|
3566
|
+
path?: string | undefined;
|
|
3567
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3568
|
+
} | {
|
|
3569
|
+
path?: string | undefined;
|
|
3570
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3571
|
+
})[];
|
|
3572
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3573
|
+
})[] | undefined;
|
|
3574
|
+
name?: string | undefined;
|
|
3575
|
+
path: string;
|
|
3576
|
+
} | {
|
|
3577
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
3578
|
+
match?: ({
|
|
3579
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3580
|
+
} | {
|
|
3581
|
+
path?: string | undefined;
|
|
3582
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3583
|
+
} | {
|
|
3584
|
+
path?: string | undefined;
|
|
3585
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3586
|
+
} | {
|
|
3587
|
+
match: ({
|
|
3588
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3589
|
+
} | {
|
|
3590
|
+
path?: string | undefined;
|
|
3591
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3592
|
+
} | {
|
|
3593
|
+
path?: string | undefined;
|
|
3594
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3595
|
+
})[];
|
|
3596
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1655
3597
|
})[] | undefined;
|
|
1656
3598
|
name: string;
|
|
1657
3599
|
} | {
|
|
@@ -1664,6 +3606,17 @@ declare const rules: readonly [{
|
|
|
1664
3606
|
} | {
|
|
1665
3607
|
path?: string | undefined;
|
|
1666
3608
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3609
|
+
} | {
|
|
3610
|
+
match: ({
|
|
3611
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3612
|
+
} | {
|
|
3613
|
+
path?: string | undefined;
|
|
3614
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3615
|
+
} | {
|
|
3616
|
+
path?: string | undefined;
|
|
3617
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3618
|
+
})[];
|
|
3619
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1667
3620
|
})[] | undefined;
|
|
1668
3621
|
name: string;
|
|
1669
3622
|
})[];
|
|
@@ -1676,6 +3629,7 @@ declare const rules: readonly [{
|
|
|
1676
3629
|
LangOptions: Linter.LanguageOptions;
|
|
1677
3630
|
Code: import("eslint").SourceCode;
|
|
1678
3631
|
RuleOptions: [Required<{
|
|
3632
|
+
cwd?: string | undefined;
|
|
1679
3633
|
rootFontSize?: number | undefined;
|
|
1680
3634
|
detectComponentClasses: boolean;
|
|
1681
3635
|
tsconfig?: string | undefined;
|
|
@@ -1729,9 +3683,22 @@ declare const rules: readonly [{
|
|
|
1729
3683
|
} | {
|
|
1730
3684
|
path?: string | undefined;
|
|
1731
3685
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3686
|
+
} | {
|
|
3687
|
+
match: ({
|
|
3688
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3689
|
+
} | {
|
|
3690
|
+
path?: string | undefined;
|
|
3691
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3692
|
+
} | {
|
|
3693
|
+
path?: string | undefined;
|
|
3694
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3695
|
+
})[];
|
|
3696
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1732
3697
|
})[] | undefined;
|
|
1733
3698
|
name: string;
|
|
1734
3699
|
path?: string | undefined;
|
|
3700
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3701
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1735
3702
|
} | {
|
|
1736
3703
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1737
3704
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -1743,11 +3710,24 @@ declare const rules: readonly [{
|
|
|
1743
3710
|
} | {
|
|
1744
3711
|
path?: string | undefined;
|
|
1745
3712
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3713
|
+
} | {
|
|
3714
|
+
match: ({
|
|
3715
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3716
|
+
} | {
|
|
3717
|
+
path?: string | undefined;
|
|
3718
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3719
|
+
} | {
|
|
3720
|
+
path?: string | undefined;
|
|
3721
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3722
|
+
})[];
|
|
3723
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1746
3724
|
})[] | undefined;
|
|
1747
3725
|
name?: string | undefined;
|
|
1748
3726
|
path: string;
|
|
3727
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3728
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1749
3729
|
} | {
|
|
1750
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
3730
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1751
3731
|
match?: ({
|
|
1752
3732
|
type: import("../types/rule.js").MatcherType.String;
|
|
1753
3733
|
} | {
|
|
@@ -1756,8 +3736,20 @@ declare const rules: readonly [{
|
|
|
1756
3736
|
} | {
|
|
1757
3737
|
path?: string | undefined;
|
|
1758
3738
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3739
|
+
} | {
|
|
3740
|
+
match: ({
|
|
3741
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3742
|
+
} | {
|
|
3743
|
+
path?: string | undefined;
|
|
3744
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3745
|
+
} | {
|
|
3746
|
+
path?: string | undefined;
|
|
3747
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3748
|
+
})[];
|
|
3749
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1759
3750
|
})[] | undefined;
|
|
1760
3751
|
name: string;
|
|
3752
|
+
path?: string | undefined;
|
|
1761
3753
|
} | {
|
|
1762
3754
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1763
3755
|
match?: ({
|
|
@@ -1768,6 +3760,41 @@ declare const rules: readonly [{
|
|
|
1768
3760
|
} | {
|
|
1769
3761
|
path?: string | undefined;
|
|
1770
3762
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3763
|
+
} | {
|
|
3764
|
+
match: ({
|
|
3765
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3766
|
+
} | {
|
|
3767
|
+
path?: string | undefined;
|
|
3768
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3769
|
+
} | {
|
|
3770
|
+
path?: string | undefined;
|
|
3771
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3772
|
+
})[];
|
|
3773
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3774
|
+
})[] | undefined;
|
|
3775
|
+
name?: string | undefined;
|
|
3776
|
+
path: string;
|
|
3777
|
+
} | {
|
|
3778
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
3779
|
+
match?: ({
|
|
3780
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3781
|
+
} | {
|
|
3782
|
+
path?: string | undefined;
|
|
3783
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3784
|
+
} | {
|
|
3785
|
+
path?: string | undefined;
|
|
3786
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3787
|
+
} | {
|
|
3788
|
+
match: ({
|
|
3789
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3790
|
+
} | {
|
|
3791
|
+
path?: string | undefined;
|
|
3792
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3793
|
+
} | {
|
|
3794
|
+
path?: string | undefined;
|
|
3795
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3796
|
+
})[];
|
|
3797
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1771
3798
|
})[] | undefined;
|
|
1772
3799
|
name: string;
|
|
1773
3800
|
} | {
|
|
@@ -1780,6 +3807,17 @@ declare const rules: readonly [{
|
|
|
1780
3807
|
} | {
|
|
1781
3808
|
path?: string | undefined;
|
|
1782
3809
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3810
|
+
} | {
|
|
3811
|
+
match: ({
|
|
3812
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3813
|
+
} | {
|
|
3814
|
+
path?: string | undefined;
|
|
3815
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3816
|
+
} | {
|
|
3817
|
+
path?: string | undefined;
|
|
3818
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3819
|
+
})[];
|
|
3820
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1783
3821
|
})[] | undefined;
|
|
1784
3822
|
name: string;
|
|
1785
3823
|
})[];
|
|
@@ -1787,7 +3825,7 @@ declare const rules: readonly [{
|
|
|
1787
3825
|
[x: string]: unknown;
|
|
1788
3826
|
}>];
|
|
1789
3827
|
Node: import("eslint").JSSyntaxElement;
|
|
1790
|
-
MessageIds: "
|
|
3828
|
+
MessageIds: "replaceable" | "irreplaceable";
|
|
1791
3829
|
}>) => import("eslint").Rule.RuleListener;
|
|
1792
3830
|
meta: {
|
|
1793
3831
|
messages?: {
|
|
@@ -1815,6 +3853,7 @@ declare const rules: readonly [{
|
|
|
1815
3853
|
} | undefined;
|
|
1816
3854
|
name: "no-duplicate-classes";
|
|
1817
3855
|
readonly options: {
|
|
3856
|
+
cwd?: string | undefined;
|
|
1818
3857
|
rootFontSize?: number | undefined;
|
|
1819
3858
|
detectComponentClasses: boolean;
|
|
1820
3859
|
tsconfig?: string | undefined;
|
|
@@ -1868,9 +3907,22 @@ declare const rules: readonly [{
|
|
|
1868
3907
|
} | {
|
|
1869
3908
|
path?: string | undefined;
|
|
1870
3909
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3910
|
+
} | {
|
|
3911
|
+
match: ({
|
|
3912
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3913
|
+
} | {
|
|
3914
|
+
path?: string | undefined;
|
|
3915
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3916
|
+
} | {
|
|
3917
|
+
path?: string | undefined;
|
|
3918
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3919
|
+
})[];
|
|
3920
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1871
3921
|
})[] | undefined;
|
|
1872
3922
|
name: string;
|
|
1873
3923
|
path?: string | undefined;
|
|
3924
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3925
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1874
3926
|
} | {
|
|
1875
3927
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1876
3928
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -1882,11 +3934,24 @@ declare const rules: readonly [{
|
|
|
1882
3934
|
} | {
|
|
1883
3935
|
path?: string | undefined;
|
|
1884
3936
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3937
|
+
} | {
|
|
3938
|
+
match: ({
|
|
3939
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3940
|
+
} | {
|
|
3941
|
+
path?: string | undefined;
|
|
3942
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3943
|
+
} | {
|
|
3944
|
+
path?: string | undefined;
|
|
3945
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3946
|
+
})[];
|
|
3947
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1885
3948
|
})[] | undefined;
|
|
1886
3949
|
name?: string | undefined;
|
|
1887
3950
|
path: string;
|
|
3951
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
3952
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1888
3953
|
} | {
|
|
1889
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
3954
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1890
3955
|
match?: ({
|
|
1891
3956
|
type: import("../types/rule.js").MatcherType.String;
|
|
1892
3957
|
} | {
|
|
@@ -1895,8 +3960,20 @@ declare const rules: readonly [{
|
|
|
1895
3960
|
} | {
|
|
1896
3961
|
path?: string | undefined;
|
|
1897
3962
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3963
|
+
} | {
|
|
3964
|
+
match: ({
|
|
3965
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3966
|
+
} | {
|
|
3967
|
+
path?: string | undefined;
|
|
3968
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3969
|
+
} | {
|
|
3970
|
+
path?: string | undefined;
|
|
3971
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3972
|
+
})[];
|
|
3973
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1898
3974
|
})[] | undefined;
|
|
1899
3975
|
name: string;
|
|
3976
|
+
path?: string | undefined;
|
|
1900
3977
|
} | {
|
|
1901
3978
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
1902
3979
|
match?: ({
|
|
@@ -1907,6 +3984,41 @@ declare const rules: readonly [{
|
|
|
1907
3984
|
} | {
|
|
1908
3985
|
path?: string | undefined;
|
|
1909
3986
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3987
|
+
} | {
|
|
3988
|
+
match: ({
|
|
3989
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
3990
|
+
} | {
|
|
3991
|
+
path?: string | undefined;
|
|
3992
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
3993
|
+
} | {
|
|
3994
|
+
path?: string | undefined;
|
|
3995
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
3996
|
+
})[];
|
|
3997
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3998
|
+
})[] | undefined;
|
|
3999
|
+
name?: string | undefined;
|
|
4000
|
+
path: string;
|
|
4001
|
+
} | {
|
|
4002
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
4003
|
+
match?: ({
|
|
4004
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4005
|
+
} | {
|
|
4006
|
+
path?: string | undefined;
|
|
4007
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4008
|
+
} | {
|
|
4009
|
+
path?: string | undefined;
|
|
4010
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4011
|
+
} | {
|
|
4012
|
+
match: ({
|
|
4013
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4014
|
+
} | {
|
|
4015
|
+
path?: string | undefined;
|
|
4016
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4017
|
+
} | {
|
|
4018
|
+
path?: string | undefined;
|
|
4019
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4020
|
+
})[];
|
|
4021
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1910
4022
|
})[] | undefined;
|
|
1911
4023
|
name: string;
|
|
1912
4024
|
} | {
|
|
@@ -1919,6 +4031,17 @@ declare const rules: readonly [{
|
|
|
1919
4031
|
} | {
|
|
1920
4032
|
path?: string | undefined;
|
|
1921
4033
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4034
|
+
} | {
|
|
4035
|
+
match: ({
|
|
4036
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4037
|
+
} | {
|
|
4038
|
+
path?: string | undefined;
|
|
4039
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4040
|
+
} | {
|
|
4041
|
+
path?: string | undefined;
|
|
4042
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4043
|
+
})[];
|
|
4044
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1922
4045
|
})[] | undefined;
|
|
1923
4046
|
name: string;
|
|
1924
4047
|
})[];
|
|
@@ -1931,6 +4054,7 @@ declare const rules: readonly [{
|
|
|
1931
4054
|
LangOptions: Linter.LanguageOptions;
|
|
1932
4055
|
Code: import("eslint").SourceCode;
|
|
1933
4056
|
RuleOptions: [Required<{
|
|
4057
|
+
cwd?: string | undefined;
|
|
1934
4058
|
rootFontSize?: number | undefined;
|
|
1935
4059
|
detectComponentClasses: boolean;
|
|
1936
4060
|
tsconfig?: string | undefined;
|
|
@@ -1984,9 +4108,22 @@ declare const rules: readonly [{
|
|
|
1984
4108
|
} | {
|
|
1985
4109
|
path?: string | undefined;
|
|
1986
4110
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4111
|
+
} | {
|
|
4112
|
+
match: ({
|
|
4113
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4114
|
+
} | {
|
|
4115
|
+
path?: string | undefined;
|
|
4116
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4117
|
+
} | {
|
|
4118
|
+
path?: string | undefined;
|
|
4119
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4120
|
+
})[];
|
|
4121
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
1987
4122
|
})[] | undefined;
|
|
1988
4123
|
name: string;
|
|
1989
4124
|
path?: string | undefined;
|
|
4125
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4126
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
1990
4127
|
} | {
|
|
1991
4128
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
1992
4129
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -1998,11 +4135,24 @@ declare const rules: readonly [{
|
|
|
1998
4135
|
} | {
|
|
1999
4136
|
path?: string | undefined;
|
|
2000
4137
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4138
|
+
} | {
|
|
4139
|
+
match: ({
|
|
4140
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4141
|
+
} | {
|
|
4142
|
+
path?: string | undefined;
|
|
4143
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4144
|
+
} | {
|
|
4145
|
+
path?: string | undefined;
|
|
4146
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4147
|
+
})[];
|
|
4148
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2001
4149
|
})[] | undefined;
|
|
2002
4150
|
name?: string | undefined;
|
|
2003
4151
|
path: string;
|
|
4152
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4153
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2004
4154
|
} | {
|
|
2005
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
4155
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2006
4156
|
match?: ({
|
|
2007
4157
|
type: import("../types/rule.js").MatcherType.String;
|
|
2008
4158
|
} | {
|
|
@@ -2011,8 +4161,20 @@ declare const rules: readonly [{
|
|
|
2011
4161
|
} | {
|
|
2012
4162
|
path?: string | undefined;
|
|
2013
4163
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4164
|
+
} | {
|
|
4165
|
+
match: ({
|
|
4166
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4167
|
+
} | {
|
|
4168
|
+
path?: string | undefined;
|
|
4169
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4170
|
+
} | {
|
|
4171
|
+
path?: string | undefined;
|
|
4172
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4173
|
+
})[];
|
|
4174
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2014
4175
|
})[] | undefined;
|
|
2015
4176
|
name: string;
|
|
4177
|
+
path?: string | undefined;
|
|
2016
4178
|
} | {
|
|
2017
4179
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2018
4180
|
match?: ({
|
|
@@ -2023,6 +4185,41 @@ declare const rules: readonly [{
|
|
|
2023
4185
|
} | {
|
|
2024
4186
|
path?: string | undefined;
|
|
2025
4187
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4188
|
+
} | {
|
|
4189
|
+
match: ({
|
|
4190
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4191
|
+
} | {
|
|
4192
|
+
path?: string | undefined;
|
|
4193
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4194
|
+
} | {
|
|
4195
|
+
path?: string | undefined;
|
|
4196
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4197
|
+
})[];
|
|
4198
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
4199
|
+
})[] | undefined;
|
|
4200
|
+
name?: string | undefined;
|
|
4201
|
+
path: string;
|
|
4202
|
+
} | {
|
|
4203
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
4204
|
+
match?: ({
|
|
4205
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4206
|
+
} | {
|
|
4207
|
+
path?: string | undefined;
|
|
4208
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4209
|
+
} | {
|
|
4210
|
+
path?: string | undefined;
|
|
4211
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4212
|
+
} | {
|
|
4213
|
+
match: ({
|
|
4214
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4215
|
+
} | {
|
|
4216
|
+
path?: string | undefined;
|
|
4217
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4218
|
+
} | {
|
|
4219
|
+
path?: string | undefined;
|
|
4220
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4221
|
+
})[];
|
|
4222
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2026
4223
|
})[] | undefined;
|
|
2027
4224
|
name: string;
|
|
2028
4225
|
} | {
|
|
@@ -2035,6 +4232,17 @@ declare const rules: readonly [{
|
|
|
2035
4232
|
} | {
|
|
2036
4233
|
path?: string | undefined;
|
|
2037
4234
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4235
|
+
} | {
|
|
4236
|
+
match: ({
|
|
4237
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4238
|
+
} | {
|
|
4239
|
+
path?: string | undefined;
|
|
4240
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4241
|
+
} | {
|
|
4242
|
+
path?: string | undefined;
|
|
4243
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4244
|
+
})[];
|
|
4245
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2038
4246
|
})[] | undefined;
|
|
2039
4247
|
name: string;
|
|
2040
4248
|
})[];
|
|
@@ -2067,6 +4275,7 @@ declare const rules: readonly [{
|
|
|
2067
4275
|
messages: Record<string, string> | undefined;
|
|
2068
4276
|
name: "no-restricted-classes";
|
|
2069
4277
|
readonly options: {
|
|
4278
|
+
cwd?: string | undefined;
|
|
2070
4279
|
rootFontSize?: number | undefined;
|
|
2071
4280
|
detectComponentClasses: boolean;
|
|
2072
4281
|
tsconfig?: string | undefined;
|
|
@@ -2120,9 +4329,22 @@ declare const rules: readonly [{
|
|
|
2120
4329
|
} | {
|
|
2121
4330
|
path?: string | undefined;
|
|
2122
4331
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4332
|
+
} | {
|
|
4333
|
+
match: ({
|
|
4334
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4335
|
+
} | {
|
|
4336
|
+
path?: string | undefined;
|
|
4337
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4338
|
+
} | {
|
|
4339
|
+
path?: string | undefined;
|
|
4340
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4341
|
+
})[];
|
|
4342
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2123
4343
|
})[] | undefined;
|
|
2124
4344
|
name: string;
|
|
2125
4345
|
path?: string | undefined;
|
|
4346
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4347
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2126
4348
|
} | {
|
|
2127
4349
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2128
4350
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -2134,11 +4356,24 @@ declare const rules: readonly [{
|
|
|
2134
4356
|
} | {
|
|
2135
4357
|
path?: string | undefined;
|
|
2136
4358
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4359
|
+
} | {
|
|
4360
|
+
match: ({
|
|
4361
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4362
|
+
} | {
|
|
4363
|
+
path?: string | undefined;
|
|
4364
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4365
|
+
} | {
|
|
4366
|
+
path?: string | undefined;
|
|
4367
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4368
|
+
})[];
|
|
4369
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2137
4370
|
})[] | undefined;
|
|
2138
4371
|
name?: string | undefined;
|
|
2139
4372
|
path: string;
|
|
4373
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4374
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2140
4375
|
} | {
|
|
2141
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
4376
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2142
4377
|
match?: ({
|
|
2143
4378
|
type: import("../types/rule.js").MatcherType.String;
|
|
2144
4379
|
} | {
|
|
@@ -2147,8 +4382,20 @@ declare const rules: readonly [{
|
|
|
2147
4382
|
} | {
|
|
2148
4383
|
path?: string | undefined;
|
|
2149
4384
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4385
|
+
} | {
|
|
4386
|
+
match: ({
|
|
4387
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4388
|
+
} | {
|
|
4389
|
+
path?: string | undefined;
|
|
4390
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4391
|
+
} | {
|
|
4392
|
+
path?: string | undefined;
|
|
4393
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4394
|
+
})[];
|
|
4395
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2150
4396
|
})[] | undefined;
|
|
2151
4397
|
name: string;
|
|
4398
|
+
path?: string | undefined;
|
|
2152
4399
|
} | {
|
|
2153
4400
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2154
4401
|
match?: ({
|
|
@@ -2159,6 +4406,41 @@ declare const rules: readonly [{
|
|
|
2159
4406
|
} | {
|
|
2160
4407
|
path?: string | undefined;
|
|
2161
4408
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4409
|
+
} | {
|
|
4410
|
+
match: ({
|
|
4411
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4412
|
+
} | {
|
|
4413
|
+
path?: string | undefined;
|
|
4414
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4415
|
+
} | {
|
|
4416
|
+
path?: string | undefined;
|
|
4417
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4418
|
+
})[];
|
|
4419
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
4420
|
+
})[] | undefined;
|
|
4421
|
+
name?: string | undefined;
|
|
4422
|
+
path: string;
|
|
4423
|
+
} | {
|
|
4424
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
4425
|
+
match?: ({
|
|
4426
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4427
|
+
} | {
|
|
4428
|
+
path?: string | undefined;
|
|
4429
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4430
|
+
} | {
|
|
4431
|
+
path?: string | undefined;
|
|
4432
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4433
|
+
} | {
|
|
4434
|
+
match: ({
|
|
4435
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4436
|
+
} | {
|
|
4437
|
+
path?: string | undefined;
|
|
4438
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4439
|
+
} | {
|
|
4440
|
+
path?: string | undefined;
|
|
4441
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4442
|
+
})[];
|
|
4443
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2162
4444
|
})[] | undefined;
|
|
2163
4445
|
name: string;
|
|
2164
4446
|
} | {
|
|
@@ -2171,6 +4453,17 @@ declare const rules: readonly [{
|
|
|
2171
4453
|
} | {
|
|
2172
4454
|
path?: string | undefined;
|
|
2173
4455
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4456
|
+
} | {
|
|
4457
|
+
match: ({
|
|
4458
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4459
|
+
} | {
|
|
4460
|
+
path?: string | undefined;
|
|
4461
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4462
|
+
} | {
|
|
4463
|
+
path?: string | undefined;
|
|
4464
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4465
|
+
})[];
|
|
4466
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2174
4467
|
})[] | undefined;
|
|
2175
4468
|
name: string;
|
|
2176
4469
|
})[];
|
|
@@ -2187,6 +4480,7 @@ declare const rules: readonly [{
|
|
|
2187
4480
|
LangOptions: Linter.LanguageOptions;
|
|
2188
4481
|
Code: import("eslint").SourceCode;
|
|
2189
4482
|
RuleOptions: [Required<{
|
|
4483
|
+
cwd?: string | undefined;
|
|
2190
4484
|
rootFontSize?: number | undefined;
|
|
2191
4485
|
detectComponentClasses: boolean;
|
|
2192
4486
|
tsconfig?: string | undefined;
|
|
@@ -2240,9 +4534,22 @@ declare const rules: readonly [{
|
|
|
2240
4534
|
} | {
|
|
2241
4535
|
path?: string | undefined;
|
|
2242
4536
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4537
|
+
} | {
|
|
4538
|
+
match: ({
|
|
4539
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4540
|
+
} | {
|
|
4541
|
+
path?: string | undefined;
|
|
4542
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4543
|
+
} | {
|
|
4544
|
+
path?: string | undefined;
|
|
4545
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4546
|
+
})[];
|
|
4547
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2243
4548
|
})[] | undefined;
|
|
2244
4549
|
name: string;
|
|
2245
4550
|
path?: string | undefined;
|
|
4551
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4552
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2246
4553
|
} | {
|
|
2247
4554
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2248
4555
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -2254,11 +4561,24 @@ declare const rules: readonly [{
|
|
|
2254
4561
|
} | {
|
|
2255
4562
|
path?: string | undefined;
|
|
2256
4563
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4564
|
+
} | {
|
|
4565
|
+
match: ({
|
|
4566
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4567
|
+
} | {
|
|
4568
|
+
path?: string | undefined;
|
|
4569
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4570
|
+
} | {
|
|
4571
|
+
path?: string | undefined;
|
|
4572
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4573
|
+
})[];
|
|
4574
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2257
4575
|
})[] | undefined;
|
|
2258
4576
|
name?: string | undefined;
|
|
2259
4577
|
path: string;
|
|
4578
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4579
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2260
4580
|
} | {
|
|
2261
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
4581
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2262
4582
|
match?: ({
|
|
2263
4583
|
type: import("../types/rule.js").MatcherType.String;
|
|
2264
4584
|
} | {
|
|
@@ -2267,8 +4587,20 @@ declare const rules: readonly [{
|
|
|
2267
4587
|
} | {
|
|
2268
4588
|
path?: string | undefined;
|
|
2269
4589
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4590
|
+
} | {
|
|
4591
|
+
match: ({
|
|
4592
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4593
|
+
} | {
|
|
4594
|
+
path?: string | undefined;
|
|
4595
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4596
|
+
} | {
|
|
4597
|
+
path?: string | undefined;
|
|
4598
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4599
|
+
})[];
|
|
4600
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2270
4601
|
})[] | undefined;
|
|
2271
4602
|
name: string;
|
|
4603
|
+
path?: string | undefined;
|
|
2272
4604
|
} | {
|
|
2273
4605
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2274
4606
|
match?: ({
|
|
@@ -2279,6 +4611,41 @@ declare const rules: readonly [{
|
|
|
2279
4611
|
} | {
|
|
2280
4612
|
path?: string | undefined;
|
|
2281
4613
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4614
|
+
} | {
|
|
4615
|
+
match: ({
|
|
4616
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4617
|
+
} | {
|
|
4618
|
+
path?: string | undefined;
|
|
4619
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4620
|
+
} | {
|
|
4621
|
+
path?: string | undefined;
|
|
4622
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4623
|
+
})[];
|
|
4624
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
4625
|
+
})[] | undefined;
|
|
4626
|
+
name?: string | undefined;
|
|
4627
|
+
path: string;
|
|
4628
|
+
} | {
|
|
4629
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
4630
|
+
match?: ({
|
|
4631
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4632
|
+
} | {
|
|
4633
|
+
path?: string | undefined;
|
|
4634
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4635
|
+
} | {
|
|
4636
|
+
path?: string | undefined;
|
|
4637
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4638
|
+
} | {
|
|
4639
|
+
match: ({
|
|
4640
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4641
|
+
} | {
|
|
4642
|
+
path?: string | undefined;
|
|
4643
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4644
|
+
} | {
|
|
4645
|
+
path?: string | undefined;
|
|
4646
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4647
|
+
})[];
|
|
4648
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2282
4649
|
})[] | undefined;
|
|
2283
4650
|
name: string;
|
|
2284
4651
|
} | {
|
|
@@ -2291,6 +4658,17 @@ declare const rules: readonly [{
|
|
|
2291
4658
|
} | {
|
|
2292
4659
|
path?: string | undefined;
|
|
2293
4660
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4661
|
+
} | {
|
|
4662
|
+
match: ({
|
|
4663
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4664
|
+
} | {
|
|
4665
|
+
path?: string | undefined;
|
|
4666
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4667
|
+
} | {
|
|
4668
|
+
path?: string | undefined;
|
|
4669
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4670
|
+
})[];
|
|
4671
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2294
4672
|
})[] | undefined;
|
|
2295
4673
|
name: string;
|
|
2296
4674
|
})[];
|
|
@@ -2327,6 +4705,7 @@ declare const rules: readonly [{
|
|
|
2327
4705
|
} | undefined;
|
|
2328
4706
|
name: "no-unnecessary-whitespace";
|
|
2329
4707
|
readonly options: {
|
|
4708
|
+
cwd?: string | undefined;
|
|
2330
4709
|
rootFontSize?: number | undefined;
|
|
2331
4710
|
detectComponentClasses: boolean;
|
|
2332
4711
|
tsconfig?: string | undefined;
|
|
@@ -2380,9 +4759,22 @@ declare const rules: readonly [{
|
|
|
2380
4759
|
} | {
|
|
2381
4760
|
path?: string | undefined;
|
|
2382
4761
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4762
|
+
} | {
|
|
4763
|
+
match: ({
|
|
4764
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4765
|
+
} | {
|
|
4766
|
+
path?: string | undefined;
|
|
4767
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4768
|
+
} | {
|
|
4769
|
+
path?: string | undefined;
|
|
4770
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4771
|
+
})[];
|
|
4772
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2383
4773
|
})[] | undefined;
|
|
2384
4774
|
name: string;
|
|
2385
4775
|
path?: string | undefined;
|
|
4776
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4777
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2386
4778
|
} | {
|
|
2387
4779
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2388
4780
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -2394,11 +4786,24 @@ declare const rules: readonly [{
|
|
|
2394
4786
|
} | {
|
|
2395
4787
|
path?: string | undefined;
|
|
2396
4788
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4789
|
+
} | {
|
|
4790
|
+
match: ({
|
|
4791
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4792
|
+
} | {
|
|
4793
|
+
path?: string | undefined;
|
|
4794
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4795
|
+
} | {
|
|
4796
|
+
path?: string | undefined;
|
|
4797
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4798
|
+
})[];
|
|
4799
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2397
4800
|
})[] | undefined;
|
|
2398
4801
|
name?: string | undefined;
|
|
2399
4802
|
path: string;
|
|
4803
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4804
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2400
4805
|
} | {
|
|
2401
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
4806
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2402
4807
|
match?: ({
|
|
2403
4808
|
type: import("../types/rule.js").MatcherType.String;
|
|
2404
4809
|
} | {
|
|
@@ -2407,8 +4812,20 @@ declare const rules: readonly [{
|
|
|
2407
4812
|
} | {
|
|
2408
4813
|
path?: string | undefined;
|
|
2409
4814
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4815
|
+
} | {
|
|
4816
|
+
match: ({
|
|
4817
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4818
|
+
} | {
|
|
4819
|
+
path?: string | undefined;
|
|
4820
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4821
|
+
} | {
|
|
4822
|
+
path?: string | undefined;
|
|
4823
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4824
|
+
})[];
|
|
4825
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2410
4826
|
})[] | undefined;
|
|
2411
4827
|
name: string;
|
|
4828
|
+
path?: string | undefined;
|
|
2412
4829
|
} | {
|
|
2413
4830
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2414
4831
|
match?: ({
|
|
@@ -2419,6 +4836,41 @@ declare const rules: readonly [{
|
|
|
2419
4836
|
} | {
|
|
2420
4837
|
path?: string | undefined;
|
|
2421
4838
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4839
|
+
} | {
|
|
4840
|
+
match: ({
|
|
4841
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4842
|
+
} | {
|
|
4843
|
+
path?: string | undefined;
|
|
4844
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4845
|
+
} | {
|
|
4846
|
+
path?: string | undefined;
|
|
4847
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4848
|
+
})[];
|
|
4849
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
4850
|
+
})[] | undefined;
|
|
4851
|
+
name?: string | undefined;
|
|
4852
|
+
path: string;
|
|
4853
|
+
} | {
|
|
4854
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
4855
|
+
match?: ({
|
|
4856
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4857
|
+
} | {
|
|
4858
|
+
path?: string | undefined;
|
|
4859
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4860
|
+
} | {
|
|
4861
|
+
path?: string | undefined;
|
|
4862
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4863
|
+
} | {
|
|
4864
|
+
match: ({
|
|
4865
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4866
|
+
} | {
|
|
4867
|
+
path?: string | undefined;
|
|
4868
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4869
|
+
} | {
|
|
4870
|
+
path?: string | undefined;
|
|
4871
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4872
|
+
})[];
|
|
4873
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2422
4874
|
})[] | undefined;
|
|
2423
4875
|
name: string;
|
|
2424
4876
|
} | {
|
|
@@ -2431,6 +4883,17 @@ declare const rules: readonly [{
|
|
|
2431
4883
|
} | {
|
|
2432
4884
|
path?: string | undefined;
|
|
2433
4885
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4886
|
+
} | {
|
|
4887
|
+
match: ({
|
|
4888
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4889
|
+
} | {
|
|
4890
|
+
path?: string | undefined;
|
|
4891
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4892
|
+
} | {
|
|
4893
|
+
path?: string | undefined;
|
|
4894
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4895
|
+
})[];
|
|
4896
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2434
4897
|
})[] | undefined;
|
|
2435
4898
|
name: string;
|
|
2436
4899
|
})[];
|
|
@@ -2443,6 +4906,7 @@ declare const rules: readonly [{
|
|
|
2443
4906
|
LangOptions: Linter.LanguageOptions;
|
|
2444
4907
|
Code: import("eslint").SourceCode;
|
|
2445
4908
|
RuleOptions: [Required<{
|
|
4909
|
+
cwd?: string | undefined;
|
|
2446
4910
|
rootFontSize?: number | undefined;
|
|
2447
4911
|
detectComponentClasses: boolean;
|
|
2448
4912
|
tsconfig?: string | undefined;
|
|
@@ -2496,9 +4960,22 @@ declare const rules: readonly [{
|
|
|
2496
4960
|
} | {
|
|
2497
4961
|
path?: string | undefined;
|
|
2498
4962
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4963
|
+
} | {
|
|
4964
|
+
match: ({
|
|
4965
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4966
|
+
} | {
|
|
4967
|
+
path?: string | undefined;
|
|
4968
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4969
|
+
} | {
|
|
4970
|
+
path?: string | undefined;
|
|
4971
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4972
|
+
})[];
|
|
4973
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2499
4974
|
})[] | undefined;
|
|
2500
4975
|
name: string;
|
|
2501
4976
|
path?: string | undefined;
|
|
4977
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
4978
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2502
4979
|
} | {
|
|
2503
4980
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2504
4981
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -2510,11 +4987,24 @@ declare const rules: readonly [{
|
|
|
2510
4987
|
} | {
|
|
2511
4988
|
path?: string | undefined;
|
|
2512
4989
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4990
|
+
} | {
|
|
4991
|
+
match: ({
|
|
4992
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
4993
|
+
} | {
|
|
4994
|
+
path?: string | undefined;
|
|
4995
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
4996
|
+
} | {
|
|
4997
|
+
path?: string | undefined;
|
|
4998
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
4999
|
+
})[];
|
|
5000
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2513
5001
|
})[] | undefined;
|
|
2514
5002
|
name?: string | undefined;
|
|
2515
5003
|
path: string;
|
|
5004
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5005
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2516
5006
|
} | {
|
|
2517
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
5007
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2518
5008
|
match?: ({
|
|
2519
5009
|
type: import("../types/rule.js").MatcherType.String;
|
|
2520
5010
|
} | {
|
|
@@ -2523,8 +5013,20 @@ declare const rules: readonly [{
|
|
|
2523
5013
|
} | {
|
|
2524
5014
|
path?: string | undefined;
|
|
2525
5015
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5016
|
+
} | {
|
|
5017
|
+
match: ({
|
|
5018
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5019
|
+
} | {
|
|
5020
|
+
path?: string | undefined;
|
|
5021
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5022
|
+
} | {
|
|
5023
|
+
path?: string | undefined;
|
|
5024
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5025
|
+
})[];
|
|
5026
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2526
5027
|
})[] | undefined;
|
|
2527
5028
|
name: string;
|
|
5029
|
+
path?: string | undefined;
|
|
2528
5030
|
} | {
|
|
2529
5031
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2530
5032
|
match?: ({
|
|
@@ -2535,6 +5037,41 @@ declare const rules: readonly [{
|
|
|
2535
5037
|
} | {
|
|
2536
5038
|
path?: string | undefined;
|
|
2537
5039
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5040
|
+
} | {
|
|
5041
|
+
match: ({
|
|
5042
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5043
|
+
} | {
|
|
5044
|
+
path?: string | undefined;
|
|
5045
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5046
|
+
} | {
|
|
5047
|
+
path?: string | undefined;
|
|
5048
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5049
|
+
})[];
|
|
5050
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
5051
|
+
})[] | undefined;
|
|
5052
|
+
name?: string | undefined;
|
|
5053
|
+
path: string;
|
|
5054
|
+
} | {
|
|
5055
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
5056
|
+
match?: ({
|
|
5057
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5058
|
+
} | {
|
|
5059
|
+
path?: string | undefined;
|
|
5060
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5061
|
+
} | {
|
|
5062
|
+
path?: string | undefined;
|
|
5063
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5064
|
+
} | {
|
|
5065
|
+
match: ({
|
|
5066
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5067
|
+
} | {
|
|
5068
|
+
path?: string | undefined;
|
|
5069
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5070
|
+
} | {
|
|
5071
|
+
path?: string | undefined;
|
|
5072
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5073
|
+
})[];
|
|
5074
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2538
5075
|
})[] | undefined;
|
|
2539
5076
|
name: string;
|
|
2540
5077
|
} | {
|
|
@@ -2547,6 +5084,17 @@ declare const rules: readonly [{
|
|
|
2547
5084
|
} | {
|
|
2548
5085
|
path?: string | undefined;
|
|
2549
5086
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5087
|
+
} | {
|
|
5088
|
+
match: ({
|
|
5089
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5090
|
+
} | {
|
|
5091
|
+
path?: string | undefined;
|
|
5092
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5093
|
+
} | {
|
|
5094
|
+
path?: string | undefined;
|
|
5095
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5096
|
+
})[];
|
|
5097
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2550
5098
|
})[] | undefined;
|
|
2551
5099
|
name: string;
|
|
2552
5100
|
})[];
|
|
@@ -2581,6 +5129,7 @@ declare const rules: readonly [{
|
|
|
2581
5129
|
} | undefined;
|
|
2582
5130
|
name: "no-unknown-classes";
|
|
2583
5131
|
readonly options: {
|
|
5132
|
+
cwd?: string | undefined;
|
|
2584
5133
|
rootFontSize?: number | undefined;
|
|
2585
5134
|
detectComponentClasses: boolean;
|
|
2586
5135
|
tsconfig?: string | undefined;
|
|
@@ -2634,9 +5183,22 @@ declare const rules: readonly [{
|
|
|
2634
5183
|
} | {
|
|
2635
5184
|
path?: string | undefined;
|
|
2636
5185
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5186
|
+
} | {
|
|
5187
|
+
match: ({
|
|
5188
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5189
|
+
} | {
|
|
5190
|
+
path?: string | undefined;
|
|
5191
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5192
|
+
} | {
|
|
5193
|
+
path?: string | undefined;
|
|
5194
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5195
|
+
})[];
|
|
5196
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2637
5197
|
})[] | undefined;
|
|
2638
5198
|
name: string;
|
|
2639
5199
|
path?: string | undefined;
|
|
5200
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5201
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2640
5202
|
} | {
|
|
2641
5203
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2642
5204
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -2648,11 +5210,24 @@ declare const rules: readonly [{
|
|
|
2648
5210
|
} | {
|
|
2649
5211
|
path?: string | undefined;
|
|
2650
5212
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5213
|
+
} | {
|
|
5214
|
+
match: ({
|
|
5215
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5216
|
+
} | {
|
|
5217
|
+
path?: string | undefined;
|
|
5218
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5219
|
+
} | {
|
|
5220
|
+
path?: string | undefined;
|
|
5221
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5222
|
+
})[];
|
|
5223
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2651
5224
|
})[] | undefined;
|
|
2652
5225
|
name?: string | undefined;
|
|
2653
5226
|
path: string;
|
|
5227
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5228
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2654
5229
|
} | {
|
|
2655
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
5230
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2656
5231
|
match?: ({
|
|
2657
5232
|
type: import("../types/rule.js").MatcherType.String;
|
|
2658
5233
|
} | {
|
|
@@ -2661,8 +5236,20 @@ declare const rules: readonly [{
|
|
|
2661
5236
|
} | {
|
|
2662
5237
|
path?: string | undefined;
|
|
2663
5238
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5239
|
+
} | {
|
|
5240
|
+
match: ({
|
|
5241
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5242
|
+
} | {
|
|
5243
|
+
path?: string | undefined;
|
|
5244
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5245
|
+
} | {
|
|
5246
|
+
path?: string | undefined;
|
|
5247
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5248
|
+
})[];
|
|
5249
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2664
5250
|
})[] | undefined;
|
|
2665
5251
|
name: string;
|
|
5252
|
+
path?: string | undefined;
|
|
2666
5253
|
} | {
|
|
2667
5254
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2668
5255
|
match?: ({
|
|
@@ -2673,6 +5260,41 @@ declare const rules: readonly [{
|
|
|
2673
5260
|
} | {
|
|
2674
5261
|
path?: string | undefined;
|
|
2675
5262
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5263
|
+
} | {
|
|
5264
|
+
match: ({
|
|
5265
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5266
|
+
} | {
|
|
5267
|
+
path?: string | undefined;
|
|
5268
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5269
|
+
} | {
|
|
5270
|
+
path?: string | undefined;
|
|
5271
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5272
|
+
})[];
|
|
5273
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
5274
|
+
})[] | undefined;
|
|
5275
|
+
name?: string | undefined;
|
|
5276
|
+
path: string;
|
|
5277
|
+
} | {
|
|
5278
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
5279
|
+
match?: ({
|
|
5280
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5281
|
+
} | {
|
|
5282
|
+
path?: string | undefined;
|
|
5283
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5284
|
+
} | {
|
|
5285
|
+
path?: string | undefined;
|
|
5286
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5287
|
+
} | {
|
|
5288
|
+
match: ({
|
|
5289
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5290
|
+
} | {
|
|
5291
|
+
path?: string | undefined;
|
|
5292
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5293
|
+
} | {
|
|
5294
|
+
path?: string | undefined;
|
|
5295
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5296
|
+
})[];
|
|
5297
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2676
5298
|
})[] | undefined;
|
|
2677
5299
|
name: string;
|
|
2678
5300
|
} | {
|
|
@@ -2685,6 +5307,17 @@ declare const rules: readonly [{
|
|
|
2685
5307
|
} | {
|
|
2686
5308
|
path?: string | undefined;
|
|
2687
5309
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5310
|
+
} | {
|
|
5311
|
+
match: ({
|
|
5312
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5313
|
+
} | {
|
|
5314
|
+
path?: string | undefined;
|
|
5315
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5316
|
+
} | {
|
|
5317
|
+
path?: string | undefined;
|
|
5318
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5319
|
+
})[];
|
|
5320
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2688
5321
|
})[] | undefined;
|
|
2689
5322
|
name: string;
|
|
2690
5323
|
})[];
|
|
@@ -2697,6 +5330,7 @@ declare const rules: readonly [{
|
|
|
2697
5330
|
LangOptions: Linter.LanguageOptions;
|
|
2698
5331
|
Code: import("eslint").SourceCode;
|
|
2699
5332
|
RuleOptions: [Required<{
|
|
5333
|
+
cwd?: string | undefined;
|
|
2700
5334
|
rootFontSize?: number | undefined;
|
|
2701
5335
|
detectComponentClasses: boolean;
|
|
2702
5336
|
tsconfig?: string | undefined;
|
|
@@ -2750,9 +5384,22 @@ declare const rules: readonly [{
|
|
|
2750
5384
|
} | {
|
|
2751
5385
|
path?: string | undefined;
|
|
2752
5386
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5387
|
+
} | {
|
|
5388
|
+
match: ({
|
|
5389
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5390
|
+
} | {
|
|
5391
|
+
path?: string | undefined;
|
|
5392
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5393
|
+
} | {
|
|
5394
|
+
path?: string | undefined;
|
|
5395
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5396
|
+
})[];
|
|
5397
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2753
5398
|
})[] | undefined;
|
|
2754
5399
|
name: string;
|
|
2755
5400
|
path?: string | undefined;
|
|
5401
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5402
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2756
5403
|
} | {
|
|
2757
5404
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2758
5405
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -2764,11 +5411,24 @@ declare const rules: readonly [{
|
|
|
2764
5411
|
} | {
|
|
2765
5412
|
path?: string | undefined;
|
|
2766
5413
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5414
|
+
} | {
|
|
5415
|
+
match: ({
|
|
5416
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5417
|
+
} | {
|
|
5418
|
+
path?: string | undefined;
|
|
5419
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5420
|
+
} | {
|
|
5421
|
+
path?: string | undefined;
|
|
5422
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5423
|
+
})[];
|
|
5424
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2767
5425
|
})[] | undefined;
|
|
2768
5426
|
name?: string | undefined;
|
|
2769
5427
|
path: string;
|
|
5428
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5429
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2770
5430
|
} | {
|
|
2771
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
5431
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2772
5432
|
match?: ({
|
|
2773
5433
|
type: import("../types/rule.js").MatcherType.String;
|
|
2774
5434
|
} | {
|
|
@@ -2777,8 +5437,20 @@ declare const rules: readonly [{
|
|
|
2777
5437
|
} | {
|
|
2778
5438
|
path?: string | undefined;
|
|
2779
5439
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5440
|
+
} | {
|
|
5441
|
+
match: ({
|
|
5442
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5443
|
+
} | {
|
|
5444
|
+
path?: string | undefined;
|
|
5445
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5446
|
+
} | {
|
|
5447
|
+
path?: string | undefined;
|
|
5448
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5449
|
+
})[];
|
|
5450
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2780
5451
|
})[] | undefined;
|
|
2781
5452
|
name: string;
|
|
5453
|
+
path?: string | undefined;
|
|
2782
5454
|
} | {
|
|
2783
5455
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2784
5456
|
match?: ({
|
|
@@ -2789,6 +5461,41 @@ declare const rules: readonly [{
|
|
|
2789
5461
|
} | {
|
|
2790
5462
|
path?: string | undefined;
|
|
2791
5463
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5464
|
+
} | {
|
|
5465
|
+
match: ({
|
|
5466
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5467
|
+
} | {
|
|
5468
|
+
path?: string | undefined;
|
|
5469
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5470
|
+
} | {
|
|
5471
|
+
path?: string | undefined;
|
|
5472
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5473
|
+
})[];
|
|
5474
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
5475
|
+
})[] | undefined;
|
|
5476
|
+
name?: string | undefined;
|
|
5477
|
+
path: string;
|
|
5478
|
+
} | {
|
|
5479
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
5480
|
+
match?: ({
|
|
5481
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5482
|
+
} | {
|
|
5483
|
+
path?: string | undefined;
|
|
5484
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5485
|
+
} | {
|
|
5486
|
+
path?: string | undefined;
|
|
5487
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5488
|
+
} | {
|
|
5489
|
+
match: ({
|
|
5490
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5491
|
+
} | {
|
|
5492
|
+
path?: string | undefined;
|
|
5493
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5494
|
+
} | {
|
|
5495
|
+
path?: string | undefined;
|
|
5496
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5497
|
+
})[];
|
|
5498
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2792
5499
|
})[] | undefined;
|
|
2793
5500
|
name: string;
|
|
2794
5501
|
} | {
|
|
@@ -2801,6 +5508,17 @@ declare const rules: readonly [{
|
|
|
2801
5508
|
} | {
|
|
2802
5509
|
path?: string | undefined;
|
|
2803
5510
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5511
|
+
} | {
|
|
5512
|
+
match: ({
|
|
5513
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5514
|
+
} | {
|
|
5515
|
+
path?: string | undefined;
|
|
5516
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5517
|
+
} | {
|
|
5518
|
+
path?: string | undefined;
|
|
5519
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5520
|
+
})[];
|
|
5521
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2804
5522
|
})[] | undefined;
|
|
2805
5523
|
name: string;
|
|
2806
5524
|
})[];
|
|
@@ -2836,6 +5554,7 @@ declare const rules: readonly [{
|
|
|
2836
5554
|
} | undefined;
|
|
2837
5555
|
name: "enforce-canonical-classes";
|
|
2838
5556
|
readonly options: {
|
|
5557
|
+
cwd?: string | undefined;
|
|
2839
5558
|
rootFontSize?: number | undefined;
|
|
2840
5559
|
detectComponentClasses: boolean;
|
|
2841
5560
|
tsconfig?: string | undefined;
|
|
@@ -2889,9 +5608,22 @@ declare const rules: readonly [{
|
|
|
2889
5608
|
} | {
|
|
2890
5609
|
path?: string | undefined;
|
|
2891
5610
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5611
|
+
} | {
|
|
5612
|
+
match: ({
|
|
5613
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5614
|
+
} | {
|
|
5615
|
+
path?: string | undefined;
|
|
5616
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5617
|
+
} | {
|
|
5618
|
+
path?: string | undefined;
|
|
5619
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5620
|
+
})[];
|
|
5621
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2892
5622
|
})[] | undefined;
|
|
2893
5623
|
name: string;
|
|
2894
5624
|
path?: string | undefined;
|
|
5625
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5626
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2895
5627
|
} | {
|
|
2896
5628
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
2897
5629
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -2903,11 +5635,24 @@ declare const rules: readonly [{
|
|
|
2903
5635
|
} | {
|
|
2904
5636
|
path?: string | undefined;
|
|
2905
5637
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5638
|
+
} | {
|
|
5639
|
+
match: ({
|
|
5640
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5641
|
+
} | {
|
|
5642
|
+
path?: string | undefined;
|
|
5643
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5644
|
+
} | {
|
|
5645
|
+
path?: string | undefined;
|
|
5646
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5647
|
+
})[];
|
|
5648
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2906
5649
|
})[] | undefined;
|
|
2907
5650
|
name?: string | undefined;
|
|
2908
5651
|
path: string;
|
|
5652
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5653
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
2909
5654
|
} | {
|
|
2910
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
5655
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2911
5656
|
match?: ({
|
|
2912
5657
|
type: import("../types/rule.js").MatcherType.String;
|
|
2913
5658
|
} | {
|
|
@@ -2916,8 +5661,20 @@ declare const rules: readonly [{
|
|
|
2916
5661
|
} | {
|
|
2917
5662
|
path?: string | undefined;
|
|
2918
5663
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5664
|
+
} | {
|
|
5665
|
+
match: ({
|
|
5666
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5667
|
+
} | {
|
|
5668
|
+
path?: string | undefined;
|
|
5669
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5670
|
+
} | {
|
|
5671
|
+
path?: string | undefined;
|
|
5672
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5673
|
+
})[];
|
|
5674
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2919
5675
|
})[] | undefined;
|
|
2920
5676
|
name: string;
|
|
5677
|
+
path?: string | undefined;
|
|
2921
5678
|
} | {
|
|
2922
5679
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
2923
5680
|
match?: ({
|
|
@@ -2928,6 +5685,41 @@ declare const rules: readonly [{
|
|
|
2928
5685
|
} | {
|
|
2929
5686
|
path?: string | undefined;
|
|
2930
5687
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5688
|
+
} | {
|
|
5689
|
+
match: ({
|
|
5690
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5691
|
+
} | {
|
|
5692
|
+
path?: string | undefined;
|
|
5693
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5694
|
+
} | {
|
|
5695
|
+
path?: string | undefined;
|
|
5696
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5697
|
+
})[];
|
|
5698
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
5699
|
+
})[] | undefined;
|
|
5700
|
+
name?: string | undefined;
|
|
5701
|
+
path: string;
|
|
5702
|
+
} | {
|
|
5703
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
5704
|
+
match?: ({
|
|
5705
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5706
|
+
} | {
|
|
5707
|
+
path?: string | undefined;
|
|
5708
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5709
|
+
} | {
|
|
5710
|
+
path?: string | undefined;
|
|
5711
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5712
|
+
} | {
|
|
5713
|
+
match: ({
|
|
5714
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5715
|
+
} | {
|
|
5716
|
+
path?: string | undefined;
|
|
5717
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5718
|
+
} | {
|
|
5719
|
+
path?: string | undefined;
|
|
5720
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5721
|
+
})[];
|
|
5722
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2931
5723
|
})[] | undefined;
|
|
2932
5724
|
name: string;
|
|
2933
5725
|
} | {
|
|
@@ -2940,6 +5732,17 @@ declare const rules: readonly [{
|
|
|
2940
5732
|
} | {
|
|
2941
5733
|
path?: string | undefined;
|
|
2942
5734
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5735
|
+
} | {
|
|
5736
|
+
match: ({
|
|
5737
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5738
|
+
} | {
|
|
5739
|
+
path?: string | undefined;
|
|
5740
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5741
|
+
} | {
|
|
5742
|
+
path?: string | undefined;
|
|
5743
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5744
|
+
})[];
|
|
5745
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
2943
5746
|
})[] | undefined;
|
|
2944
5747
|
name: string;
|
|
2945
5748
|
})[];
|
|
@@ -2953,6 +5756,7 @@ declare const rules: readonly [{
|
|
|
2953
5756
|
LangOptions: Linter.LanguageOptions;
|
|
2954
5757
|
Code: import("eslint").SourceCode;
|
|
2955
5758
|
RuleOptions: [Required<{
|
|
5759
|
+
cwd?: string | undefined;
|
|
2956
5760
|
rootFontSize?: number | undefined;
|
|
2957
5761
|
detectComponentClasses: boolean;
|
|
2958
5762
|
tsconfig?: string | undefined;
|
|
@@ -3006,9 +5810,22 @@ declare const rules: readonly [{
|
|
|
3006
5810
|
} | {
|
|
3007
5811
|
path?: string | undefined;
|
|
3008
5812
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5813
|
+
} | {
|
|
5814
|
+
match: ({
|
|
5815
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5816
|
+
} | {
|
|
5817
|
+
path?: string | undefined;
|
|
5818
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5819
|
+
} | {
|
|
5820
|
+
path?: string | undefined;
|
|
5821
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5822
|
+
})[];
|
|
5823
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3009
5824
|
})[] | undefined;
|
|
3010
5825
|
name: string;
|
|
3011
5826
|
path?: string | undefined;
|
|
5827
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5828
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
3012
5829
|
} | {
|
|
3013
5830
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
3014
5831
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -3020,11 +5837,24 @@ declare const rules: readonly [{
|
|
|
3020
5837
|
} | {
|
|
3021
5838
|
path?: string | undefined;
|
|
3022
5839
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5840
|
+
} | {
|
|
5841
|
+
match: ({
|
|
5842
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5843
|
+
} | {
|
|
5844
|
+
path?: string | undefined;
|
|
5845
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5846
|
+
} | {
|
|
5847
|
+
path?: string | undefined;
|
|
5848
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5849
|
+
})[];
|
|
5850
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3023
5851
|
})[] | undefined;
|
|
3024
5852
|
name?: string | undefined;
|
|
3025
5853
|
path: string;
|
|
5854
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
5855
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
3026
5856
|
} | {
|
|
3027
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
5857
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
3028
5858
|
match?: ({
|
|
3029
5859
|
type: import("../types/rule.js").MatcherType.String;
|
|
3030
5860
|
} | {
|
|
@@ -3033,8 +5863,20 @@ declare const rules: readonly [{
|
|
|
3033
5863
|
} | {
|
|
3034
5864
|
path?: string | undefined;
|
|
3035
5865
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5866
|
+
} | {
|
|
5867
|
+
match: ({
|
|
5868
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5869
|
+
} | {
|
|
5870
|
+
path?: string | undefined;
|
|
5871
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5872
|
+
} | {
|
|
5873
|
+
path?: string | undefined;
|
|
5874
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5875
|
+
})[];
|
|
5876
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3036
5877
|
})[] | undefined;
|
|
3037
5878
|
name: string;
|
|
5879
|
+
path?: string | undefined;
|
|
3038
5880
|
} | {
|
|
3039
5881
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
3040
5882
|
match?: ({
|
|
@@ -3045,6 +5887,41 @@ declare const rules: readonly [{
|
|
|
3045
5887
|
} | {
|
|
3046
5888
|
path?: string | undefined;
|
|
3047
5889
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5890
|
+
} | {
|
|
5891
|
+
match: ({
|
|
5892
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5893
|
+
} | {
|
|
5894
|
+
path?: string | undefined;
|
|
5895
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5896
|
+
} | {
|
|
5897
|
+
path?: string | undefined;
|
|
5898
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5899
|
+
})[];
|
|
5900
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
5901
|
+
})[] | undefined;
|
|
5902
|
+
name?: string | undefined;
|
|
5903
|
+
path: string;
|
|
5904
|
+
} | {
|
|
5905
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
5906
|
+
match?: ({
|
|
5907
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5908
|
+
} | {
|
|
5909
|
+
path?: string | undefined;
|
|
5910
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5911
|
+
} | {
|
|
5912
|
+
path?: string | undefined;
|
|
5913
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5914
|
+
} | {
|
|
5915
|
+
match: ({
|
|
5916
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5917
|
+
} | {
|
|
5918
|
+
path?: string | undefined;
|
|
5919
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5920
|
+
} | {
|
|
5921
|
+
path?: string | undefined;
|
|
5922
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5923
|
+
})[];
|
|
5924
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3048
5925
|
})[] | undefined;
|
|
3049
5926
|
name: string;
|
|
3050
5927
|
} | {
|
|
@@ -3057,6 +5934,17 @@ declare const rules: readonly [{
|
|
|
3057
5934
|
} | {
|
|
3058
5935
|
path?: string | undefined;
|
|
3059
5936
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5937
|
+
} | {
|
|
5938
|
+
match: ({
|
|
5939
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
5940
|
+
} | {
|
|
5941
|
+
path?: string | undefined;
|
|
5942
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
5943
|
+
} | {
|
|
5944
|
+
path?: string | undefined;
|
|
5945
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
5946
|
+
})[];
|
|
5947
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
3060
5948
|
})[] | undefined;
|
|
3061
5949
|
name: string;
|
|
3062
5950
|
})[];
|