@mouse_484/eslint-config 5.8.13 → 5.8.14
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/package.json +2 -2
- package/src/configs/tailwind.js +4 -18
- package/src/lib/rules.gen.d.ts +332 -314
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mouse_484/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.8.
|
|
4
|
+
"version": "5.8.14",
|
|
5
5
|
"author": "mouse_484",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/mouse484/config/tree/main/packages/eslint",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/eslint-config": "^7.2.0",
|
|
28
|
-
"eslint-plugin-better-tailwindcss": "^
|
|
28
|
+
"eslint-plugin-better-tailwindcss": "^4.0.2",
|
|
29
29
|
"package-manager-detector": "^1.6.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
package/src/configs/tailwind.js
CHANGED
|
@@ -14,26 +14,12 @@ export default createConfigs({
|
|
|
14
14
|
tailwind: eslintPluginBetterTailwindcss,
|
|
15
15
|
},
|
|
16
16
|
rules: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
'tailwind/enforce-consistent-class-order': ['warn', {
|
|
22
|
-
order: 'improved',
|
|
23
|
-
}],
|
|
24
|
-
'tailwind/enforce-consistent-variable-syntax': 'warn',
|
|
25
|
-
'tailwind/enforce-consistent-important-position': 'error',
|
|
26
|
-
'tailwind/enforce-shorthand-classes': 'warn',
|
|
27
|
-
'tailwind/no-duplicate-classes': 'error',
|
|
28
|
-
'tailwind/no-deprecated-classes': 'error',
|
|
29
|
-
'tailwind/no-unnecessary-whitespace': 'warn',
|
|
30
|
-
// Correctness rules
|
|
31
|
-
'tailwind/no-unregistered-classes': ['error', {
|
|
32
|
-
ignore: [],
|
|
17
|
+
...eslintPluginBetterTailwindcss.configs.recommended.rules,
|
|
18
|
+
...eslintPluginBetterTailwindcss.configs.correctness.rules,
|
|
19
|
+
...eslintPluginBetterTailwindcss.configs.stylistic.rules,
|
|
20
|
+
'tailwind/no-unknown-classes': ['error', {
|
|
33
21
|
detectComponentClasses: true,
|
|
34
22
|
}],
|
|
35
|
-
'tailwind/no-conflicting-classes': 'error',
|
|
36
|
-
'tailwind/no-restricted-classes': 'off', // arbitrary valuesの制限を今後検討
|
|
37
23
|
},
|
|
38
24
|
settings: {
|
|
39
25
|
'better-tailwindcss': {
|
package/src/lib/rules.gen.d.ts
CHANGED
|
@@ -9,6 +9,11 @@ declare module 'eslint' {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export interface RuleOptions {
|
|
12
|
+
/**
|
|
13
|
+
* Enforce canonical class names.
|
|
14
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-canonical-classes.md
|
|
15
|
+
*/
|
|
16
|
+
'tailwind/enforce-canonical-classes'?: Linter.RuleEntry<TailwindEnforceCanonicalClasses>
|
|
12
17
|
/**
|
|
13
18
|
* Enforce a consistent order for tailwind classes.
|
|
14
19
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-class-order.md
|
|
@@ -21,7 +26,7 @@ export interface RuleOptions {
|
|
|
21
26
|
'tailwind/enforce-consistent-important-position'?: Linter.RuleEntry<TailwindEnforceConsistentImportantPosition>
|
|
22
27
|
/**
|
|
23
28
|
* Enforce consistent line wrapping for tailwind classes.
|
|
24
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
29
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-line-wrapping.md
|
|
25
30
|
*/
|
|
26
31
|
'tailwind/enforce-consistent-line-wrapping'?: Linter.RuleEntry<TailwindEnforceConsistentLineWrapping>
|
|
27
32
|
/**
|
|
@@ -34,12 +39,6 @@ export interface RuleOptions {
|
|
|
34
39
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-shorthand-classes.md
|
|
35
40
|
*/
|
|
36
41
|
'tailwind/enforce-shorthand-classes'?: Linter.RuleEntry<TailwindEnforceShorthandClasses>
|
|
37
|
-
/**
|
|
38
|
-
* Enforce consistent line wrapping for tailwind classes.
|
|
39
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
|
|
40
|
-
* @deprecated
|
|
41
|
-
*/
|
|
42
|
-
'tailwind/multiline'?: Linter.RuleEntry<TailwindMultiline>
|
|
43
42
|
/**
|
|
44
43
|
* Disallow classes that produce conflicting styles.
|
|
45
44
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-conflicting-classes.md
|
|
@@ -60,941 +59,960 @@ export interface RuleOptions {
|
|
|
60
59
|
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-restricted-classes.md
|
|
61
60
|
*/
|
|
62
61
|
'tailwind/no-restricted-classes'?: Linter.RuleEntry<TailwindNoRestrictedClasses>
|
|
63
|
-
/**
|
|
64
|
-
* Disallow unnecessary whitespace between Tailwind CSS classes.
|
|
65
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unnecessary-whitespace.md
|
|
66
|
-
*/
|
|
67
|
-
'tailwind/no-unnecessary-whitespace'?: Linter.RuleEntry<TailwindNoUnnecessaryWhitespace>
|
|
68
62
|
/**
|
|
69
63
|
* Disallow any css classes that are not registered in tailwindcss.
|
|
70
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-
|
|
64
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unknown-classes.md
|
|
71
65
|
*/
|
|
72
|
-
'tailwind/no-
|
|
66
|
+
'tailwind/no-unknown-classes'?: Linter.RuleEntry<TailwindNoUnknownClasses>
|
|
73
67
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/
|
|
76
|
-
* @deprecated
|
|
68
|
+
* Disallow unnecessary whitespace between Tailwind CSS classes.
|
|
69
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unnecessary-whitespace.md
|
|
77
70
|
*/
|
|
78
|
-
'tailwind/
|
|
71
|
+
'tailwind/no-unnecessary-whitespace'?: Linter.RuleEntry<TailwindNoUnnecessaryWhitespace>
|
|
79
72
|
}
|
|
80
73
|
|
|
81
74
|
/* ======= Declarations ======= */
|
|
82
|
-
// ----- tailwind/enforce-
|
|
83
|
-
type
|
|
75
|
+
// ----- tailwind/enforce-canonical-classes -----
|
|
76
|
+
type TailwindEnforceCanonicalClasses = []|[{
|
|
84
77
|
|
|
85
|
-
callees?: ([
|
|
78
|
+
callees?: ([string, ({
|
|
86
79
|
|
|
87
|
-
match
|
|
80
|
+
match: "strings"
|
|
88
81
|
} | {
|
|
89
82
|
|
|
90
|
-
match
|
|
83
|
+
match: "objectKeys"
|
|
91
84
|
|
|
92
85
|
pathPattern?: string
|
|
93
86
|
} | {
|
|
94
87
|
|
|
95
|
-
match
|
|
88
|
+
match: "objectValues"
|
|
96
89
|
|
|
97
90
|
pathPattern?: string
|
|
98
91
|
})[]] | string)[]
|
|
99
92
|
|
|
100
|
-
attributes?: (string | [
|
|
93
|
+
attributes?: (string | [string, ({
|
|
101
94
|
|
|
102
|
-
match
|
|
95
|
+
match: "strings"
|
|
103
96
|
} | {
|
|
104
97
|
|
|
105
|
-
match
|
|
98
|
+
match: "objectKeys"
|
|
106
99
|
|
|
107
100
|
pathPattern?: string
|
|
108
101
|
} | {
|
|
109
102
|
|
|
110
|
-
match
|
|
103
|
+
match: "objectValues"
|
|
111
104
|
|
|
112
105
|
pathPattern?: string
|
|
113
106
|
})[]])[]
|
|
114
107
|
|
|
115
|
-
variables?: ([
|
|
108
|
+
variables?: ([string, ({
|
|
116
109
|
|
|
117
|
-
match
|
|
110
|
+
match: "strings"
|
|
118
111
|
} | {
|
|
119
112
|
|
|
120
|
-
match
|
|
113
|
+
match: "objectKeys"
|
|
121
114
|
|
|
122
115
|
pathPattern?: string
|
|
123
116
|
} | {
|
|
124
117
|
|
|
125
|
-
match
|
|
118
|
+
match: "objectValues"
|
|
126
119
|
|
|
127
120
|
pathPattern?: string
|
|
128
121
|
})[]] | string)[]
|
|
129
122
|
|
|
130
|
-
tags?: ([
|
|
123
|
+
tags?: ([string, ({
|
|
131
124
|
|
|
132
|
-
match
|
|
125
|
+
match: "strings"
|
|
133
126
|
} | {
|
|
134
127
|
|
|
135
|
-
match
|
|
128
|
+
match: "objectKeys"
|
|
136
129
|
|
|
137
130
|
pathPattern?: string
|
|
138
131
|
} | {
|
|
139
132
|
|
|
140
|
-
match
|
|
133
|
+
match: "objectValues"
|
|
141
134
|
|
|
142
135
|
pathPattern?: string
|
|
143
136
|
})[]] | string)[]
|
|
144
137
|
|
|
145
138
|
entryPoint?: string
|
|
146
139
|
|
|
140
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
141
|
+
|
|
147
142
|
tailwindConfig?: string
|
|
148
143
|
|
|
149
144
|
tsconfig?: string
|
|
150
145
|
|
|
151
|
-
|
|
146
|
+
detectComponentClasses?: boolean
|
|
147
|
+
|
|
148
|
+
rootFontSize?: number
|
|
149
|
+
|
|
150
|
+
collapse?: boolean
|
|
151
|
+
|
|
152
|
+
logical?: boolean
|
|
152
153
|
}]
|
|
153
|
-
// ----- tailwind/enforce-consistent-
|
|
154
|
-
type
|
|
154
|
+
// ----- tailwind/enforce-consistent-class-order -----
|
|
155
|
+
type TailwindEnforceConsistentClassOrder = []|[{
|
|
155
156
|
|
|
156
|
-
callees?: ([
|
|
157
|
+
callees?: ([string, ({
|
|
157
158
|
|
|
158
|
-
match
|
|
159
|
+
match: "strings"
|
|
159
160
|
} | {
|
|
160
161
|
|
|
161
|
-
match
|
|
162
|
+
match: "objectKeys"
|
|
162
163
|
|
|
163
164
|
pathPattern?: string
|
|
164
165
|
} | {
|
|
165
166
|
|
|
166
|
-
match
|
|
167
|
+
match: "objectValues"
|
|
167
168
|
|
|
168
169
|
pathPattern?: string
|
|
169
170
|
})[]] | string)[]
|
|
170
171
|
|
|
171
|
-
attributes?: (string | [
|
|
172
|
+
attributes?: (string | [string, ({
|
|
172
173
|
|
|
173
|
-
match
|
|
174
|
+
match: "strings"
|
|
174
175
|
} | {
|
|
175
176
|
|
|
176
|
-
match
|
|
177
|
+
match: "objectKeys"
|
|
177
178
|
|
|
178
179
|
pathPattern?: string
|
|
179
180
|
} | {
|
|
180
181
|
|
|
181
|
-
match
|
|
182
|
+
match: "objectValues"
|
|
182
183
|
|
|
183
184
|
pathPattern?: string
|
|
184
185
|
})[]])[]
|
|
185
186
|
|
|
186
|
-
variables?: ([
|
|
187
|
+
variables?: ([string, ({
|
|
187
188
|
|
|
188
|
-
match
|
|
189
|
+
match: "strings"
|
|
189
190
|
} | {
|
|
190
191
|
|
|
191
|
-
match
|
|
192
|
+
match: "objectKeys"
|
|
192
193
|
|
|
193
194
|
pathPattern?: string
|
|
194
195
|
} | {
|
|
195
196
|
|
|
196
|
-
match
|
|
197
|
+
match: "objectValues"
|
|
197
198
|
|
|
198
199
|
pathPattern?: string
|
|
199
200
|
})[]] | string)[]
|
|
200
201
|
|
|
201
|
-
tags?: ([
|
|
202
|
+
tags?: ([string, ({
|
|
202
203
|
|
|
203
|
-
match
|
|
204
|
+
match: "strings"
|
|
204
205
|
} | {
|
|
205
206
|
|
|
206
|
-
match
|
|
207
|
+
match: "objectKeys"
|
|
207
208
|
|
|
208
209
|
pathPattern?: string
|
|
209
210
|
} | {
|
|
210
211
|
|
|
211
|
-
match
|
|
212
|
+
match: "objectValues"
|
|
212
213
|
|
|
213
214
|
pathPattern?: string
|
|
214
215
|
})[]] | string)[]
|
|
215
216
|
|
|
216
217
|
entryPoint?: string
|
|
217
218
|
|
|
219
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
220
|
+
|
|
218
221
|
tailwindConfig?: string
|
|
219
222
|
|
|
220
223
|
tsconfig?: string
|
|
221
224
|
|
|
222
|
-
|
|
225
|
+
detectComponentClasses?: boolean
|
|
226
|
+
|
|
227
|
+
rootFontSize?: number
|
|
228
|
+
|
|
229
|
+
componentClassOrder?: ("asc" | "desc" | "preserve")
|
|
230
|
+
|
|
231
|
+
componentClassPosition?: ("start" | "end")
|
|
232
|
+
|
|
233
|
+
order?: ("asc" | "desc" | "official" | "strict")
|
|
234
|
+
|
|
235
|
+
unknownClassOrder?: ("asc" | "desc" | "preserve")
|
|
236
|
+
|
|
237
|
+
unknownClassPosition?: ("start" | "end")
|
|
223
238
|
}]
|
|
224
|
-
// ----- tailwind/enforce-consistent-
|
|
225
|
-
type
|
|
239
|
+
// ----- tailwind/enforce-consistent-important-position -----
|
|
240
|
+
type TailwindEnforceConsistentImportantPosition = []|[{
|
|
226
241
|
|
|
227
|
-
callees?: ([
|
|
242
|
+
callees?: ([string, ({
|
|
228
243
|
|
|
229
|
-
match
|
|
244
|
+
match: "strings"
|
|
230
245
|
} | {
|
|
231
246
|
|
|
232
|
-
match
|
|
247
|
+
match: "objectKeys"
|
|
233
248
|
|
|
234
249
|
pathPattern?: string
|
|
235
250
|
} | {
|
|
236
251
|
|
|
237
|
-
match
|
|
252
|
+
match: "objectValues"
|
|
238
253
|
|
|
239
254
|
pathPattern?: string
|
|
240
255
|
})[]] | string)[]
|
|
241
256
|
|
|
242
|
-
attributes?: (string | [
|
|
257
|
+
attributes?: (string | [string, ({
|
|
243
258
|
|
|
244
|
-
match
|
|
259
|
+
match: "strings"
|
|
245
260
|
} | {
|
|
246
261
|
|
|
247
|
-
match
|
|
262
|
+
match: "objectKeys"
|
|
248
263
|
|
|
249
264
|
pathPattern?: string
|
|
250
265
|
} | {
|
|
251
266
|
|
|
252
|
-
match
|
|
267
|
+
match: "objectValues"
|
|
253
268
|
|
|
254
269
|
pathPattern?: string
|
|
255
270
|
})[]])[]
|
|
256
271
|
|
|
257
|
-
variables?: ([
|
|
272
|
+
variables?: ([string, ({
|
|
258
273
|
|
|
259
|
-
match
|
|
274
|
+
match: "strings"
|
|
260
275
|
} | {
|
|
261
276
|
|
|
262
|
-
match
|
|
277
|
+
match: "objectKeys"
|
|
263
278
|
|
|
264
279
|
pathPattern?: string
|
|
265
280
|
} | {
|
|
266
281
|
|
|
267
|
-
match
|
|
282
|
+
match: "objectValues"
|
|
268
283
|
|
|
269
284
|
pathPattern?: string
|
|
270
285
|
})[]] | string)[]
|
|
271
286
|
|
|
272
|
-
tags?: ([
|
|
287
|
+
tags?: ([string, ({
|
|
273
288
|
|
|
274
|
-
match
|
|
289
|
+
match: "strings"
|
|
275
290
|
} | {
|
|
276
291
|
|
|
277
|
-
match
|
|
292
|
+
match: "objectKeys"
|
|
278
293
|
|
|
279
294
|
pathPattern?: string
|
|
280
295
|
} | {
|
|
281
296
|
|
|
282
|
-
match
|
|
297
|
+
match: "objectValues"
|
|
283
298
|
|
|
284
299
|
pathPattern?: string
|
|
285
300
|
})[]] | string)[]
|
|
286
301
|
|
|
287
302
|
entryPoint?: string
|
|
288
303
|
|
|
304
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
305
|
+
|
|
289
306
|
tailwindConfig?: string
|
|
290
307
|
|
|
291
308
|
tsconfig?: string
|
|
292
309
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
group?: ("emptyLine" | "never" | "newLine")
|
|
296
|
-
|
|
297
|
-
indent?: ("tab" | number)
|
|
298
|
-
|
|
299
|
-
lineBreakStyle?: ("unix" | "windows")
|
|
310
|
+
detectComponentClasses?: boolean
|
|
300
311
|
|
|
301
|
-
|
|
312
|
+
rootFontSize?: number
|
|
302
313
|
|
|
303
|
-
|
|
314
|
+
position?: ("legacy" | "recommended")
|
|
304
315
|
}]
|
|
305
|
-
// ----- tailwind/enforce-consistent-
|
|
306
|
-
type
|
|
316
|
+
// ----- tailwind/enforce-consistent-line-wrapping -----
|
|
317
|
+
type TailwindEnforceConsistentLineWrapping = []|[{
|
|
307
318
|
|
|
308
|
-
callees?: ([
|
|
319
|
+
callees?: ([string, ({
|
|
309
320
|
|
|
310
|
-
match
|
|
321
|
+
match: "strings"
|
|
311
322
|
} | {
|
|
312
323
|
|
|
313
|
-
match
|
|
324
|
+
match: "objectKeys"
|
|
314
325
|
|
|
315
326
|
pathPattern?: string
|
|
316
327
|
} | {
|
|
317
328
|
|
|
318
|
-
match
|
|
329
|
+
match: "objectValues"
|
|
319
330
|
|
|
320
331
|
pathPattern?: string
|
|
321
332
|
})[]] | string)[]
|
|
322
333
|
|
|
323
|
-
attributes?: (string | [
|
|
334
|
+
attributes?: (string | [string, ({
|
|
324
335
|
|
|
325
|
-
match
|
|
336
|
+
match: "strings"
|
|
326
337
|
} | {
|
|
327
338
|
|
|
328
|
-
match
|
|
339
|
+
match: "objectKeys"
|
|
329
340
|
|
|
330
341
|
pathPattern?: string
|
|
331
342
|
} | {
|
|
332
343
|
|
|
333
|
-
match
|
|
344
|
+
match: "objectValues"
|
|
334
345
|
|
|
335
346
|
pathPattern?: string
|
|
336
347
|
})[]])[]
|
|
337
348
|
|
|
338
|
-
variables?: ([
|
|
349
|
+
variables?: ([string, ({
|
|
339
350
|
|
|
340
|
-
match
|
|
351
|
+
match: "strings"
|
|
341
352
|
} | {
|
|
342
353
|
|
|
343
|
-
match
|
|
354
|
+
match: "objectKeys"
|
|
344
355
|
|
|
345
356
|
pathPattern?: string
|
|
346
357
|
} | {
|
|
347
358
|
|
|
348
|
-
match
|
|
359
|
+
match: "objectValues"
|
|
349
360
|
|
|
350
361
|
pathPattern?: string
|
|
351
362
|
})[]] | string)[]
|
|
352
363
|
|
|
353
|
-
tags?: ([
|
|
364
|
+
tags?: ([string, ({
|
|
354
365
|
|
|
355
|
-
match
|
|
366
|
+
match: "strings"
|
|
356
367
|
} | {
|
|
357
368
|
|
|
358
|
-
match
|
|
369
|
+
match: "objectKeys"
|
|
359
370
|
|
|
360
371
|
pathPattern?: string
|
|
361
372
|
} | {
|
|
362
373
|
|
|
363
|
-
match
|
|
374
|
+
match: "objectValues"
|
|
364
375
|
|
|
365
376
|
pathPattern?: string
|
|
366
377
|
})[]] | string)[]
|
|
367
378
|
|
|
368
|
-
|
|
379
|
+
entryPoint?: string
|
|
380
|
+
|
|
381
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
382
|
+
|
|
383
|
+
tailwindConfig?: string
|
|
384
|
+
|
|
385
|
+
tsconfig?: string
|
|
386
|
+
|
|
387
|
+
detectComponentClasses?: boolean
|
|
388
|
+
|
|
389
|
+
rootFontSize?: number
|
|
390
|
+
|
|
391
|
+
classesPerLine?: number
|
|
392
|
+
|
|
393
|
+
group?: ("newLine" | "emptyLine" | "never")
|
|
394
|
+
|
|
395
|
+
indent?: ("tab" | number)
|
|
396
|
+
|
|
397
|
+
lineBreakStyle?: ("unix" | "windows")
|
|
398
|
+
|
|
399
|
+
preferSingleLine?: boolean
|
|
400
|
+
|
|
401
|
+
printWidth?: number
|
|
402
|
+
|
|
403
|
+
strictness?: ("strict" | "loose")
|
|
369
404
|
}]
|
|
370
|
-
// ----- tailwind/enforce-
|
|
371
|
-
type
|
|
405
|
+
// ----- tailwind/enforce-consistent-variable-syntax -----
|
|
406
|
+
type TailwindEnforceConsistentVariableSyntax = []|[{
|
|
372
407
|
|
|
373
|
-
callees?: ([
|
|
408
|
+
callees?: ([string, ({
|
|
374
409
|
|
|
375
|
-
match
|
|
410
|
+
match: "strings"
|
|
376
411
|
} | {
|
|
377
412
|
|
|
378
|
-
match
|
|
413
|
+
match: "objectKeys"
|
|
379
414
|
|
|
380
415
|
pathPattern?: string
|
|
381
416
|
} | {
|
|
382
417
|
|
|
383
|
-
match
|
|
418
|
+
match: "objectValues"
|
|
384
419
|
|
|
385
420
|
pathPattern?: string
|
|
386
421
|
})[]] | string)[]
|
|
387
422
|
|
|
388
|
-
attributes?: (string | [
|
|
423
|
+
attributes?: (string | [string, ({
|
|
389
424
|
|
|
390
|
-
match
|
|
425
|
+
match: "strings"
|
|
391
426
|
} | {
|
|
392
427
|
|
|
393
|
-
match
|
|
428
|
+
match: "objectKeys"
|
|
394
429
|
|
|
395
430
|
pathPattern?: string
|
|
396
431
|
} | {
|
|
397
432
|
|
|
398
|
-
match
|
|
433
|
+
match: "objectValues"
|
|
399
434
|
|
|
400
435
|
pathPattern?: string
|
|
401
436
|
})[]])[]
|
|
402
437
|
|
|
403
|
-
variables?: ([
|
|
438
|
+
variables?: ([string, ({
|
|
404
439
|
|
|
405
|
-
match
|
|
440
|
+
match: "strings"
|
|
406
441
|
} | {
|
|
407
442
|
|
|
408
|
-
match
|
|
443
|
+
match: "objectKeys"
|
|
409
444
|
|
|
410
445
|
pathPattern?: string
|
|
411
446
|
} | {
|
|
412
447
|
|
|
413
|
-
match
|
|
448
|
+
match: "objectValues"
|
|
414
449
|
|
|
415
450
|
pathPattern?: string
|
|
416
451
|
})[]] | string)[]
|
|
417
452
|
|
|
418
|
-
tags?: ([
|
|
453
|
+
tags?: ([string, ({
|
|
419
454
|
|
|
420
|
-
match
|
|
455
|
+
match: "strings"
|
|
421
456
|
} | {
|
|
422
457
|
|
|
423
|
-
match
|
|
458
|
+
match: "objectKeys"
|
|
424
459
|
|
|
425
460
|
pathPattern?: string
|
|
426
461
|
} | {
|
|
427
462
|
|
|
428
|
-
match
|
|
463
|
+
match: "objectValues"
|
|
429
464
|
|
|
430
465
|
pathPattern?: string
|
|
431
466
|
})[]] | string)[]
|
|
432
467
|
|
|
433
468
|
entryPoint?: string
|
|
434
469
|
|
|
470
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
471
|
+
|
|
435
472
|
tailwindConfig?: string
|
|
436
473
|
|
|
437
474
|
tsconfig?: string
|
|
475
|
+
|
|
476
|
+
detectComponentClasses?: boolean
|
|
477
|
+
|
|
478
|
+
rootFontSize?: number
|
|
479
|
+
|
|
480
|
+
syntax?: ("shorthand" | "variable")
|
|
438
481
|
}]
|
|
439
|
-
// ----- tailwind/
|
|
440
|
-
type
|
|
482
|
+
// ----- tailwind/enforce-shorthand-classes -----
|
|
483
|
+
type TailwindEnforceShorthandClasses = []|[{
|
|
441
484
|
|
|
442
|
-
callees?: ([
|
|
485
|
+
callees?: ([string, ({
|
|
443
486
|
|
|
444
|
-
match
|
|
487
|
+
match: "strings"
|
|
445
488
|
} | {
|
|
446
489
|
|
|
447
|
-
match
|
|
490
|
+
match: "objectKeys"
|
|
448
491
|
|
|
449
492
|
pathPattern?: string
|
|
450
493
|
} | {
|
|
451
494
|
|
|
452
|
-
match
|
|
495
|
+
match: "objectValues"
|
|
453
496
|
|
|
454
497
|
pathPattern?: string
|
|
455
498
|
})[]] | string)[]
|
|
456
499
|
|
|
457
|
-
attributes?: (string | [
|
|
500
|
+
attributes?: (string | [string, ({
|
|
458
501
|
|
|
459
|
-
match
|
|
502
|
+
match: "strings"
|
|
460
503
|
} | {
|
|
461
504
|
|
|
462
|
-
match
|
|
505
|
+
match: "objectKeys"
|
|
463
506
|
|
|
464
507
|
pathPattern?: string
|
|
465
508
|
} | {
|
|
466
509
|
|
|
467
|
-
match
|
|
510
|
+
match: "objectValues"
|
|
468
511
|
|
|
469
512
|
pathPattern?: string
|
|
470
513
|
})[]])[]
|
|
471
514
|
|
|
472
|
-
variables?: ([
|
|
515
|
+
variables?: ([string, ({
|
|
473
516
|
|
|
474
|
-
match
|
|
517
|
+
match: "strings"
|
|
475
518
|
} | {
|
|
476
519
|
|
|
477
|
-
match
|
|
520
|
+
match: "objectKeys"
|
|
478
521
|
|
|
479
522
|
pathPattern?: string
|
|
480
523
|
} | {
|
|
481
524
|
|
|
482
|
-
match
|
|
525
|
+
match: "objectValues"
|
|
483
526
|
|
|
484
527
|
pathPattern?: string
|
|
485
528
|
})[]] | string)[]
|
|
486
529
|
|
|
487
|
-
tags?: ([
|
|
530
|
+
tags?: ([string, ({
|
|
488
531
|
|
|
489
|
-
match
|
|
532
|
+
match: "strings"
|
|
490
533
|
} | {
|
|
491
534
|
|
|
492
|
-
match
|
|
535
|
+
match: "objectKeys"
|
|
493
536
|
|
|
494
537
|
pathPattern?: string
|
|
495
538
|
} | {
|
|
496
539
|
|
|
497
|
-
match
|
|
540
|
+
match: "objectValues"
|
|
498
541
|
|
|
499
542
|
pathPattern?: string
|
|
500
543
|
})[]] | string)[]
|
|
501
544
|
|
|
502
545
|
entryPoint?: string
|
|
503
546
|
|
|
547
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
548
|
+
|
|
504
549
|
tailwindConfig?: string
|
|
505
550
|
|
|
506
551
|
tsconfig?: string
|
|
507
552
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
group?: ("emptyLine" | "never" | "newLine")
|
|
511
|
-
|
|
512
|
-
indent?: ("tab" | number)
|
|
513
|
-
|
|
514
|
-
lineBreakStyle?: ("unix" | "windows")
|
|
515
|
-
|
|
516
|
-
preferSingleLine?: boolean
|
|
553
|
+
detectComponentClasses?: boolean
|
|
517
554
|
|
|
518
|
-
|
|
555
|
+
rootFontSize?: number
|
|
519
556
|
}]
|
|
520
557
|
// ----- tailwind/no-conflicting-classes -----
|
|
521
558
|
type TailwindNoConflictingClasses = []|[{
|
|
522
559
|
|
|
523
|
-
callees?: ([
|
|
560
|
+
callees?: ([string, ({
|
|
524
561
|
|
|
525
|
-
match
|
|
562
|
+
match: "strings"
|
|
526
563
|
} | {
|
|
527
564
|
|
|
528
|
-
match
|
|
565
|
+
match: "objectKeys"
|
|
529
566
|
|
|
530
567
|
pathPattern?: string
|
|
531
568
|
} | {
|
|
532
569
|
|
|
533
|
-
match
|
|
570
|
+
match: "objectValues"
|
|
534
571
|
|
|
535
572
|
pathPattern?: string
|
|
536
573
|
})[]] | string)[]
|
|
537
574
|
|
|
538
|
-
attributes?: (string | [
|
|
575
|
+
attributes?: (string | [string, ({
|
|
539
576
|
|
|
540
|
-
match
|
|
577
|
+
match: "strings"
|
|
541
578
|
} | {
|
|
542
579
|
|
|
543
|
-
match
|
|
580
|
+
match: "objectKeys"
|
|
544
581
|
|
|
545
582
|
pathPattern?: string
|
|
546
583
|
} | {
|
|
547
584
|
|
|
548
|
-
match
|
|
585
|
+
match: "objectValues"
|
|
549
586
|
|
|
550
587
|
pathPattern?: string
|
|
551
588
|
})[]])[]
|
|
552
589
|
|
|
553
|
-
variables?: ([
|
|
590
|
+
variables?: ([string, ({
|
|
554
591
|
|
|
555
|
-
match
|
|
592
|
+
match: "strings"
|
|
556
593
|
} | {
|
|
557
594
|
|
|
558
|
-
match
|
|
595
|
+
match: "objectKeys"
|
|
559
596
|
|
|
560
597
|
pathPattern?: string
|
|
561
598
|
} | {
|
|
562
599
|
|
|
563
|
-
match
|
|
600
|
+
match: "objectValues"
|
|
564
601
|
|
|
565
602
|
pathPattern?: string
|
|
566
603
|
})[]] | string)[]
|
|
567
604
|
|
|
568
|
-
tags?: ([
|
|
605
|
+
tags?: ([string, ({
|
|
569
606
|
|
|
570
|
-
match
|
|
607
|
+
match: "strings"
|
|
571
608
|
} | {
|
|
572
609
|
|
|
573
|
-
match
|
|
610
|
+
match: "objectKeys"
|
|
574
611
|
|
|
575
612
|
pathPattern?: string
|
|
576
613
|
} | {
|
|
577
614
|
|
|
578
|
-
match
|
|
615
|
+
match: "objectValues"
|
|
579
616
|
|
|
580
617
|
pathPattern?: string
|
|
581
618
|
})[]] | string)[]
|
|
582
619
|
|
|
583
620
|
entryPoint?: string
|
|
584
621
|
|
|
622
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
623
|
+
|
|
585
624
|
tailwindConfig?: string
|
|
586
625
|
|
|
587
626
|
tsconfig?: string
|
|
627
|
+
|
|
628
|
+
detectComponentClasses?: boolean
|
|
629
|
+
|
|
630
|
+
rootFontSize?: number
|
|
588
631
|
}]
|
|
589
632
|
// ----- tailwind/no-deprecated-classes -----
|
|
590
633
|
type TailwindNoDeprecatedClasses = []|[{
|
|
591
634
|
|
|
592
|
-
callees?: ([
|
|
635
|
+
callees?: ([string, ({
|
|
593
636
|
|
|
594
|
-
match
|
|
637
|
+
match: "strings"
|
|
595
638
|
} | {
|
|
596
639
|
|
|
597
|
-
match
|
|
640
|
+
match: "objectKeys"
|
|
598
641
|
|
|
599
642
|
pathPattern?: string
|
|
600
643
|
} | {
|
|
601
644
|
|
|
602
|
-
match
|
|
645
|
+
match: "objectValues"
|
|
603
646
|
|
|
604
647
|
pathPattern?: string
|
|
605
648
|
})[]] | string)[]
|
|
606
649
|
|
|
607
|
-
attributes?: (string | [
|
|
650
|
+
attributes?: (string | [string, ({
|
|
608
651
|
|
|
609
|
-
match
|
|
652
|
+
match: "strings"
|
|
610
653
|
} | {
|
|
611
654
|
|
|
612
|
-
match
|
|
655
|
+
match: "objectKeys"
|
|
613
656
|
|
|
614
657
|
pathPattern?: string
|
|
615
658
|
} | {
|
|
616
659
|
|
|
617
|
-
match
|
|
660
|
+
match: "objectValues"
|
|
618
661
|
|
|
619
662
|
pathPattern?: string
|
|
620
663
|
})[]])[]
|
|
621
664
|
|
|
622
|
-
variables?: ([
|
|
665
|
+
variables?: ([string, ({
|
|
623
666
|
|
|
624
|
-
match
|
|
667
|
+
match: "strings"
|
|
625
668
|
} | {
|
|
626
669
|
|
|
627
|
-
match
|
|
670
|
+
match: "objectKeys"
|
|
628
671
|
|
|
629
672
|
pathPattern?: string
|
|
630
673
|
} | {
|
|
631
674
|
|
|
632
|
-
match
|
|
675
|
+
match: "objectValues"
|
|
633
676
|
|
|
634
677
|
pathPattern?: string
|
|
635
678
|
})[]] | string)[]
|
|
636
679
|
|
|
637
|
-
tags?: ([
|
|
680
|
+
tags?: ([string, ({
|
|
638
681
|
|
|
639
|
-
match
|
|
682
|
+
match: "strings"
|
|
640
683
|
} | {
|
|
641
684
|
|
|
642
|
-
match
|
|
685
|
+
match: "objectKeys"
|
|
643
686
|
|
|
644
687
|
pathPattern?: string
|
|
645
688
|
} | {
|
|
646
689
|
|
|
647
|
-
match
|
|
690
|
+
match: "objectValues"
|
|
648
691
|
|
|
649
692
|
pathPattern?: string
|
|
650
693
|
})[]] | string)[]
|
|
651
694
|
|
|
652
695
|
entryPoint?: string
|
|
653
696
|
|
|
697
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
698
|
+
|
|
654
699
|
tailwindConfig?: string
|
|
655
700
|
|
|
656
701
|
tsconfig?: string
|
|
702
|
+
|
|
703
|
+
detectComponentClasses?: boolean
|
|
704
|
+
|
|
705
|
+
rootFontSize?: number
|
|
657
706
|
}]
|
|
658
707
|
// ----- tailwind/no-duplicate-classes -----
|
|
659
708
|
type TailwindNoDuplicateClasses = []|[{
|
|
660
709
|
|
|
661
|
-
callees?: ([
|
|
710
|
+
callees?: ([string, ({
|
|
662
711
|
|
|
663
|
-
match
|
|
712
|
+
match: "strings"
|
|
664
713
|
} | {
|
|
665
714
|
|
|
666
|
-
match
|
|
715
|
+
match: "objectKeys"
|
|
667
716
|
|
|
668
717
|
pathPattern?: string
|
|
669
718
|
} | {
|
|
670
719
|
|
|
671
|
-
match
|
|
720
|
+
match: "objectValues"
|
|
672
721
|
|
|
673
722
|
pathPattern?: string
|
|
674
723
|
})[]] | string)[]
|
|
675
724
|
|
|
676
|
-
attributes?: (string | [
|
|
725
|
+
attributes?: (string | [string, ({
|
|
677
726
|
|
|
678
|
-
match
|
|
727
|
+
match: "strings"
|
|
679
728
|
} | {
|
|
680
729
|
|
|
681
|
-
match
|
|
730
|
+
match: "objectKeys"
|
|
682
731
|
|
|
683
732
|
pathPattern?: string
|
|
684
733
|
} | {
|
|
685
734
|
|
|
686
|
-
match
|
|
735
|
+
match: "objectValues"
|
|
687
736
|
|
|
688
737
|
pathPattern?: string
|
|
689
738
|
})[]])[]
|
|
690
739
|
|
|
691
|
-
variables?: ([
|
|
740
|
+
variables?: ([string, ({
|
|
692
741
|
|
|
693
|
-
match
|
|
742
|
+
match: "strings"
|
|
694
743
|
} | {
|
|
695
744
|
|
|
696
|
-
match
|
|
745
|
+
match: "objectKeys"
|
|
697
746
|
|
|
698
747
|
pathPattern?: string
|
|
699
748
|
} | {
|
|
700
749
|
|
|
701
|
-
match
|
|
750
|
+
match: "objectValues"
|
|
702
751
|
|
|
703
752
|
pathPattern?: string
|
|
704
753
|
})[]] | string)[]
|
|
705
754
|
|
|
706
|
-
tags?: ([
|
|
755
|
+
tags?: ([string, ({
|
|
707
756
|
|
|
708
|
-
match
|
|
757
|
+
match: "strings"
|
|
709
758
|
} | {
|
|
710
759
|
|
|
711
|
-
match
|
|
760
|
+
match: "objectKeys"
|
|
712
761
|
|
|
713
762
|
pathPattern?: string
|
|
714
763
|
} | {
|
|
715
764
|
|
|
716
|
-
match
|
|
765
|
+
match: "objectValues"
|
|
717
766
|
|
|
718
767
|
pathPattern?: string
|
|
719
768
|
})[]] | string)[]
|
|
769
|
+
|
|
770
|
+
entryPoint?: string
|
|
771
|
+
|
|
772
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
773
|
+
|
|
774
|
+
tailwindConfig?: string
|
|
775
|
+
|
|
776
|
+
tsconfig?: string
|
|
777
|
+
|
|
778
|
+
detectComponentClasses?: boolean
|
|
779
|
+
|
|
780
|
+
rootFontSize?: number
|
|
720
781
|
}]
|
|
721
782
|
// ----- tailwind/no-restricted-classes -----
|
|
722
783
|
type TailwindNoRestrictedClasses = []|[{
|
|
723
784
|
|
|
724
|
-
callees?: ([
|
|
785
|
+
callees?: ([string, ({
|
|
725
786
|
|
|
726
|
-
match
|
|
787
|
+
match: "strings"
|
|
727
788
|
} | {
|
|
728
789
|
|
|
729
|
-
match
|
|
790
|
+
match: "objectKeys"
|
|
730
791
|
|
|
731
792
|
pathPattern?: string
|
|
732
793
|
} | {
|
|
733
794
|
|
|
734
|
-
match
|
|
795
|
+
match: "objectValues"
|
|
735
796
|
|
|
736
797
|
pathPattern?: string
|
|
737
798
|
})[]] | string)[]
|
|
738
799
|
|
|
739
|
-
attributes?: (string | [
|
|
800
|
+
attributes?: (string | [string, ({
|
|
740
801
|
|
|
741
|
-
match
|
|
802
|
+
match: "strings"
|
|
742
803
|
} | {
|
|
743
804
|
|
|
744
|
-
match
|
|
805
|
+
match: "objectKeys"
|
|
745
806
|
|
|
746
807
|
pathPattern?: string
|
|
747
808
|
} | {
|
|
748
809
|
|
|
749
|
-
match
|
|
810
|
+
match: "objectValues"
|
|
750
811
|
|
|
751
812
|
pathPattern?: string
|
|
752
813
|
})[]])[]
|
|
753
814
|
|
|
754
|
-
variables?: ([
|
|
815
|
+
variables?: ([string, ({
|
|
755
816
|
|
|
756
|
-
match
|
|
817
|
+
match: "strings"
|
|
757
818
|
} | {
|
|
758
819
|
|
|
759
|
-
match
|
|
820
|
+
match: "objectKeys"
|
|
760
821
|
|
|
761
822
|
pathPattern?: string
|
|
762
823
|
} | {
|
|
763
824
|
|
|
764
|
-
match
|
|
825
|
+
match: "objectValues"
|
|
765
826
|
|
|
766
827
|
pathPattern?: string
|
|
767
828
|
})[]] | string)[]
|
|
768
829
|
|
|
769
|
-
tags?: ([
|
|
830
|
+
tags?: ([string, ({
|
|
770
831
|
|
|
771
|
-
match
|
|
832
|
+
match: "strings"
|
|
772
833
|
} | {
|
|
773
834
|
|
|
774
|
-
match
|
|
835
|
+
match: "objectKeys"
|
|
775
836
|
|
|
776
837
|
pathPattern?: string
|
|
777
838
|
} | {
|
|
778
839
|
|
|
779
|
-
match
|
|
840
|
+
match: "objectValues"
|
|
780
841
|
|
|
781
842
|
pathPattern?: string
|
|
782
843
|
})[]] | string)[]
|
|
783
|
-
restrict?: ({
|
|
784
|
-
|
|
785
|
-
fix?: string
|
|
786
|
-
|
|
787
|
-
message?: string
|
|
788
|
-
|
|
789
|
-
pattern: string
|
|
790
|
-
} | string)[]
|
|
791
|
-
}]
|
|
792
|
-
// ----- tailwind/no-unnecessary-whitespace -----
|
|
793
|
-
type TailwindNoUnnecessaryWhitespace = []|[{
|
|
794
844
|
|
|
795
|
-
|
|
845
|
+
entryPoint?: string
|
|
796
846
|
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
match?: "strings"
|
|
800
|
-
} | {
|
|
801
|
-
|
|
802
|
-
match?: "objectKeys"
|
|
803
|
-
|
|
804
|
-
pathPattern?: string
|
|
805
|
-
} | {
|
|
806
|
-
|
|
807
|
-
match?: "objectValues"
|
|
808
|
-
|
|
809
|
-
pathPattern?: string
|
|
810
|
-
})[]] | string)[]
|
|
847
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
811
848
|
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
match?: "strings"
|
|
815
|
-
} | {
|
|
816
|
-
|
|
817
|
-
match?: "objectKeys"
|
|
818
|
-
|
|
819
|
-
pathPattern?: string
|
|
820
|
-
} | {
|
|
821
|
-
|
|
822
|
-
match?: "objectValues"
|
|
823
|
-
|
|
824
|
-
pathPattern?: string
|
|
825
|
-
})[]])[]
|
|
849
|
+
tailwindConfig?: string
|
|
826
850
|
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
match?: "strings"
|
|
830
|
-
} | {
|
|
831
|
-
|
|
832
|
-
match?: "objectKeys"
|
|
833
|
-
|
|
834
|
-
pathPattern?: string
|
|
835
|
-
} | {
|
|
836
|
-
|
|
837
|
-
match?: "objectValues"
|
|
838
|
-
|
|
839
|
-
pathPattern?: string
|
|
840
|
-
})[]] | string)[]
|
|
851
|
+
tsconfig?: string
|
|
841
852
|
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
match?: "objectKeys"
|
|
853
|
+
detectComponentClasses?: boolean
|
|
854
|
+
|
|
855
|
+
rootFontSize?: number
|
|
856
|
+
restrict?: ({
|
|
848
857
|
|
|
849
|
-
|
|
850
|
-
} | {
|
|
858
|
+
fix?: string
|
|
851
859
|
|
|
852
|
-
|
|
860
|
+
message?: string
|
|
853
861
|
|
|
854
|
-
|
|
855
|
-
}
|
|
862
|
+
pattern: string
|
|
863
|
+
} | string)[]
|
|
856
864
|
}]
|
|
857
|
-
// ----- tailwind/no-
|
|
858
|
-
type
|
|
865
|
+
// ----- tailwind/no-unknown-classes -----
|
|
866
|
+
type TailwindNoUnknownClasses = []|[{
|
|
859
867
|
|
|
860
|
-
callees?: ([
|
|
868
|
+
callees?: ([string, ({
|
|
861
869
|
|
|
862
|
-
match
|
|
870
|
+
match: "strings"
|
|
863
871
|
} | {
|
|
864
872
|
|
|
865
|
-
match
|
|
873
|
+
match: "objectKeys"
|
|
866
874
|
|
|
867
875
|
pathPattern?: string
|
|
868
876
|
} | {
|
|
869
877
|
|
|
870
|
-
match
|
|
878
|
+
match: "objectValues"
|
|
871
879
|
|
|
872
880
|
pathPattern?: string
|
|
873
881
|
})[]] | string)[]
|
|
874
882
|
|
|
875
|
-
attributes?: (string | [
|
|
883
|
+
attributes?: (string | [string, ({
|
|
876
884
|
|
|
877
|
-
match
|
|
885
|
+
match: "strings"
|
|
878
886
|
} | {
|
|
879
887
|
|
|
880
|
-
match
|
|
888
|
+
match: "objectKeys"
|
|
881
889
|
|
|
882
890
|
pathPattern?: string
|
|
883
891
|
} | {
|
|
884
892
|
|
|
885
|
-
match
|
|
893
|
+
match: "objectValues"
|
|
886
894
|
|
|
887
895
|
pathPattern?: string
|
|
888
896
|
})[]])[]
|
|
889
897
|
|
|
890
|
-
variables?: ([
|
|
898
|
+
variables?: ([string, ({
|
|
891
899
|
|
|
892
|
-
match
|
|
900
|
+
match: "strings"
|
|
893
901
|
} | {
|
|
894
902
|
|
|
895
|
-
match
|
|
903
|
+
match: "objectKeys"
|
|
896
904
|
|
|
897
905
|
pathPattern?: string
|
|
898
906
|
} | {
|
|
899
907
|
|
|
900
|
-
match
|
|
908
|
+
match: "objectValues"
|
|
901
909
|
|
|
902
910
|
pathPattern?: string
|
|
903
911
|
})[]] | string)[]
|
|
904
912
|
|
|
905
|
-
tags?: ([
|
|
913
|
+
tags?: ([string, ({
|
|
906
914
|
|
|
907
|
-
match
|
|
915
|
+
match: "strings"
|
|
908
916
|
} | {
|
|
909
917
|
|
|
910
|
-
match
|
|
918
|
+
match: "objectKeys"
|
|
911
919
|
|
|
912
920
|
pathPattern?: string
|
|
913
921
|
} | {
|
|
914
922
|
|
|
915
|
-
match
|
|
923
|
+
match: "objectValues"
|
|
916
924
|
|
|
917
925
|
pathPattern?: string
|
|
918
926
|
})[]] | string)[]
|
|
919
927
|
|
|
920
928
|
entryPoint?: string
|
|
921
929
|
|
|
930
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
931
|
+
|
|
922
932
|
tailwindConfig?: string
|
|
923
933
|
|
|
924
934
|
tsconfig?: string
|
|
925
935
|
|
|
926
936
|
detectComponentClasses?: boolean
|
|
927
937
|
|
|
938
|
+
rootFontSize?: number
|
|
939
|
+
|
|
928
940
|
ignore?: string[]
|
|
929
941
|
}]
|
|
930
|
-
// ----- tailwind/
|
|
931
|
-
type
|
|
942
|
+
// ----- tailwind/no-unnecessary-whitespace -----
|
|
943
|
+
type TailwindNoUnnecessaryWhitespace = []|[{
|
|
932
944
|
|
|
933
|
-
callees?: ([
|
|
945
|
+
callees?: ([string, ({
|
|
934
946
|
|
|
935
|
-
match
|
|
947
|
+
match: "strings"
|
|
936
948
|
} | {
|
|
937
949
|
|
|
938
|
-
match
|
|
950
|
+
match: "objectKeys"
|
|
939
951
|
|
|
940
952
|
pathPattern?: string
|
|
941
953
|
} | {
|
|
942
954
|
|
|
943
|
-
match
|
|
955
|
+
match: "objectValues"
|
|
944
956
|
|
|
945
957
|
pathPattern?: string
|
|
946
958
|
})[]] | string)[]
|
|
947
959
|
|
|
948
|
-
attributes?: (string | [
|
|
960
|
+
attributes?: (string | [string, ({
|
|
949
961
|
|
|
950
|
-
match
|
|
962
|
+
match: "strings"
|
|
951
963
|
} | {
|
|
952
964
|
|
|
953
|
-
match
|
|
965
|
+
match: "objectKeys"
|
|
954
966
|
|
|
955
967
|
pathPattern?: string
|
|
956
968
|
} | {
|
|
957
969
|
|
|
958
|
-
match
|
|
970
|
+
match: "objectValues"
|
|
959
971
|
|
|
960
972
|
pathPattern?: string
|
|
961
973
|
})[]])[]
|
|
962
974
|
|
|
963
|
-
variables?: ([
|
|
975
|
+
variables?: ([string, ({
|
|
964
976
|
|
|
965
|
-
match
|
|
977
|
+
match: "strings"
|
|
966
978
|
} | {
|
|
967
979
|
|
|
968
|
-
match
|
|
980
|
+
match: "objectKeys"
|
|
969
981
|
|
|
970
982
|
pathPattern?: string
|
|
971
983
|
} | {
|
|
972
984
|
|
|
973
|
-
match
|
|
985
|
+
match: "objectValues"
|
|
974
986
|
|
|
975
987
|
pathPattern?: string
|
|
976
988
|
})[]] | string)[]
|
|
977
989
|
|
|
978
|
-
tags?: ([
|
|
990
|
+
tags?: ([string, ({
|
|
979
991
|
|
|
980
|
-
match
|
|
992
|
+
match: "strings"
|
|
981
993
|
} | {
|
|
982
994
|
|
|
983
|
-
match
|
|
995
|
+
match: "objectKeys"
|
|
984
996
|
|
|
985
997
|
pathPattern?: string
|
|
986
998
|
} | {
|
|
987
999
|
|
|
988
|
-
match
|
|
1000
|
+
match: "objectValues"
|
|
989
1001
|
|
|
990
1002
|
pathPattern?: string
|
|
991
1003
|
})[]] | string)[]
|
|
992
1004
|
|
|
993
1005
|
entryPoint?: string
|
|
994
1006
|
|
|
1007
|
+
messageStyle?: ("visual" | "compact" | "raw")
|
|
1008
|
+
|
|
995
1009
|
tailwindConfig?: string
|
|
996
1010
|
|
|
997
1011
|
tsconfig?: string
|
|
998
1012
|
|
|
999
|
-
|
|
1013
|
+
detectComponentClasses?: boolean
|
|
1014
|
+
|
|
1015
|
+
rootFontSize?: number
|
|
1016
|
+
|
|
1017
|
+
allowMultiline?: boolean
|
|
1000
1018
|
}]
|