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
|
@@ -3,6 +3,7 @@ export declare const noRestrictedClasses: {
|
|
|
3
3
|
messages: Record<string, string> | undefined;
|
|
4
4
|
name: "no-restricted-classes";
|
|
5
5
|
readonly options: {
|
|
6
|
+
cwd?: string | undefined;
|
|
6
7
|
rootFontSize?: number | undefined;
|
|
7
8
|
detectComponentClasses: boolean;
|
|
8
9
|
tsconfig?: string | undefined;
|
|
@@ -56,9 +57,22 @@ export declare const noRestrictedClasses: {
|
|
|
56
57
|
} | {
|
|
57
58
|
path?: string | undefined;
|
|
58
59
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
60
|
+
} | {
|
|
61
|
+
match: ({
|
|
62
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
63
|
+
} | {
|
|
64
|
+
path?: string | undefined;
|
|
65
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
66
|
+
} | {
|
|
67
|
+
path?: string | undefined;
|
|
68
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
69
|
+
})[];
|
|
70
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
59
71
|
})[] | undefined;
|
|
60
72
|
name: string;
|
|
61
73
|
path?: string | undefined;
|
|
74
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
75
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
62
76
|
} | {
|
|
63
77
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
64
78
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -70,11 +84,24 @@ export declare const noRestrictedClasses: {
|
|
|
70
84
|
} | {
|
|
71
85
|
path?: string | undefined;
|
|
72
86
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
87
|
+
} | {
|
|
88
|
+
match: ({
|
|
89
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
90
|
+
} | {
|
|
91
|
+
path?: string | undefined;
|
|
92
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
93
|
+
} | {
|
|
94
|
+
path?: string | undefined;
|
|
95
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
96
|
+
})[];
|
|
97
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
73
98
|
})[] | undefined;
|
|
74
99
|
name?: string | undefined;
|
|
75
100
|
path: string;
|
|
101
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
102
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
76
103
|
} | {
|
|
77
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
104
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
78
105
|
match?: ({
|
|
79
106
|
type: import("../types/rule.js").MatcherType.String;
|
|
80
107
|
} | {
|
|
@@ -83,8 +110,20 @@ export declare const noRestrictedClasses: {
|
|
|
83
110
|
} | {
|
|
84
111
|
path?: string | undefined;
|
|
85
112
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
113
|
+
} | {
|
|
114
|
+
match: ({
|
|
115
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
116
|
+
} | {
|
|
117
|
+
path?: string | undefined;
|
|
118
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
119
|
+
} | {
|
|
120
|
+
path?: string | undefined;
|
|
121
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
122
|
+
})[];
|
|
123
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
86
124
|
})[] | undefined;
|
|
87
125
|
name: string;
|
|
126
|
+
path?: string | undefined;
|
|
88
127
|
} | {
|
|
89
128
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
90
129
|
match?: ({
|
|
@@ -95,6 +134,41 @@ export declare const noRestrictedClasses: {
|
|
|
95
134
|
} | {
|
|
96
135
|
path?: string | undefined;
|
|
97
136
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
137
|
+
} | {
|
|
138
|
+
match: ({
|
|
139
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
140
|
+
} | {
|
|
141
|
+
path?: string | undefined;
|
|
142
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
143
|
+
} | {
|
|
144
|
+
path?: string | undefined;
|
|
145
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
146
|
+
})[];
|
|
147
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
148
|
+
})[] | undefined;
|
|
149
|
+
name?: string | undefined;
|
|
150
|
+
path: string;
|
|
151
|
+
} | {
|
|
152
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
153
|
+
match?: ({
|
|
154
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
155
|
+
} | {
|
|
156
|
+
path?: string | undefined;
|
|
157
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
158
|
+
} | {
|
|
159
|
+
path?: string | undefined;
|
|
160
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
161
|
+
} | {
|
|
162
|
+
match: ({
|
|
163
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
164
|
+
} | {
|
|
165
|
+
path?: string | undefined;
|
|
166
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
167
|
+
} | {
|
|
168
|
+
path?: string | undefined;
|
|
169
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
170
|
+
})[];
|
|
171
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
98
172
|
})[] | undefined;
|
|
99
173
|
name: string;
|
|
100
174
|
} | {
|
|
@@ -107,6 +181,17 @@ export declare const noRestrictedClasses: {
|
|
|
107
181
|
} | {
|
|
108
182
|
path?: string | undefined;
|
|
109
183
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
184
|
+
} | {
|
|
185
|
+
match: ({
|
|
186
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
187
|
+
} | {
|
|
188
|
+
path?: string | undefined;
|
|
189
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
190
|
+
} | {
|
|
191
|
+
path?: string | undefined;
|
|
192
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
193
|
+
})[];
|
|
194
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
110
195
|
})[] | undefined;
|
|
111
196
|
name: string;
|
|
112
197
|
})[];
|
|
@@ -123,6 +208,7 @@ export declare const noRestrictedClasses: {
|
|
|
123
208
|
LangOptions: import("eslint").Linter.LanguageOptions;
|
|
124
209
|
Code: import("eslint").SourceCode;
|
|
125
210
|
RuleOptions: [Required<{
|
|
211
|
+
cwd?: string | undefined;
|
|
126
212
|
rootFontSize?: number | undefined;
|
|
127
213
|
detectComponentClasses: boolean;
|
|
128
214
|
tsconfig?: string | undefined;
|
|
@@ -176,9 +262,22 @@ export declare const noRestrictedClasses: {
|
|
|
176
262
|
} | {
|
|
177
263
|
path?: string | undefined;
|
|
178
264
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
265
|
+
} | {
|
|
266
|
+
match: ({
|
|
267
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
268
|
+
} | {
|
|
269
|
+
path?: string | undefined;
|
|
270
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
271
|
+
} | {
|
|
272
|
+
path?: string | undefined;
|
|
273
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
274
|
+
})[];
|
|
275
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
179
276
|
})[] | undefined;
|
|
180
277
|
name: string;
|
|
181
278
|
path?: string | undefined;
|
|
279
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
280
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
182
281
|
} | {
|
|
183
282
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
184
283
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -190,11 +289,24 @@ export declare const noRestrictedClasses: {
|
|
|
190
289
|
} | {
|
|
191
290
|
path?: string | undefined;
|
|
192
291
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
292
|
+
} | {
|
|
293
|
+
match: ({
|
|
294
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
295
|
+
} | {
|
|
296
|
+
path?: string | undefined;
|
|
297
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
298
|
+
} | {
|
|
299
|
+
path?: string | undefined;
|
|
300
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
301
|
+
})[];
|
|
302
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
193
303
|
})[] | undefined;
|
|
194
304
|
name?: string | undefined;
|
|
195
305
|
path: string;
|
|
306
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
307
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
196
308
|
} | {
|
|
197
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
309
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
198
310
|
match?: ({
|
|
199
311
|
type: import("../types/rule.js").MatcherType.String;
|
|
200
312
|
} | {
|
|
@@ -203,8 +315,20 @@ export declare const noRestrictedClasses: {
|
|
|
203
315
|
} | {
|
|
204
316
|
path?: string | undefined;
|
|
205
317
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
318
|
+
} | {
|
|
319
|
+
match: ({
|
|
320
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
321
|
+
} | {
|
|
322
|
+
path?: string | undefined;
|
|
323
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
324
|
+
} | {
|
|
325
|
+
path?: string | undefined;
|
|
326
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
327
|
+
})[];
|
|
328
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
206
329
|
})[] | undefined;
|
|
207
330
|
name: string;
|
|
331
|
+
path?: string | undefined;
|
|
208
332
|
} | {
|
|
209
333
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
210
334
|
match?: ({
|
|
@@ -215,6 +339,41 @@ export declare const noRestrictedClasses: {
|
|
|
215
339
|
} | {
|
|
216
340
|
path?: string | undefined;
|
|
217
341
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
342
|
+
} | {
|
|
343
|
+
match: ({
|
|
344
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
345
|
+
} | {
|
|
346
|
+
path?: string | undefined;
|
|
347
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
348
|
+
} | {
|
|
349
|
+
path?: string | undefined;
|
|
350
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
351
|
+
})[];
|
|
352
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
353
|
+
})[] | undefined;
|
|
354
|
+
name?: string | undefined;
|
|
355
|
+
path: string;
|
|
356
|
+
} | {
|
|
357
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
358
|
+
match?: ({
|
|
359
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
360
|
+
} | {
|
|
361
|
+
path?: string | undefined;
|
|
362
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
363
|
+
} | {
|
|
364
|
+
path?: string | undefined;
|
|
365
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
366
|
+
} | {
|
|
367
|
+
match: ({
|
|
368
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
369
|
+
} | {
|
|
370
|
+
path?: string | undefined;
|
|
371
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
372
|
+
} | {
|
|
373
|
+
path?: string | undefined;
|
|
374
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
375
|
+
})[];
|
|
376
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
218
377
|
})[] | undefined;
|
|
219
378
|
name: string;
|
|
220
379
|
} | {
|
|
@@ -227,6 +386,17 @@ export declare const noRestrictedClasses: {
|
|
|
227
386
|
} | {
|
|
228
387
|
path?: string | undefined;
|
|
229
388
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
389
|
+
} | {
|
|
390
|
+
match: ({
|
|
391
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
392
|
+
} | {
|
|
393
|
+
path?: string | undefined;
|
|
394
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
395
|
+
} | {
|
|
396
|
+
path?: string | undefined;
|
|
397
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
398
|
+
})[];
|
|
399
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
230
400
|
})[] | undefined;
|
|
231
401
|
name: string;
|
|
232
402
|
})[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-restricted-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-restricted-classes.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"no-restricted-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-restricted-classes.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC9B,CAAC"}
|
|
@@ -5,6 +5,7 @@ export declare const noUnknownClasses: {
|
|
|
5
5
|
} | undefined;
|
|
6
6
|
name: "no-unknown-classes";
|
|
7
7
|
readonly options: {
|
|
8
|
+
cwd?: string | undefined;
|
|
8
9
|
rootFontSize?: number | undefined;
|
|
9
10
|
detectComponentClasses: boolean;
|
|
10
11
|
tsconfig?: string | undefined;
|
|
@@ -58,9 +59,22 @@ export declare const noUnknownClasses: {
|
|
|
58
59
|
} | {
|
|
59
60
|
path?: string | undefined;
|
|
60
61
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
62
|
+
} | {
|
|
63
|
+
match: ({
|
|
64
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
65
|
+
} | {
|
|
66
|
+
path?: string | undefined;
|
|
67
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
68
|
+
} | {
|
|
69
|
+
path?: string | undefined;
|
|
70
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
71
|
+
})[];
|
|
72
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
61
73
|
})[] | undefined;
|
|
62
74
|
name: string;
|
|
63
75
|
path?: string | undefined;
|
|
76
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
77
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
64
78
|
} | {
|
|
65
79
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
66
80
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -72,11 +86,24 @@ export declare const noUnknownClasses: {
|
|
|
72
86
|
} | {
|
|
73
87
|
path?: string | undefined;
|
|
74
88
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
89
|
+
} | {
|
|
90
|
+
match: ({
|
|
91
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
92
|
+
} | {
|
|
93
|
+
path?: string | undefined;
|
|
94
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
95
|
+
} | {
|
|
96
|
+
path?: string | undefined;
|
|
97
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
98
|
+
})[];
|
|
99
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
75
100
|
})[] | undefined;
|
|
76
101
|
name?: string | undefined;
|
|
77
102
|
path: string;
|
|
103
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
104
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
78
105
|
} | {
|
|
79
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
106
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
80
107
|
match?: ({
|
|
81
108
|
type: import("../types/rule.js").MatcherType.String;
|
|
82
109
|
} | {
|
|
@@ -85,8 +112,20 @@ export declare const noUnknownClasses: {
|
|
|
85
112
|
} | {
|
|
86
113
|
path?: string | undefined;
|
|
87
114
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
115
|
+
} | {
|
|
116
|
+
match: ({
|
|
117
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
118
|
+
} | {
|
|
119
|
+
path?: string | undefined;
|
|
120
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
121
|
+
} | {
|
|
122
|
+
path?: string | undefined;
|
|
123
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
124
|
+
})[];
|
|
125
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
88
126
|
})[] | undefined;
|
|
89
127
|
name: string;
|
|
128
|
+
path?: string | undefined;
|
|
90
129
|
} | {
|
|
91
130
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
92
131
|
match?: ({
|
|
@@ -97,6 +136,41 @@ export declare const noUnknownClasses: {
|
|
|
97
136
|
} | {
|
|
98
137
|
path?: string | undefined;
|
|
99
138
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
139
|
+
} | {
|
|
140
|
+
match: ({
|
|
141
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
142
|
+
} | {
|
|
143
|
+
path?: string | undefined;
|
|
144
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
145
|
+
} | {
|
|
146
|
+
path?: string | undefined;
|
|
147
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
148
|
+
})[];
|
|
149
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
150
|
+
})[] | undefined;
|
|
151
|
+
name?: string | undefined;
|
|
152
|
+
path: string;
|
|
153
|
+
} | {
|
|
154
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
155
|
+
match?: ({
|
|
156
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
157
|
+
} | {
|
|
158
|
+
path?: string | undefined;
|
|
159
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
160
|
+
} | {
|
|
161
|
+
path?: string | undefined;
|
|
162
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
163
|
+
} | {
|
|
164
|
+
match: ({
|
|
165
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
166
|
+
} | {
|
|
167
|
+
path?: string | undefined;
|
|
168
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
169
|
+
} | {
|
|
170
|
+
path?: string | undefined;
|
|
171
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
172
|
+
})[];
|
|
173
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
100
174
|
})[] | undefined;
|
|
101
175
|
name: string;
|
|
102
176
|
} | {
|
|
@@ -109,6 +183,17 @@ export declare const noUnknownClasses: {
|
|
|
109
183
|
} | {
|
|
110
184
|
path?: string | undefined;
|
|
111
185
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
186
|
+
} | {
|
|
187
|
+
match: ({
|
|
188
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
189
|
+
} | {
|
|
190
|
+
path?: string | undefined;
|
|
191
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
192
|
+
} | {
|
|
193
|
+
path?: string | undefined;
|
|
194
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
195
|
+
})[];
|
|
196
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
112
197
|
})[] | undefined;
|
|
113
198
|
name: string;
|
|
114
199
|
})[];
|
|
@@ -121,6 +206,7 @@ export declare const noUnknownClasses: {
|
|
|
121
206
|
LangOptions: import("eslint").Linter.LanguageOptions;
|
|
122
207
|
Code: import("eslint").SourceCode;
|
|
123
208
|
RuleOptions: [Required<{
|
|
209
|
+
cwd?: string | undefined;
|
|
124
210
|
rootFontSize?: number | undefined;
|
|
125
211
|
detectComponentClasses: boolean;
|
|
126
212
|
tsconfig?: string | undefined;
|
|
@@ -174,9 +260,22 @@ export declare const noUnknownClasses: {
|
|
|
174
260
|
} | {
|
|
175
261
|
path?: string | undefined;
|
|
176
262
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
263
|
+
} | {
|
|
264
|
+
match: ({
|
|
265
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
266
|
+
} | {
|
|
267
|
+
path?: string | undefined;
|
|
268
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
269
|
+
} | {
|
|
270
|
+
path?: string | undefined;
|
|
271
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
272
|
+
})[];
|
|
273
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
177
274
|
})[] | undefined;
|
|
178
275
|
name: string;
|
|
179
276
|
path?: string | undefined;
|
|
277
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
278
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
180
279
|
} | {
|
|
181
280
|
callTarget?: number | "all" | "first" | "last" | undefined;
|
|
182
281
|
kind: import("../types/rule.js").SelectorKind.Callee;
|
|
@@ -188,11 +287,24 @@ export declare const noUnknownClasses: {
|
|
|
188
287
|
} | {
|
|
189
288
|
path?: string | undefined;
|
|
190
289
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
290
|
+
} | {
|
|
291
|
+
match: ({
|
|
292
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
293
|
+
} | {
|
|
294
|
+
path?: string | undefined;
|
|
295
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
296
|
+
} | {
|
|
297
|
+
path?: string | undefined;
|
|
298
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
299
|
+
})[];
|
|
300
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
191
301
|
})[] | undefined;
|
|
192
302
|
name?: string | undefined;
|
|
193
303
|
path: string;
|
|
304
|
+
targetArgument?: number | "all" | "first" | "last" | undefined;
|
|
305
|
+
targetCall?: number | "all" | "first" | "last" | undefined;
|
|
194
306
|
} | {
|
|
195
|
-
kind: import("../types/rule.js").SelectorKind.
|
|
307
|
+
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
196
308
|
match?: ({
|
|
197
309
|
type: import("../types/rule.js").MatcherType.String;
|
|
198
310
|
} | {
|
|
@@ -201,8 +313,20 @@ export declare const noUnknownClasses: {
|
|
|
201
313
|
} | {
|
|
202
314
|
path?: string | undefined;
|
|
203
315
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
316
|
+
} | {
|
|
317
|
+
match: ({
|
|
318
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
319
|
+
} | {
|
|
320
|
+
path?: string | undefined;
|
|
321
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
322
|
+
} | {
|
|
323
|
+
path?: string | undefined;
|
|
324
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
325
|
+
})[];
|
|
326
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
204
327
|
})[] | undefined;
|
|
205
328
|
name: string;
|
|
329
|
+
path?: string | undefined;
|
|
206
330
|
} | {
|
|
207
331
|
kind: import("../types/rule.js").SelectorKind.Tag;
|
|
208
332
|
match?: ({
|
|
@@ -213,6 +337,41 @@ export declare const noUnknownClasses: {
|
|
|
213
337
|
} | {
|
|
214
338
|
path?: string | undefined;
|
|
215
339
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
340
|
+
} | {
|
|
341
|
+
match: ({
|
|
342
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
343
|
+
} | {
|
|
344
|
+
path?: string | undefined;
|
|
345
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
346
|
+
} | {
|
|
347
|
+
path?: string | undefined;
|
|
348
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
349
|
+
})[];
|
|
350
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
351
|
+
})[] | undefined;
|
|
352
|
+
name?: string | undefined;
|
|
353
|
+
path: string;
|
|
354
|
+
} | {
|
|
355
|
+
kind: import("../types/rule.js").SelectorKind.Attribute;
|
|
356
|
+
match?: ({
|
|
357
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
358
|
+
} | {
|
|
359
|
+
path?: string | undefined;
|
|
360
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
361
|
+
} | {
|
|
362
|
+
path?: string | undefined;
|
|
363
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
364
|
+
} | {
|
|
365
|
+
match: ({
|
|
366
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
367
|
+
} | {
|
|
368
|
+
path?: string | undefined;
|
|
369
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
370
|
+
} | {
|
|
371
|
+
path?: string | undefined;
|
|
372
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
373
|
+
})[];
|
|
374
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
216
375
|
})[] | undefined;
|
|
217
376
|
name: string;
|
|
218
377
|
} | {
|
|
@@ -225,6 +384,17 @@ export declare const noUnknownClasses: {
|
|
|
225
384
|
} | {
|
|
226
385
|
path?: string | undefined;
|
|
227
386
|
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
387
|
+
} | {
|
|
388
|
+
match: ({
|
|
389
|
+
type: import("../types/rule.js").MatcherType.String;
|
|
390
|
+
} | {
|
|
391
|
+
path?: string | undefined;
|
|
392
|
+
type: import("../types/rule.js").MatcherType.ObjectKey;
|
|
393
|
+
} | {
|
|
394
|
+
path?: string | undefined;
|
|
395
|
+
type: import("../types/rule.js").MatcherType.ObjectValue;
|
|
396
|
+
})[];
|
|
397
|
+
type: import("../types/rule.js").MatcherType.AnonymousFunctionReturn;
|
|
228
398
|
})[] | undefined;
|
|
229
399
|
name: string;
|
|
230
400
|
})[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-unknown-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-unknown-classes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-unknown-classes.d.ts","sourceRoot":"","sources":["../../src/rules/no-unknown-classes.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC3B,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { createGetUnknownClasses, getUnknownClasses } from "../tailwindcss/unkno
|
|
|
5
5
|
import { async } from "../utils/context.js";
|
|
6
6
|
import { escapeForRegex } from "../async-utils/escape.js";
|
|
7
7
|
import { lintClasses } from "../utils/lint.js";
|
|
8
|
+
import { getCachedRegex } from "../async-utils/regex.js";
|
|
8
9
|
import { createRule } from "../utils/rule.js";
|
|
9
10
|
import { splitClasses } from "../utils/utils.js";
|
|
10
11
|
export const noUnknownClasses = createRule({
|
|
@@ -33,8 +34,8 @@ export const noUnknownClasses = createRule({
|
|
|
33
34
|
function lintLiterals(ctx, literals) {
|
|
34
35
|
const { ignore } = ctx.options;
|
|
35
36
|
const { prefix, suffix } = getPrefix(async(ctx));
|
|
36
|
-
const ignoredGroups =
|
|
37
|
-
const ignoredPeers =
|
|
37
|
+
const ignoredGroups = getCachedRegex(`^${escapeForRegex(`${prefix}${suffix}`)}group(?:\\/(\\S*))?$`);
|
|
38
|
+
const ignoredPeers = getCachedRegex(`^${escapeForRegex(`${prefix}${suffix}`)}peer(?:\\/(\\S*))?$`);
|
|
38
39
|
const customComponentClassRegexes = getCustomComponentClassRegexes(ctx);
|
|
39
40
|
for (const literal of literals) {
|
|
40
41
|
const classes = splitClasses(literal.content);
|
|
@@ -46,10 +47,10 @@ function lintLiterals(ctx, literals) {
|
|
|
46
47
|
if (!unknownClasses.includes(className)) {
|
|
47
48
|
return;
|
|
48
49
|
}
|
|
49
|
-
if (ignore.some(ignoredClass =>
|
|
50
|
-
customComponentClassRegexes?.some(customComponentClassesRegex =>
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
if (ignore.some(ignoredClass => getCachedRegex(ignoredClass).test(className)) ||
|
|
51
|
+
customComponentClassRegexes?.some(customComponentClassesRegex => customComponentClassesRegex.test(className)) ||
|
|
52
|
+
ignoredGroups.test(className) ||
|
|
53
|
+
ignoredPeers.test(className)) {
|
|
53
54
|
return;
|
|
54
55
|
}
|
|
55
56
|
return {
|
|
@@ -69,6 +70,6 @@ function getCustomComponentClassRegexes(ctx) {
|
|
|
69
70
|
}
|
|
70
71
|
const { customComponentClasses } = getCustomComponentClasses(async(ctx));
|
|
71
72
|
const { prefix, suffix } = getPrefix(async(ctx));
|
|
72
|
-
return customComponentClasses.map(className =>
|
|
73
|
+
return customComponentClasses.map(className => getCachedRegex(`^${escapeForRegex(`${prefix}${suffix}`)}(?:.*:)?${escapeForRegex(className)}$`));
|
|
73
74
|
}
|
|
74
75
|
//# sourceMappingURL=no-unknown-classes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-unknown-classes.js","sourceRoot":"","sources":["../../src/rules/no-unknown-classes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEnF,OAAO,EACL,+BAA+B,EA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