@tcy/eslint-rules 1.6.4 → 1.8.0
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/coverage/clover.xml +103 -4
- package/coverage/coverage-final.json +2 -0
- package/coverage/lcov-report/index.html +34 -19
- package/coverage/lcov-report/src/array-elements-per-line.js.html +1 -1
- package/coverage/lcov-report/src/back/back.js.html +1 -1
- package/coverage/lcov-report/src/back/http.js.html +1 -1
- package/coverage/lcov-report/src/back/index.html +1 -1
- package/coverage/lcov-report/src/back/recommended.js.html +1 -1
- package/coverage/lcov-report/src/bin/eslint-cache-guard.js.html +298 -0
- package/coverage/lcov-report/src/bin/index.html +116 -0
- package/coverage/lcov-report/src/client/client.js.html +5 -2
- package/coverage/lcov-report/src/client/index.html +1 -1
- package/coverage/lcov-report/src/client/recommended.js.html +1 -1
- package/coverage/lcov-report/src/decorator-type-enforcement.js.html +1 -1
- package/coverage/lcov-report/src/enforce-tailwind-important.js.html +1 -1
- package/coverage/lcov-report/src/export-specifiers-per-line.js.html +1 -1
- package/coverage/lcov-report/src/import-specifiers-per-line.js.html +1 -1
- package/coverage/lcov-report/src/index.html +24 -9
- package/coverage/lcov-report/src/index.js.html +1 -1
- package/coverage/lcov-report/src/jsx-boolean-shorthand.js.html +1 -1
- package/coverage/lcov-report/src/jsx-expression-string-literals.js.html +1 -1
- package/coverage/lcov-report/src/jsx-ref-string-exists.js.html +1 -1
- package/coverage/lcov-report/src/plugin.js.html +8 -2
- package/coverage/lcov-report/src/recommended.js.html +1 -1
- package/coverage/lcov-report/src/require-fragment-key.js.html +787 -0
- package/coverage/lcov-report/src/route-dto-required.js.html +1 -1
- package/coverage/lcov-report/src/v-model-name-match.js.html +1 -1
- package/coverage/lcov-report/src/vuejs-define-component.js.html +1 -1
- package/coverage/lcov-report/src/vuejs-define-workspace.js.html +1 -1
- package/coverage/lcov.info +249 -0
- package/decl/array-elements-per-line.d.ts +13 -13
- package/decl/back/back.d.ts +225 -9
- package/decl/bin/eslint-cache-guard.d.ts +16 -0
- package/decl/client/client.d.ts +226 -9
- package/decl/decorator-type-enforcement.d.ts +13 -13
- package/decl/enforce-tailwind-important.d.ts +20 -17
- package/decl/export-specifiers-per-line.d.ts +11 -11
- package/decl/import-specifiers-per-line.d.ts +11 -11
- package/decl/index.d.ts +2 -2
- package/decl/jsx-boolean-shorthand.d.ts +11 -11
- package/decl/jsx-expression-string-literals.d.ts +11 -11
- package/decl/jsx-ref-string-exists.d.ts +14 -14
- package/decl/plugin.d.ts +26 -0
- package/decl/require-fragment-key.d.ts +69 -0
- package/decl/route-dto-required.d.ts +15 -15
- package/decl/v-model-name-match.d.ts +14 -14
- package/decl/vuejs-define-component.d.ts +11 -11
- package/decl/vuejs-define-workspace.d.ts +11 -11
- package/package.json +10 -7
- package/src/bin/eslint-cache-guard.js +71 -0
- package/src/client/client.js +1 -0
- package/src/plugin.js +2 -0
- package/src/require-fragment-key.js +234 -0
- package/tests/require-fragment-key.spec.js +160 -0
package/decl/client/client.d.ts
CHANGED
|
@@ -1,10 +1,227 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
plugins: {
|
|
3
|
+
tcy: {
|
|
4
|
+
rules: {
|
|
5
|
+
'import-specifiers-per-line': {
|
|
6
|
+
meta: {
|
|
7
|
+
type: string;
|
|
8
|
+
docs: {
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
fixable: string;
|
|
12
|
+
schema: {
|
|
13
|
+
type: string;
|
|
14
|
+
properties: {
|
|
15
|
+
maxSpecifiers: {
|
|
16
|
+
type: string;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
maxLen: {
|
|
20
|
+
type: string;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
additionalProperties: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
};
|
|
27
|
+
create(context: any): {
|
|
28
|
+
ImportDeclaration(node: any): void;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
'array-elements-per-line': {
|
|
32
|
+
meta: {
|
|
33
|
+
type: string;
|
|
34
|
+
docs: {
|
|
35
|
+
description: string;
|
|
36
|
+
category: string;
|
|
37
|
+
recommended: boolean;
|
|
38
|
+
};
|
|
39
|
+
fixable: string;
|
|
40
|
+
schema: never[];
|
|
41
|
+
};
|
|
42
|
+
create(context: any): {
|
|
43
|
+
ArrayExpression(node: any): void;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
'export-specifiers-per-line': {
|
|
47
|
+
meta: {
|
|
48
|
+
type: string;
|
|
49
|
+
docs: {
|
|
50
|
+
description: string;
|
|
51
|
+
};
|
|
52
|
+
fixable: string;
|
|
53
|
+
schema: never[];
|
|
54
|
+
};
|
|
55
|
+
create(context: any): {
|
|
56
|
+
ExportNamedDeclaration(node: any): void;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
'jsx-boolean-shorthand': {
|
|
60
|
+
meta: {
|
|
61
|
+
type: string;
|
|
62
|
+
docs: {
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
fixable: string;
|
|
66
|
+
schema: never[];
|
|
67
|
+
};
|
|
68
|
+
create(context: any): {
|
|
69
|
+
JSXAttribute(node: any): void;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
'jsx-expression-string-literals': {
|
|
73
|
+
meta: {
|
|
74
|
+
type: string;
|
|
75
|
+
docs: {
|
|
76
|
+
description: string;
|
|
77
|
+
};
|
|
78
|
+
fixable: string;
|
|
79
|
+
schema: never[];
|
|
80
|
+
};
|
|
81
|
+
create(context: any): {
|
|
82
|
+
JSXAttribute(node: any): void;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
'jsx-ref-string-exists': {
|
|
86
|
+
meta: {
|
|
87
|
+
type: string;
|
|
88
|
+
docs: {
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
messages: {
|
|
92
|
+
missingRef: string;
|
|
93
|
+
noServices: string;
|
|
94
|
+
};
|
|
95
|
+
schema: never[];
|
|
96
|
+
};
|
|
97
|
+
create(context: any): {
|
|
98
|
+
JSXAttribute(node: any): void;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
'enforce-tailwind-important': {
|
|
102
|
+
meta: {
|
|
103
|
+
type: string;
|
|
104
|
+
docs: {
|
|
105
|
+
description: string;
|
|
106
|
+
recommended: boolean;
|
|
107
|
+
};
|
|
108
|
+
fixable: string;
|
|
109
|
+
schema: never[];
|
|
110
|
+
messages: {
|
|
111
|
+
missingImportant: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
create(context: any): {
|
|
115
|
+
JSXAttribute(node: any): void;
|
|
116
|
+
VariableDeclarator(node: any): void;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
'v-model-name-match': {
|
|
120
|
+
meta: {
|
|
121
|
+
type: string;
|
|
122
|
+
docs: {
|
|
123
|
+
description: string;
|
|
124
|
+
recommended: boolean;
|
|
125
|
+
};
|
|
126
|
+
schema: never[];
|
|
127
|
+
messages: {
|
|
128
|
+
mismatch: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
create(context: any): {
|
|
132
|
+
JSXOpeningElement(node: any): void;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
'decorator-type-enforcement': {
|
|
136
|
+
meta: {
|
|
137
|
+
type: string;
|
|
138
|
+
docs: {
|
|
139
|
+
description: string;
|
|
140
|
+
category: string;
|
|
141
|
+
recommended: boolean;
|
|
142
|
+
};
|
|
143
|
+
fixable: string;
|
|
144
|
+
schema: never[];
|
|
145
|
+
};
|
|
146
|
+
create(context: any): {
|
|
147
|
+
PropertyDefinition(node: any): void;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
'vuejs-define-component': {
|
|
151
|
+
meta: {
|
|
152
|
+
type: string;
|
|
153
|
+
docs: {
|
|
154
|
+
description: string;
|
|
155
|
+
recommended: boolean;
|
|
156
|
+
};
|
|
157
|
+
schema: never[];
|
|
158
|
+
};
|
|
159
|
+
create(context: any): {
|
|
160
|
+
ExportDefaultDeclaration(node: any): void;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
'vuejs-define-workspace': {
|
|
164
|
+
meta: {
|
|
165
|
+
type: string;
|
|
166
|
+
docs: {
|
|
167
|
+
description: string;
|
|
168
|
+
recommended: boolean;
|
|
169
|
+
};
|
|
170
|
+
schema: never[];
|
|
171
|
+
};
|
|
172
|
+
create(context: any): {
|
|
173
|
+
ExportDefaultDeclaration?: undefined;
|
|
174
|
+
} | {
|
|
175
|
+
ExportDefaultDeclaration(node: any): void;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
'route-dto-required': {
|
|
179
|
+
meta: {
|
|
180
|
+
type: string;
|
|
181
|
+
docs: {
|
|
182
|
+
description: string;
|
|
183
|
+
category: string;
|
|
184
|
+
recommended: boolean;
|
|
185
|
+
};
|
|
186
|
+
schema: never[];
|
|
187
|
+
messages: {
|
|
188
|
+
missingDto: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
create(context: any): {
|
|
192
|
+
MethodDefinition(node: any): void;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
'require-fragment-key': {
|
|
196
|
+
meta: {
|
|
197
|
+
type: string;
|
|
198
|
+
docs: {
|
|
199
|
+
description: string;
|
|
200
|
+
recommended: boolean;
|
|
201
|
+
};
|
|
202
|
+
schema: {
|
|
203
|
+
type: string;
|
|
204
|
+
properties: {
|
|
205
|
+
strict: {
|
|
206
|
+
type: string;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
additionalProperties: boolean;
|
|
210
|
+
}[];
|
|
211
|
+
messages: {
|
|
212
|
+
listItem: string;
|
|
213
|
+
conditionalSibling: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
create(context: any): {
|
|
217
|
+
JSXFragment: (node: any) => void;
|
|
218
|
+
JSXElement: (node: any) => void;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
rules: {
|
|
8
225
|
'tcy/import-specifiers-per-line': (string | {
|
|
9
226
|
maxSpecifiers: number;
|
|
10
227
|
})[];
|
|
@@ -17,7 +234,7 @@ declare namespace _default {
|
|
|
17
234
|
'tcy/v-model-name-match': string;
|
|
18
235
|
'tcy/vuejs-define-component': string;
|
|
19
236
|
'tcy/vuejs-define-workspace': string;
|
|
237
|
+
'tcy/require-fragment-key': string;
|
|
20
238
|
};
|
|
21
|
-
}
|
|
239
|
+
};
|
|
22
240
|
export default _default;
|
|
23
|
-
import pluginConfig from '../plugin.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
category: string;
|
|
7
|
+
recommended: boolean;
|
|
8
|
+
};
|
|
9
|
+
fixable: string;
|
|
10
|
+
schema: never[];
|
|
11
|
+
};
|
|
12
|
+
create(context: any): {
|
|
13
13
|
PropertyDefinition(node: any): void;
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
export default _default;
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Enforce all Tailwind classes to end with "!" (important modifier)
|
|
3
|
+
*/
|
|
4
|
+
export declare const isMissingImportant: (cls: any) => boolean;
|
|
5
|
+
export declare const addImportant: (cls: any) => string;
|
|
6
|
+
declare const _default: {
|
|
7
|
+
meta: {
|
|
8
|
+
type: string;
|
|
9
|
+
docs: {
|
|
10
|
+
description: string;
|
|
11
|
+
recommended: boolean;
|
|
12
|
+
};
|
|
13
|
+
fixable: string;
|
|
14
|
+
schema: never[];
|
|
15
|
+
messages: {
|
|
16
|
+
missingImportant: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
create(context: any): {
|
|
17
20
|
JSXAttribute(node: any): void;
|
|
18
21
|
VariableDeclarator(node: any): void;
|
|
19
22
|
};
|
|
20
|
-
}
|
|
23
|
+
};
|
|
21
24
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
fixable: string;
|
|
8
|
+
schema: never[];
|
|
9
|
+
};
|
|
10
|
+
create(context: any): {
|
|
11
11
|
ExportNamedDeclaration(node: any): void;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
fixable: string;
|
|
8
|
+
schema: {
|
|
9
9
|
type: string;
|
|
10
10
|
properties: {
|
|
11
11
|
maxSpecifiers: {
|
|
@@ -19,9 +19,9 @@ declare namespace _default {
|
|
|
19
19
|
};
|
|
20
20
|
additionalProperties: boolean;
|
|
21
21
|
}[];
|
|
22
|
-
}
|
|
23
|
-
|
|
22
|
+
};
|
|
23
|
+
create(context: any): {
|
|
24
24
|
ImportDeclaration(node: any): void;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
};
|
|
27
27
|
export default _default;
|
package/decl/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as client from
|
|
2
|
-
export * as back from
|
|
1
|
+
export * as client from './client/client.js';
|
|
2
|
+
export * as back from './back/back.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
fixable: string;
|
|
8
|
+
schema: never[];
|
|
9
|
+
};
|
|
10
|
+
create(context: any): {
|
|
11
11
|
JSXAttribute(node: any): void;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
fixable: string;
|
|
8
|
+
schema: never[];
|
|
9
|
+
};
|
|
10
|
+
create(context: any): {
|
|
11
11
|
JSXAttribute(node: any): void;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
export default _default;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
messages: {
|
|
8
|
+
missingRef: string;
|
|
9
|
+
noServices: string;
|
|
10
|
+
};
|
|
11
|
+
schema: never[];
|
|
12
|
+
};
|
|
13
|
+
create(context: any): {
|
|
14
14
|
JSXAttribute(node: any): void;
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
export default _default;
|
package/decl/plugin.d.ts
CHANGED
|
@@ -189,5 +189,31 @@ declare const _default: {
|
|
|
189
189
|
MethodDefinition(node: any): void;
|
|
190
190
|
};
|
|
191
191
|
};
|
|
192
|
+
'require-fragment-key': {
|
|
193
|
+
meta: {
|
|
194
|
+
type: string;
|
|
195
|
+
docs: {
|
|
196
|
+
description: string;
|
|
197
|
+
recommended: boolean;
|
|
198
|
+
};
|
|
199
|
+
schema: {
|
|
200
|
+
type: string;
|
|
201
|
+
properties: {
|
|
202
|
+
strict: {
|
|
203
|
+
type: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
additionalProperties: boolean;
|
|
207
|
+
}[];
|
|
208
|
+
messages: {
|
|
209
|
+
listItem: string;
|
|
210
|
+
conditionalSibling: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
create(context: any): {
|
|
214
|
+
JSXFragment: (node: any) => void;
|
|
215
|
+
JSXElement: (node: any) => void;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
192
218
|
};
|
|
193
219
|
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview require-fragment-key
|
|
3
|
+
*
|
|
4
|
+
* Reports a key-less Fragment (`<>…</>` or `<Fragment>` without `key`) *only* in
|
|
5
|
+
* the positions where Vue's children diff can actually misalign without it:
|
|
6
|
+
*
|
|
7
|
+
* A. list item — `list.map(() => <>…</>)`
|
|
8
|
+
* B. conditional sibling — `{cond && <>…</>}` / `cond ? <>…</> : x`, when the
|
|
9
|
+
* conditional is one of several children in a JSX element / fragment / array
|
|
10
|
+
* (the surrounding child list can change shape at runtime).
|
|
11
|
+
*
|
|
12
|
+
* It stays silent where a key is not required:
|
|
13
|
+
*
|
|
14
|
+
* C. sole return / sole child — `() => <>…</>`, `render() { return <>…</> }`,
|
|
15
|
+
* `default: () => <>…</>`, `<Parent><>…</></Parent>`
|
|
16
|
+
* D. static (non-conditional) sibling
|
|
17
|
+
* E. the Fragment already carries a `key`
|
|
18
|
+
*
|
|
19
|
+
* With `{ strict: true }` (the default) case B fires only when at least one
|
|
20
|
+
* sibling is *also* dynamically rendered (another conditional or a `.map`) —
|
|
21
|
+
* a lone conditional in an otherwise static list cannot drift the diff.
|
|
22
|
+
*/
|
|
23
|
+
/** A `<>…</>` node, or a `<Fragment>` / `<X.Fragment>` element with no `key`. */
|
|
24
|
+
export declare const isKeylessFragment: (node: any) => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Walk outward from the fragment through transparent wrappers and conditional
|
|
27
|
+
* operators, and classify the first structural ancestor.
|
|
28
|
+
*
|
|
29
|
+
* @returns {{ kind: string, conditional?: boolean, siblingCount?: number, dynamicSibling?: boolean }}
|
|
30
|
+
*/
|
|
31
|
+
export declare const classifyFragment: (fragment: any) => {
|
|
32
|
+
kind: string;
|
|
33
|
+
conditional?: boolean;
|
|
34
|
+
siblingCount?: number;
|
|
35
|
+
dynamicSibling?: boolean;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @returns {'listItem' | 'conditionalSibling' | null}
|
|
39
|
+
*/
|
|
40
|
+
export declare const analyzeFragment: (node: any, { strict }?: {
|
|
41
|
+
strict?: boolean | undefined;
|
|
42
|
+
}) => 'listItem' | 'conditionalSibling' | null;
|
|
43
|
+
declare const _default: {
|
|
44
|
+
meta: {
|
|
45
|
+
type: string;
|
|
46
|
+
docs: {
|
|
47
|
+
description: string;
|
|
48
|
+
recommended: boolean;
|
|
49
|
+
};
|
|
50
|
+
schema: {
|
|
51
|
+
type: string;
|
|
52
|
+
properties: {
|
|
53
|
+
strict: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
additionalProperties: boolean;
|
|
58
|
+
}[];
|
|
59
|
+
messages: {
|
|
60
|
+
listItem: string;
|
|
61
|
+
conditionalSibling: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
create(context: any): {
|
|
65
|
+
JSXFragment: (node: any) => void;
|
|
66
|
+
JSXElement: (node: any) => void;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export default _default;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
category: string;
|
|
7
|
+
recommended: boolean;
|
|
8
|
+
};
|
|
9
|
+
schema: never[];
|
|
10
|
+
messages: {
|
|
11
|
+
missingDto: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
create(context: any): {
|
|
15
15
|
MethodDefinition(node: any): void;
|
|
16
16
|
};
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
recommended: boolean;
|
|
7
|
+
};
|
|
8
|
+
schema: never[];
|
|
9
|
+
messages: {
|
|
10
|
+
mismatch: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
create(context: any): {
|
|
14
14
|
JSXOpeningElement(node: any): void;
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
meta: {
|
|
3
|
+
type: string;
|
|
4
|
+
docs: {
|
|
5
|
+
description: string;
|
|
6
|
+
recommended: boolean;
|
|
7
|
+
};
|
|
8
|
+
schema: never[];
|
|
9
|
+
};
|
|
10
|
+
create(context: any): {
|
|
11
11
|
ExportDefaultDeclaration(node: any): void;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
export default _default;
|