@eslint-react/eslint-plugin 2.0.0-next.10 → 2.0.0-next.109
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 +11 -7
- package/dist/index.d.ts +544 -124
- package/dist/index.js +135 -52
- package/package.json +16 -16
package/dist/index.d.ts
CHANGED
|
@@ -2,11 +2,15 @@ import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts
|
|
|
2
2
|
import * as _eslint_react_kit from '@eslint-react/kit';
|
|
3
3
|
import { RulePreset } from '@eslint-react/kit';
|
|
4
4
|
|
|
5
|
-
declare const name$
|
|
6
|
-
declare const rules$
|
|
5
|
+
declare const name$c = "@eslint-react/all";
|
|
6
|
+
declare const rules$c: {
|
|
7
|
+
readonly "@eslint-react/jsx-key-before-spread": "warn";
|
|
7
8
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
8
9
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
10
|
+
readonly "@eslint-react/jsx-no-iife": "warn";
|
|
9
11
|
readonly "@eslint-react/jsx-no-undef": "error";
|
|
12
|
+
readonly "@eslint-react/jsx-shorthand-boolean": "warn";
|
|
13
|
+
readonly "@eslint-react/jsx-shorthand-fragment": "warn";
|
|
10
14
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
11
15
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
12
16
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
@@ -19,6 +23,7 @@ declare const rules$b: {
|
|
|
19
23
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
20
24
|
readonly "@eslint-react/no-class-component": "warn";
|
|
21
25
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
26
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
22
27
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
23
28
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
24
29
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -26,9 +31,7 @@ declare const rules$b: {
|
|
|
26
31
|
readonly "@eslint-react/no-create-ref": "error";
|
|
27
32
|
readonly "@eslint-react/no-default-props": "error";
|
|
28
33
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
29
|
-
readonly "@eslint-react/no-
|
|
30
|
-
readonly "@eslint-react/no-direct-set-state-in-use-layout-effect": "warn";
|
|
31
|
-
readonly "@eslint-react/no-duplicate-key": "warn";
|
|
34
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
32
35
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
33
36
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
34
37
|
readonly "@eslint-react/no-missing-component-display-name": "warn";
|
|
@@ -36,7 +39,7 @@ declare const rules$b: {
|
|
|
36
39
|
readonly "@eslint-react/no-missing-key": "error";
|
|
37
40
|
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
38
41
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
39
|
-
readonly "@eslint-react/no-nested-lazy-component-declarations": "
|
|
42
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
40
43
|
readonly "@eslint-react/no-prop-types": "error";
|
|
41
44
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
42
45
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -55,9 +58,12 @@ declare const rules$b: {
|
|
|
55
58
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
56
59
|
readonly "@eslint-react/no-use-context": "warn";
|
|
57
60
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
61
|
+
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
58
62
|
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
59
63
|
readonly "@eslint-react/prefer-namespace-import": "warn";
|
|
60
64
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
65
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
66
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
|
|
61
67
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
62
68
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
63
69
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
@@ -123,6 +129,46 @@ declare const plugins$6: {
|
|
|
123
129
|
readonly jsx: _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
124
130
|
};
|
|
125
131
|
};
|
|
132
|
+
"@eslint-react/hooks-extra": {
|
|
133
|
+
configs: {
|
|
134
|
+
recommended: {
|
|
135
|
+
plugins: {
|
|
136
|
+
"react-hooks-extra": {
|
|
137
|
+
readonly meta: {
|
|
138
|
+
readonly name: string;
|
|
139
|
+
readonly version: string;
|
|
140
|
+
};
|
|
141
|
+
readonly rules: {
|
|
142
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
143
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
144
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
145
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
146
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
147
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
name: string;
|
|
152
|
+
rules: RulePreset;
|
|
153
|
+
};
|
|
154
|
+
"recommended-legacy": {
|
|
155
|
+
plugins: string[];
|
|
156
|
+
rules: RulePreset;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
meta: {
|
|
160
|
+
readonly name: string;
|
|
161
|
+
readonly version: string;
|
|
162
|
+
};
|
|
163
|
+
rules: {
|
|
164
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
165
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
166
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
167
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
168
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
169
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
126
172
|
"@eslint-react/naming-convention": {
|
|
127
173
|
configs: {
|
|
128
174
|
recommended: {
|
|
@@ -135,15 +181,12 @@ declare const plugins$6: {
|
|
|
135
181
|
readonly rules: {
|
|
136
182
|
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
137
183
|
allowAllCaps?: boolean;
|
|
138
|
-
allowLeadingUnderscore?: boolean;
|
|
139
|
-
allowNamespace?: boolean;
|
|
140
184
|
excepts?: readonly string[];
|
|
141
185
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
142
186
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
143
187
|
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
144
188
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
145
189
|
excepts?: readonly string[];
|
|
146
|
-
extensions?: readonly string[];
|
|
147
190
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
148
191
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
149
192
|
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
@@ -170,15 +213,12 @@ declare const plugins$6: {
|
|
|
170
213
|
rules: {
|
|
171
214
|
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
172
215
|
allowAllCaps?: boolean;
|
|
173
|
-
allowLeadingUnderscore?: boolean;
|
|
174
|
-
allowNamespace?: boolean;
|
|
175
216
|
excepts?: readonly string[];
|
|
176
217
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
177
218
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
178
219
|
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
179
220
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
180
221
|
excepts?: readonly string[];
|
|
181
|
-
extensions?: readonly string[];
|
|
182
222
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
183
223
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
184
224
|
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
@@ -240,15 +280,15 @@ declare const plugins$6: {
|
|
|
240
280
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
241
281
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
242
282
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
243
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
244
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
283
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
284
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
245
285
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
246
286
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
247
287
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
248
288
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
249
289
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
250
290
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
251
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
291
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
252
292
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
253
293
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
254
294
|
};
|
|
@@ -272,15 +312,15 @@ declare const plugins$6: {
|
|
|
272
312
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
273
313
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
274
314
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
275
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
276
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
315
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
316
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
277
317
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
278
318
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
279
319
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
280
320
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
281
321
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
282
322
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
283
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
323
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
284
324
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
285
325
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
286
326
|
};
|
|
@@ -295,8 +335,10 @@ declare const plugins$6: {
|
|
|
295
335
|
readonly version: string;
|
|
296
336
|
};
|
|
297
337
|
readonly rules: {
|
|
338
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
298
339
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
299
340
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
341
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
300
342
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
301
343
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
302
344
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -319,8 +361,6 @@ declare const plugins$6: {
|
|
|
319
361
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
320
362
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
321
363
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
322
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
323
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
324
364
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
325
365
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
326
366
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -346,13 +386,24 @@ declare const plugins$6: {
|
|
|
346
386
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
347
387
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
348
388
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
389
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
349
390
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
350
391
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
351
392
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
393
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
394
|
+
allowExpressions: boolean;
|
|
395
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
352
396
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
353
397
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
354
398
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
355
399
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
400
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
401
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
402
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
403
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
404
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
405
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
406
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
356
407
|
};
|
|
357
408
|
};
|
|
358
409
|
};
|
|
@@ -371,8 +422,10 @@ declare const plugins$6: {
|
|
|
371
422
|
readonly version: string;
|
|
372
423
|
};
|
|
373
424
|
readonly rules: {
|
|
425
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
374
426
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
375
427
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
428
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
376
429
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
377
430
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
378
431
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -395,8 +448,6 @@ declare const plugins$6: {
|
|
|
395
448
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
396
449
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
397
450
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
398
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
399
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
400
451
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
401
452
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
402
453
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -422,13 +473,24 @@ declare const plugins$6: {
|
|
|
422
473
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
423
474
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
424
475
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
476
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
425
477
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
426
478
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
427
479
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
480
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
481
|
+
allowExpressions: boolean;
|
|
482
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
428
483
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
429
484
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
430
485
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
431
486
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
487
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
488
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
489
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
490
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
491
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
492
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
493
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
432
494
|
};
|
|
433
495
|
};
|
|
434
496
|
};
|
|
@@ -447,8 +509,10 @@ declare const plugins$6: {
|
|
|
447
509
|
readonly version: string;
|
|
448
510
|
};
|
|
449
511
|
readonly rules: {
|
|
512
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
450
513
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
451
514
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
515
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
452
516
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
453
517
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
454
518
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -471,8 +535,6 @@ declare const plugins$6: {
|
|
|
471
535
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
472
536
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
473
537
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
474
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
475
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
476
538
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
477
539
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
478
540
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -498,13 +560,24 @@ declare const plugins$6: {
|
|
|
498
560
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
499
561
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
500
562
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
563
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
501
564
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
502
565
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
503
566
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
567
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
568
|
+
allowExpressions: boolean;
|
|
569
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
504
570
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
505
571
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
506
572
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
507
573
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
574
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
575
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
576
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
577
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
578
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
579
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
580
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
508
581
|
};
|
|
509
582
|
};
|
|
510
583
|
};
|
|
@@ -521,8 +594,10 @@ declare const plugins$6: {
|
|
|
521
594
|
readonly version: string;
|
|
522
595
|
};
|
|
523
596
|
rules: {
|
|
597
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
524
598
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
525
599
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
600
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
526
601
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
527
602
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
528
603
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -545,8 +620,6 @@ declare const plugins$6: {
|
|
|
545
620
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
546
621
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
547
622
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
548
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
549
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
550
623
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
551
624
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
552
625
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -572,13 +645,24 @@ declare const plugins$6: {
|
|
|
572
645
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
573
646
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
574
647
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
648
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
575
649
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
576
650
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
577
651
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
652
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
653
|
+
allowExpressions: boolean;
|
|
654
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
578
655
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
579
656
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
580
657
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
581
658
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
659
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
660
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
661
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
662
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
663
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
664
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
665
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
582
666
|
};
|
|
583
667
|
};
|
|
584
668
|
};
|
|
@@ -598,11 +682,11 @@ declare const settings$5: {
|
|
|
598
682
|
};
|
|
599
683
|
|
|
600
684
|
declare namespace allConfig {
|
|
601
|
-
export { name$
|
|
685
|
+
export { name$c as name, plugins$6 as plugins, rules$c as rules, settings$5 as settings };
|
|
602
686
|
}
|
|
603
687
|
|
|
604
|
-
declare const name$
|
|
605
|
-
declare const rules$
|
|
688
|
+
declare const name$b = "@eslint-react/debug";
|
|
689
|
+
declare const rules$b: {
|
|
606
690
|
readonly "@eslint-react/debug/class-component": "warn";
|
|
607
691
|
readonly "@eslint-react/debug/function-component": "warn";
|
|
608
692
|
readonly "@eslint-react/debug/hook": "warn";
|
|
@@ -651,7 +735,14 @@ declare const plugins$5: {
|
|
|
651
735
|
};
|
|
652
736
|
|
|
653
737
|
declare namespace debugConfig {
|
|
654
|
-
export { name$
|
|
738
|
+
export { name$b as name, plugins$5 as plugins, rules$b as rules };
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
declare const name$a = "@eslint-react/disable-conflict-eslint-plugin-react";
|
|
742
|
+
declare const rules$a: RulePreset;
|
|
743
|
+
|
|
744
|
+
declare namespace disableConflictEslintPluginReact {
|
|
745
|
+
export { name$a as name, rules$a as rules };
|
|
655
746
|
}
|
|
656
747
|
|
|
657
748
|
declare const name$9 = "@eslint-react/disable-debug";
|
|
@@ -716,15 +807,15 @@ declare const plugins$4: {
|
|
|
716
807
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
717
808
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
718
809
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
719
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
720
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
810
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
811
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
721
812
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
722
813
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
723
814
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
815
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
816
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
726
817
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
727
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
818
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
728
819
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
729
820
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
730
821
|
};
|
|
@@ -748,15 +839,15 @@ declare const plugins$4: {
|
|
|
748
839
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
749
840
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
750
841
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
751
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
752
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
842
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
843
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
753
844
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
754
845
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
755
846
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
756
847
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
757
848
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
758
849
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
759
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
850
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
760
851
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
761
852
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
762
853
|
};
|
|
@@ -822,6 +913,7 @@ declare const rules$3: {
|
|
|
822
913
|
readonly "@eslint-react/no-children-only": "warn";
|
|
823
914
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
824
915
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
916
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
825
917
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
826
918
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
827
919
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -829,13 +921,12 @@ declare const rules$3: {
|
|
|
829
921
|
readonly "@eslint-react/no-create-ref": "error";
|
|
830
922
|
readonly "@eslint-react/no-default-props": "error";
|
|
831
923
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
832
|
-
readonly "@eslint-react/no-
|
|
833
|
-
readonly "@eslint-react/no-duplicate-key": "warn";
|
|
924
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
834
925
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
835
926
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
836
927
|
readonly "@eslint-react/no-missing-key": "error";
|
|
837
928
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
838
|
-
readonly "@eslint-react/no-nested-lazy-component-declarations": "
|
|
929
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
839
930
|
readonly "@eslint-react/no-prop-types": "error";
|
|
840
931
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
841
932
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -893,6 +984,46 @@ declare const plugins$3: {
|
|
|
893
984
|
readonly jsx: _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
894
985
|
};
|
|
895
986
|
};
|
|
987
|
+
"@eslint-react/hooks-extra": {
|
|
988
|
+
configs: {
|
|
989
|
+
recommended: {
|
|
990
|
+
plugins: {
|
|
991
|
+
"react-hooks-extra": {
|
|
992
|
+
readonly meta: {
|
|
993
|
+
readonly name: string;
|
|
994
|
+
readonly version: string;
|
|
995
|
+
};
|
|
996
|
+
readonly rules: {
|
|
997
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
998
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
999
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1000
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1001
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1002
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
name: string;
|
|
1007
|
+
rules: RulePreset;
|
|
1008
|
+
};
|
|
1009
|
+
"recommended-legacy": {
|
|
1010
|
+
plugins: string[];
|
|
1011
|
+
rules: RulePreset;
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
meta: {
|
|
1015
|
+
readonly name: string;
|
|
1016
|
+
readonly version: string;
|
|
1017
|
+
};
|
|
1018
|
+
rules: {
|
|
1019
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1020
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1021
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1022
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1023
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1024
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
896
1027
|
"@eslint-react/naming-convention": {
|
|
897
1028
|
configs: {
|
|
898
1029
|
recommended: {
|
|
@@ -905,15 +1036,12 @@ declare const plugins$3: {
|
|
|
905
1036
|
readonly rules: {
|
|
906
1037
|
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
907
1038
|
allowAllCaps?: boolean;
|
|
908
|
-
allowLeadingUnderscore?: boolean;
|
|
909
|
-
allowNamespace?: boolean;
|
|
910
1039
|
excepts?: readonly string[];
|
|
911
1040
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
912
1041
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
913
1042
|
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
914
1043
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
915
1044
|
excepts?: readonly string[];
|
|
916
|
-
extensions?: readonly string[];
|
|
917
1045
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
918
1046
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
919
1047
|
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
@@ -940,15 +1068,12 @@ declare const plugins$3: {
|
|
|
940
1068
|
rules: {
|
|
941
1069
|
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
942
1070
|
allowAllCaps?: boolean;
|
|
943
|
-
allowLeadingUnderscore?: boolean;
|
|
944
|
-
allowNamespace?: boolean;
|
|
945
1071
|
excepts?: readonly string[];
|
|
946
1072
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
947
1073
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
948
1074
|
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
949
1075
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
950
1076
|
excepts?: readonly string[];
|
|
951
|
-
extensions?: readonly string[];
|
|
952
1077
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
953
1078
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
954
1079
|
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
@@ -1010,15 +1135,15 @@ declare const plugins$3: {
|
|
|
1010
1135
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1011
1136
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1012
1137
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1013
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1014
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1138
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1139
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1015
1140
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1016
1141
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1017
1142
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1018
1143
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1019
1144
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1020
1145
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1021
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1146
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1022
1147
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1023
1148
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1024
1149
|
};
|
|
@@ -1042,15 +1167,15 @@ declare const plugins$3: {
|
|
|
1042
1167
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1043
1168
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1044
1169
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1045
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1046
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1170
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1171
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1047
1172
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1048
1173
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1049
1174
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1050
1175
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1051
1176
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1052
1177
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1053
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1178
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1054
1179
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1055
1180
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1056
1181
|
};
|
|
@@ -1065,8 +1190,10 @@ declare const plugins$3: {
|
|
|
1065
1190
|
readonly version: string;
|
|
1066
1191
|
};
|
|
1067
1192
|
readonly rules: {
|
|
1193
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1068
1194
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1069
1195
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1196
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1070
1197
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1071
1198
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1072
1199
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1089,8 +1216,6 @@ declare const plugins$3: {
|
|
|
1089
1216
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1090
1217
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1091
1218
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1092
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1093
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1094
1219
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1095
1220
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1096
1221
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1116,13 +1241,24 @@ declare const plugins$3: {
|
|
|
1116
1241
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1117
1242
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1118
1243
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1244
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1119
1245
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1120
1246
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1121
1247
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1248
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
1249
|
+
allowExpressions: boolean;
|
|
1250
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1122
1251
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1123
1252
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1124
1253
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1125
1254
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1255
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1256
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1257
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1258
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1259
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1260
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1261
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1126
1262
|
};
|
|
1127
1263
|
};
|
|
1128
1264
|
};
|
|
@@ -1141,8 +1277,10 @@ declare const plugins$3: {
|
|
|
1141
1277
|
readonly version: string;
|
|
1142
1278
|
};
|
|
1143
1279
|
readonly rules: {
|
|
1280
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1144
1281
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1145
1282
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1283
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1146
1284
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1147
1285
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1148
1286
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1165,8 +1303,6 @@ declare const plugins$3: {
|
|
|
1165
1303
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1166
1304
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1167
1305
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1168
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1169
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1170
1306
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1171
1307
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1172
1308
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1192,13 +1328,24 @@ declare const plugins$3: {
|
|
|
1192
1328
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1193
1329
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1194
1330
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1331
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1195
1332
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1196
1333
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1197
1334
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1335
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
1336
|
+
allowExpressions: boolean;
|
|
1337
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1198
1338
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1199
1339
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1200
1340
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1201
1341
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1342
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1343
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1344
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1345
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1346
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1347
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1348
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1202
1349
|
};
|
|
1203
1350
|
};
|
|
1204
1351
|
};
|
|
@@ -1217,8 +1364,10 @@ declare const plugins$3: {
|
|
|
1217
1364
|
readonly version: string;
|
|
1218
1365
|
};
|
|
1219
1366
|
readonly rules: {
|
|
1367
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1220
1368
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1221
1369
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1370
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1222
1371
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1223
1372
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1224
1373
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1241,8 +1390,6 @@ declare const plugins$3: {
|
|
|
1241
1390
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1242
1391
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1243
1392
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1244
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1245
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1246
1393
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1247
1394
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1248
1395
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1268,13 +1415,24 @@ declare const plugins$3: {
|
|
|
1268
1415
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1269
1416
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1270
1417
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1418
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1271
1419
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1272
1420
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1273
1421
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1422
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
1423
|
+
allowExpressions: boolean;
|
|
1424
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1274
1425
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1275
1426
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1276
1427
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1277
1428
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1429
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1430
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1431
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1432
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1433
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1434
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1435
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1278
1436
|
};
|
|
1279
1437
|
};
|
|
1280
1438
|
};
|
|
@@ -1291,8 +1449,10 @@ declare const plugins$3: {
|
|
|
1291
1449
|
readonly version: string;
|
|
1292
1450
|
};
|
|
1293
1451
|
rules: {
|
|
1452
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1294
1453
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1295
1454
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1455
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1296
1456
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1297
1457
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1298
1458
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1315,8 +1475,6 @@ declare const plugins$3: {
|
|
|
1315
1475
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1316
1476
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1317
1477
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1318
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1319
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1320
1478
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1321
1479
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1322
1480
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1342,13 +1500,24 @@ declare const plugins$3: {
|
|
|
1342
1500
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1343
1501
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1344
1502
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1503
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1345
1504
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1346
1505
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1347
1506
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1507
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
1508
|
+
allowExpressions: boolean;
|
|
1509
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1348
1510
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1349
1511
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1350
1512
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1351
1513
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1514
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1515
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1516
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1517
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1518
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1519
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1520
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1352
1521
|
};
|
|
1353
1522
|
};
|
|
1354
1523
|
};
|
|
@@ -1407,6 +1576,7 @@ declare const rules$2: {
|
|
|
1407
1576
|
readonly "@eslint-react/no-children-only": "warn";
|
|
1408
1577
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
1409
1578
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
1579
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
1410
1580
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
1411
1581
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
1412
1582
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -1414,13 +1584,12 @@ declare const rules$2: {
|
|
|
1414
1584
|
readonly "@eslint-react/no-create-ref": "error";
|
|
1415
1585
|
readonly "@eslint-react/no-default-props": "error";
|
|
1416
1586
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
1417
|
-
readonly "@eslint-react/no-
|
|
1418
|
-
readonly "@eslint-react/no-duplicate-key": "warn";
|
|
1587
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
1419
1588
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
1420
1589
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
1421
1590
|
readonly "@eslint-react/no-missing-key": "error";
|
|
1422
1591
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
1423
|
-
readonly "@eslint-react/no-nested-lazy-component-declarations": "
|
|
1592
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
1424
1593
|
readonly "@eslint-react/no-prop-types": "error";
|
|
1425
1594
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1426
1595
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -1478,6 +1647,46 @@ declare const plugins$2: {
|
|
|
1478
1647
|
readonly jsx: _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1479
1648
|
};
|
|
1480
1649
|
};
|
|
1650
|
+
"@eslint-react/hooks-extra": {
|
|
1651
|
+
configs: {
|
|
1652
|
+
recommended: {
|
|
1653
|
+
plugins: {
|
|
1654
|
+
"react-hooks-extra": {
|
|
1655
|
+
readonly meta: {
|
|
1656
|
+
readonly name: string;
|
|
1657
|
+
readonly version: string;
|
|
1658
|
+
};
|
|
1659
|
+
readonly rules: {
|
|
1660
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1661
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1662
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1663
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1664
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1665
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1666
|
+
};
|
|
1667
|
+
};
|
|
1668
|
+
};
|
|
1669
|
+
name: string;
|
|
1670
|
+
rules: RulePreset;
|
|
1671
|
+
};
|
|
1672
|
+
"recommended-legacy": {
|
|
1673
|
+
plugins: string[];
|
|
1674
|
+
rules: RulePreset;
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
meta: {
|
|
1678
|
+
readonly name: string;
|
|
1679
|
+
readonly version: string;
|
|
1680
|
+
};
|
|
1681
|
+
rules: {
|
|
1682
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1683
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1684
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1685
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1686
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1687
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1481
1690
|
"@eslint-react/naming-convention": {
|
|
1482
1691
|
configs: {
|
|
1483
1692
|
recommended: {
|
|
@@ -1490,15 +1699,12 @@ declare const plugins$2: {
|
|
|
1490
1699
|
readonly rules: {
|
|
1491
1700
|
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
1492
1701
|
allowAllCaps?: boolean;
|
|
1493
|
-
allowLeadingUnderscore?: boolean;
|
|
1494
|
-
allowNamespace?: boolean;
|
|
1495
1702
|
excepts?: readonly string[];
|
|
1496
1703
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1497
1704
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1498
1705
|
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1499
1706
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1500
1707
|
excepts?: readonly string[];
|
|
1501
|
-
extensions?: readonly string[];
|
|
1502
1708
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
1503
1709
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1504
1710
|
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
@@ -1525,15 +1731,12 @@ declare const plugins$2: {
|
|
|
1525
1731
|
rules: {
|
|
1526
1732
|
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
1527
1733
|
allowAllCaps?: boolean;
|
|
1528
|
-
allowLeadingUnderscore?: boolean;
|
|
1529
|
-
allowNamespace?: boolean;
|
|
1530
1734
|
excepts?: readonly string[];
|
|
1531
1735
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1532
1736
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1533
1737
|
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1534
1738
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1535
1739
|
excepts?: readonly string[];
|
|
1536
|
-
extensions?: readonly string[];
|
|
1537
1740
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
1538
1741
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1539
1742
|
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
@@ -1595,15 +1798,15 @@ declare const plugins$2: {
|
|
|
1595
1798
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1596
1799
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1597
1800
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1598
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1599
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1801
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1802
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1600
1803
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1601
1804
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1602
1805
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1603
1806
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1604
1807
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1605
1808
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1606
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1809
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1607
1810
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1608
1811
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1609
1812
|
};
|
|
@@ -1627,15 +1830,15 @@ declare const plugins$2: {
|
|
|
1627
1830
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1628
1831
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1629
1832
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1630
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1631
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1833
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1834
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1632
1835
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1633
1836
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1634
1837
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1635
1838
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1636
1839
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1637
1840
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1638
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1841
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1639
1842
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1640
1843
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1641
1844
|
};
|
|
@@ -1650,8 +1853,10 @@ declare const plugins$2: {
|
|
|
1650
1853
|
readonly version: string;
|
|
1651
1854
|
};
|
|
1652
1855
|
readonly rules: {
|
|
1856
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1653
1857
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1654
1858
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1859
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1655
1860
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1656
1861
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1657
1862
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1674,8 +1879,6 @@ declare const plugins$2: {
|
|
|
1674
1879
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1675
1880
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1676
1881
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1677
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1678
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1679
1882
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1680
1883
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1681
1884
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1701,13 +1904,24 @@ declare const plugins$2: {
|
|
|
1701
1904
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1702
1905
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1703
1906
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1907
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1704
1908
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1705
1909
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1706
1910
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1911
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
1912
|
+
allowExpressions: boolean;
|
|
1913
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1707
1914
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1708
1915
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1709
1916
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1710
1917
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1918
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1919
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1920
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1921
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1922
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1923
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1924
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1711
1925
|
};
|
|
1712
1926
|
};
|
|
1713
1927
|
};
|
|
@@ -1726,8 +1940,10 @@ declare const plugins$2: {
|
|
|
1726
1940
|
readonly version: string;
|
|
1727
1941
|
};
|
|
1728
1942
|
readonly rules: {
|
|
1943
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1729
1944
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1730
1945
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1946
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1731
1947
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1732
1948
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1733
1949
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1750,8 +1966,6 @@ declare const plugins$2: {
|
|
|
1750
1966
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1751
1967
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1752
1968
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1753
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1754
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1755
1969
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1756
1970
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1757
1971
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1777,13 +1991,24 @@ declare const plugins$2: {
|
|
|
1777
1991
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1778
1992
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1779
1993
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1994
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1780
1995
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1781
1996
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1782
1997
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1998
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
1999
|
+
allowExpressions: boolean;
|
|
2000
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1783
2001
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1784
2002
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1785
2003
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1786
2004
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2005
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2006
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2007
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2008
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2009
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2010
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2011
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1787
2012
|
};
|
|
1788
2013
|
};
|
|
1789
2014
|
};
|
|
@@ -1802,8 +2027,10 @@ declare const plugins$2: {
|
|
|
1802
2027
|
readonly version: string;
|
|
1803
2028
|
};
|
|
1804
2029
|
readonly rules: {
|
|
2030
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1805
2031
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1806
2032
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2033
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1807
2034
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1808
2035
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1809
2036
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1826,8 +2053,6 @@ declare const plugins$2: {
|
|
|
1826
2053
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1827
2054
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1828
2055
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1829
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1830
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1831
2056
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1832
2057
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1833
2058
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1853,13 +2078,24 @@ declare const plugins$2: {
|
|
|
1853
2078
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1854
2079
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1855
2080
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2081
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1856
2082
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1857
2083
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1858
2084
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2085
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
2086
|
+
allowExpressions: boolean;
|
|
2087
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1859
2088
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1860
2089
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1861
2090
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1862
2091
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2092
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2093
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2094
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2095
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2096
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2097
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2098
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1863
2099
|
};
|
|
1864
2100
|
};
|
|
1865
2101
|
};
|
|
@@ -1876,8 +2112,10 @@ declare const plugins$2: {
|
|
|
1876
2112
|
readonly version: string;
|
|
1877
2113
|
};
|
|
1878
2114
|
rules: {
|
|
2115
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1879
2116
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1880
2117
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2118
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1881
2119
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1882
2120
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1883
2121
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1900,8 +2138,6 @@ declare const plugins$2: {
|
|
|
1900
2138
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1901
2139
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1902
2140
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1903
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1904
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1905
2141
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1906
2142
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1907
2143
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1927,13 +2163,24 @@ declare const plugins$2: {
|
|
|
1927
2163
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1928
2164
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1929
2165
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2166
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1930
2167
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1931
2168
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1932
2169
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2170
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
2171
|
+
allowExpressions: boolean;
|
|
2172
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1933
2173
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1934
2174
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1935
2175
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1936
2176
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2177
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2178
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2179
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2180
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2181
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2182
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2183
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1937
2184
|
};
|
|
1938
2185
|
};
|
|
1939
2186
|
};
|
|
@@ -1991,6 +2238,7 @@ declare const rules$1: {
|
|
|
1991
2238
|
readonly "@eslint-react/no-children-only": "warn";
|
|
1992
2239
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
1993
2240
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
2241
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
1994
2242
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
1995
2243
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
1996
2244
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -1998,13 +2246,12 @@ declare const rules$1: {
|
|
|
1998
2246
|
readonly "@eslint-react/no-create-ref": "error";
|
|
1999
2247
|
readonly "@eslint-react/no-default-props": "error";
|
|
2000
2248
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
2001
|
-
readonly "@eslint-react/no-
|
|
2002
|
-
readonly "@eslint-react/no-duplicate-key": "warn";
|
|
2249
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
2003
2250
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
2004
2251
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
2005
2252
|
readonly "@eslint-react/no-missing-key": "error";
|
|
2006
2253
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
2007
|
-
readonly "@eslint-react/no-nested-lazy-component-declarations": "
|
|
2254
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
2008
2255
|
readonly "@eslint-react/no-prop-types": "error";
|
|
2009
2256
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
2010
2257
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -2062,6 +2309,46 @@ declare const plugins$1: {
|
|
|
2062
2309
|
readonly jsx: _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2063
2310
|
};
|
|
2064
2311
|
};
|
|
2312
|
+
"@eslint-react/hooks-extra": {
|
|
2313
|
+
configs: {
|
|
2314
|
+
recommended: {
|
|
2315
|
+
plugins: {
|
|
2316
|
+
"react-hooks-extra": {
|
|
2317
|
+
readonly meta: {
|
|
2318
|
+
readonly name: string;
|
|
2319
|
+
readonly version: string;
|
|
2320
|
+
};
|
|
2321
|
+
readonly rules: {
|
|
2322
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2323
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2324
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2325
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2326
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2327
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
};
|
|
2331
|
+
name: string;
|
|
2332
|
+
rules: RulePreset;
|
|
2333
|
+
};
|
|
2334
|
+
"recommended-legacy": {
|
|
2335
|
+
plugins: string[];
|
|
2336
|
+
rules: RulePreset;
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2339
|
+
meta: {
|
|
2340
|
+
readonly name: string;
|
|
2341
|
+
readonly version: string;
|
|
2342
|
+
};
|
|
2343
|
+
rules: {
|
|
2344
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2345
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2346
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2347
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2348
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2349
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2350
|
+
};
|
|
2351
|
+
};
|
|
2065
2352
|
"@eslint-react/naming-convention": {
|
|
2066
2353
|
configs: {
|
|
2067
2354
|
recommended: {
|
|
@@ -2074,15 +2361,12 @@ declare const plugins$1: {
|
|
|
2074
2361
|
readonly rules: {
|
|
2075
2362
|
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
2076
2363
|
allowAllCaps?: boolean;
|
|
2077
|
-
allowLeadingUnderscore?: boolean;
|
|
2078
|
-
allowNamespace?: boolean;
|
|
2079
2364
|
excepts?: readonly string[];
|
|
2080
2365
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2081
2366
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2082
2367
|
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2083
2368
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2084
2369
|
excepts?: readonly string[];
|
|
2085
|
-
extensions?: readonly string[];
|
|
2086
2370
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
2087
2371
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2088
2372
|
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
@@ -2109,15 +2393,12 @@ declare const plugins$1: {
|
|
|
2109
2393
|
rules: {
|
|
2110
2394
|
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
2111
2395
|
allowAllCaps?: boolean;
|
|
2112
|
-
allowLeadingUnderscore?: boolean;
|
|
2113
|
-
allowNamespace?: boolean;
|
|
2114
2396
|
excepts?: readonly string[];
|
|
2115
2397
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2116
2398
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2117
2399
|
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2118
2400
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2119
2401
|
excepts?: readonly string[];
|
|
2120
|
-
extensions?: readonly string[];
|
|
2121
2402
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
2122
2403
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2123
2404
|
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly [("always" | "as-needed") | {
|
|
@@ -2179,15 +2460,15 @@ declare const plugins$1: {
|
|
|
2179
2460
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2180
2461
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2181
2462
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2182
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2183
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2463
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2464
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2184
2465
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2185
2466
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2186
2467
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2187
2468
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2188
2469
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2189
2470
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2190
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2471
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2191
2472
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2192
2473
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2193
2474
|
};
|
|
@@ -2211,15 +2492,15 @@ declare const plugins$1: {
|
|
|
2211
2492
|
readonly "no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2212
2493
|
readonly "no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2213
2494
|
readonly "no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2214
|
-
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2215
|
-
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2495
|
+
readonly "no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2496
|
+
readonly "no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2216
2497
|
readonly "no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2217
2498
|
readonly "no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2218
2499
|
readonly "no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2219
2500
|
readonly "no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2220
2501
|
readonly "no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2221
2502
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2222
|
-
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2503
|
+
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2223
2504
|
readonly "no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2224
2505
|
readonly "no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2225
2506
|
};
|
|
@@ -2234,8 +2515,10 @@ declare const plugins$1: {
|
|
|
2234
2515
|
readonly version: string;
|
|
2235
2516
|
};
|
|
2236
2517
|
readonly rules: {
|
|
2518
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2237
2519
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2238
2520
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2521
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2239
2522
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2240
2523
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2241
2524
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2258,8 +2541,6 @@ declare const plugins$1: {
|
|
|
2258
2541
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2259
2542
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2260
2543
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2261
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2262
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2263
2544
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2264
2545
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2265
2546
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2285,13 +2566,24 @@ declare const plugins$1: {
|
|
|
2285
2566
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2286
2567
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2287
2568
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2569
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2288
2570
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2289
2571
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2290
2572
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2573
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
2574
|
+
allowExpressions: boolean;
|
|
2575
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2291
2576
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2292
2577
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2293
2578
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2294
2579
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2580
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2581
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2582
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2583
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2584
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2585
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2586
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2295
2587
|
};
|
|
2296
2588
|
};
|
|
2297
2589
|
};
|
|
@@ -2310,8 +2602,10 @@ declare const plugins$1: {
|
|
|
2310
2602
|
readonly version: string;
|
|
2311
2603
|
};
|
|
2312
2604
|
readonly rules: {
|
|
2605
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2313
2606
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2314
2607
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2608
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2315
2609
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2316
2610
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2317
2611
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2334,8 +2628,6 @@ declare const plugins$1: {
|
|
|
2334
2628
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2335
2629
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2336
2630
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2337
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2338
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2339
2631
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2340
2632
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2341
2633
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2361,13 +2653,24 @@ declare const plugins$1: {
|
|
|
2361
2653
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2362
2654
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2363
2655
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2656
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2364
2657
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2365
2658
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2366
2659
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2660
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
2661
|
+
allowExpressions: boolean;
|
|
2662
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2367
2663
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2368
2664
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2369
2665
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2370
2666
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2667
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2668
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2669
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2670
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2671
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2672
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2673
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2371
2674
|
};
|
|
2372
2675
|
};
|
|
2373
2676
|
};
|
|
@@ -2386,8 +2689,10 @@ declare const plugins$1: {
|
|
|
2386
2689
|
readonly version: string;
|
|
2387
2690
|
};
|
|
2388
2691
|
readonly rules: {
|
|
2692
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2389
2693
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2390
2694
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2695
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2391
2696
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2392
2697
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2393
2698
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2410,8 +2715,6 @@ declare const plugins$1: {
|
|
|
2410
2715
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2411
2716
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2412
2717
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2413
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2414
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2415
2718
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2416
2719
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2417
2720
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2437,13 +2740,24 @@ declare const plugins$1: {
|
|
|
2437
2740
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2438
2741
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2439
2742
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2743
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2440
2744
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2441
2745
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2442
2746
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2747
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
2748
|
+
allowExpressions: boolean;
|
|
2749
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2443
2750
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2444
2751
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2445
2752
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2446
2753
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2754
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2755
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2756
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2757
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2758
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2759
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2760
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2447
2761
|
};
|
|
2448
2762
|
};
|
|
2449
2763
|
};
|
|
@@ -2460,8 +2774,10 @@ declare const plugins$1: {
|
|
|
2460
2774
|
readonly version: string;
|
|
2461
2775
|
};
|
|
2462
2776
|
rules: {
|
|
2777
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2463
2778
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2464
2779
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2780
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2465
2781
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2466
2782
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2467
2783
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2484,8 +2800,6 @@ declare const plugins$1: {
|
|
|
2484
2800
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2485
2801
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2486
2802
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2487
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2488
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2489
2803
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2490
2804
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2491
2805
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2511,13 +2825,24 @@ declare const plugins$1: {
|
|
|
2511
2825
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2512
2826
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2513
2827
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2828
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2514
2829
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2515
2830
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2516
2831
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2832
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
2833
|
+
allowExpressions: boolean;
|
|
2834
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2517
2835
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2518
2836
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2519
2837
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2520
2838
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2839
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2840
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2841
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2842
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2843
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2844
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2845
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2521
2846
|
};
|
|
2522
2847
|
};
|
|
2523
2848
|
};
|
|
@@ -2554,6 +2879,7 @@ declare const rules: {
|
|
|
2554
2879
|
readonly "@eslint-react/no-children-only": "warn";
|
|
2555
2880
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
2556
2881
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
2882
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
2557
2883
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
2558
2884
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
2559
2885
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -2561,13 +2887,12 @@ declare const rules: {
|
|
|
2561
2887
|
readonly "@eslint-react/no-create-ref": "error";
|
|
2562
2888
|
readonly "@eslint-react/no-default-props": "error";
|
|
2563
2889
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
2564
|
-
readonly "@eslint-react/no-
|
|
2565
|
-
readonly "@eslint-react/no-duplicate-key": "warn";
|
|
2890
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
2566
2891
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
2567
2892
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
2568
2893
|
readonly "@eslint-react/no-missing-key": "error";
|
|
2569
2894
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
2570
|
-
readonly "@eslint-react/no-nested-lazy-component-declarations": "
|
|
2895
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
2571
2896
|
readonly "@eslint-react/no-prop-types": "error";
|
|
2572
2897
|
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
2573
2898
|
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
@@ -2597,8 +2922,10 @@ declare const plugins: {
|
|
|
2597
2922
|
readonly version: string;
|
|
2598
2923
|
};
|
|
2599
2924
|
readonly rules: {
|
|
2925
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2600
2926
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2601
2927
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2928
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2602
2929
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2603
2930
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2604
2931
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2621,8 +2948,6 @@ declare const plugins: {
|
|
|
2621
2948
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2622
2949
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2623
2950
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2624
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2625
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2626
2951
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2627
2952
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2628
2953
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2648,13 +2973,24 @@ declare const plugins: {
|
|
|
2648
2973
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2649
2974
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2650
2975
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2976
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2651
2977
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2652
2978
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2653
2979
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2980
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
2981
|
+
allowExpressions: boolean;
|
|
2982
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2654
2983
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2655
2984
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2656
2985
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2657
2986
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2987
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2988
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2989
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2990
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2991
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2992
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2993
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2658
2994
|
};
|
|
2659
2995
|
};
|
|
2660
2996
|
};
|
|
@@ -2673,8 +3009,10 @@ declare const plugins: {
|
|
|
2673
3009
|
readonly version: string;
|
|
2674
3010
|
};
|
|
2675
3011
|
readonly rules: {
|
|
3012
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2676
3013
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2677
3014
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3015
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2678
3016
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2679
3017
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2680
3018
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2697,8 +3035,6 @@ declare const plugins: {
|
|
|
2697
3035
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2698
3036
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2699
3037
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2700
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2701
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2702
3038
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2703
3039
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2704
3040
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2724,13 +3060,24 @@ declare const plugins: {
|
|
|
2724
3060
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2725
3061
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2726
3062
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3063
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2727
3064
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2728
3065
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2729
3066
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3067
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
3068
|
+
allowExpressions: boolean;
|
|
3069
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2730
3070
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2731
3071
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2732
3072
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2733
3073
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3074
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3075
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3076
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3077
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3078
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3079
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3080
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2734
3081
|
};
|
|
2735
3082
|
};
|
|
2736
3083
|
};
|
|
@@ -2749,8 +3096,10 @@ declare const plugins: {
|
|
|
2749
3096
|
readonly version: string;
|
|
2750
3097
|
};
|
|
2751
3098
|
readonly rules: {
|
|
3099
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2752
3100
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2753
3101
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3102
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2754
3103
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2755
3104
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2756
3105
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2773,8 +3122,6 @@ declare const plugins: {
|
|
|
2773
3122
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2774
3123
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2775
3124
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2776
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2777
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2778
3125
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2779
3126
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2780
3127
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2800,13 +3147,24 @@ declare const plugins: {
|
|
|
2800
3147
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2801
3148
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2802
3149
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3150
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2803
3151
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2804
3152
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2805
3153
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3154
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
3155
|
+
allowExpressions: boolean;
|
|
3156
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2806
3157
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2807
3158
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2808
3159
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2809
3160
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3161
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3162
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3163
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3164
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3165
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3166
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3167
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2810
3168
|
};
|
|
2811
3169
|
};
|
|
2812
3170
|
};
|
|
@@ -2823,8 +3181,10 @@ declare const plugins: {
|
|
|
2823
3181
|
readonly version: string;
|
|
2824
3182
|
};
|
|
2825
3183
|
rules: {
|
|
3184
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2826
3185
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2827
3186
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3187
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2828
3188
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2829
3189
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2830
3190
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2847,8 +3207,6 @@ declare const plugins: {
|
|
|
2847
3207
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2848
3208
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2849
3209
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2850
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2851
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2852
3210
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2853
3211
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2854
3212
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -2874,13 +3232,24 @@ declare const plugins: {
|
|
|
2874
3232
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2875
3233
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2876
3234
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3235
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2877
3236
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2878
3237
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2879
3238
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3239
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
3240
|
+
allowExpressions: boolean;
|
|
3241
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2880
3242
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2881
3243
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2882
3244
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2883
3245
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3246
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3247
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3248
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3249
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3250
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3251
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3252
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2884
3253
|
};
|
|
2885
3254
|
};
|
|
2886
3255
|
};
|
|
@@ -2923,6 +3292,11 @@ declare const _default: {
|
|
|
2923
3292
|
plugins: string[];
|
|
2924
3293
|
rules: RulePreset;
|
|
2925
3294
|
};
|
|
3295
|
+
readonly "disable-conflict-eslint-plugin-react": typeof disableConflictEslintPluginReact;
|
|
3296
|
+
readonly "disable-conflict-eslint-plugin-react-legacy": {
|
|
3297
|
+
plugins: string[];
|
|
3298
|
+
rules: RulePreset;
|
|
3299
|
+
};
|
|
2926
3300
|
readonly "disable-debug": typeof disableDebugConfig;
|
|
2927
3301
|
readonly "disable-debug-legacy": {
|
|
2928
3302
|
plugins: string[];
|
|
@@ -2982,15 +3356,12 @@ declare const _default: {
|
|
|
2982
3356
|
readonly "debug/jsx": _typescript_eslint_utils_ts_eslint.RuleModule<"jsx", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2983
3357
|
readonly "naming-convention/component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", readonly ["CONSTANT_CASE" | "PascalCase" | {
|
|
2984
3358
|
allowAllCaps?: boolean;
|
|
2985
|
-
allowLeadingUnderscore?: boolean;
|
|
2986
|
-
allowNamespace?: boolean;
|
|
2987
3359
|
excepts?: readonly string[];
|
|
2988
3360
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2989
3361
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2990
3362
|
readonly "naming-convention/context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"invalid", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2991
3363
|
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameEmpty" | "filenameInvalid", readonly ["PascalCase" | "camelCase" | "kebab-case" | "snake_case" | {
|
|
2992
3364
|
excepts?: readonly string[];
|
|
2993
|
-
extensions?: readonly string[];
|
|
2994
3365
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
2995
3366
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2996
3367
|
readonly "naming-convention/filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"useJsxFileExtension" | "useNonJsxFileExtension", readonly ["always" | "as-needed" | {
|
|
@@ -2999,6 +3370,44 @@ declare const _default: {
|
|
|
2999
3370
|
ignoreFilesWithoutCode?: boolean;
|
|
3000
3371
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3001
3372
|
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"missingDestructuring" | "invalidSetterNaming", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3373
|
+
readonly "hooks-extra/configs": {
|
|
3374
|
+
recommended: {
|
|
3375
|
+
plugins: {
|
|
3376
|
+
"react-hooks-extra": {
|
|
3377
|
+
readonly meta: {
|
|
3378
|
+
readonly name: string;
|
|
3379
|
+
readonly version: string;
|
|
3380
|
+
};
|
|
3381
|
+
readonly rules: {
|
|
3382
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3383
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3384
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3385
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3386
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3387
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3388
|
+
};
|
|
3389
|
+
};
|
|
3390
|
+
};
|
|
3391
|
+
name: string;
|
|
3392
|
+
rules: RulePreset;
|
|
3393
|
+
};
|
|
3394
|
+
"recommended-legacy": {
|
|
3395
|
+
plugins: string[];
|
|
3396
|
+
rules: RulePreset;
|
|
3397
|
+
};
|
|
3398
|
+
};
|
|
3399
|
+
readonly "hooks-extra/meta": {
|
|
3400
|
+
readonly name: string;
|
|
3401
|
+
readonly version: string;
|
|
3402
|
+
};
|
|
3403
|
+
readonly "hooks-extra/rules": {
|
|
3404
|
+
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3405
|
+
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3406
|
+
readonly "no-unnecessary-use-callback": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseCallback", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3407
|
+
readonly "no-unnecessary-use-memo": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUseMemo", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3408
|
+
readonly "no-unnecessary-use-prefix": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnnecessaryUsePrefix", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3409
|
+
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3410
|
+
};
|
|
3002
3411
|
readonly "web-api/no-leaked-event-listener": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedRemoveEventListenerInCleanup" | "expectedRemoveEventListenerInUnmount" | "unexpectedInlineFunction", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3003
3412
|
readonly "web-api/no-leaked-interval": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedClearIntervalInCleanup" | "expectedClearIntervalInUnmount" | "expectedIntervalId", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3004
3413
|
readonly "web-api/no-leaked-resize-observer": _typescript_eslint_utils_ts_eslint.RuleModule<"expectedDisconnectInControlFlow" | "expectedDisconnectOrUnobserveInCleanup" | "unexpectedFloatingInstance", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3008,19 +3417,21 @@ declare const _default: {
|
|
|
3008
3417
|
readonly "dom/no-find-dom-node": _typescript_eslint_utils_ts_eslint.RuleModule<"noFindDomNode", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3009
3418
|
readonly "dom/no-flush-sync": _typescript_eslint_utils_ts_eslint.RuleModule<"noFlushSync", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3010
3419
|
readonly "dom/no-hydrate": _typescript_eslint_utils_ts_eslint.RuleModule<"noHydrate", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3011
|
-
readonly "dom/no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3012
|
-
readonly "dom/no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3420
|
+
readonly "dom/no-missing-button-type": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingButtonType" | "addButtonType", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3421
|
+
readonly "dom/no-missing-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noMissingIframeSandbox" | "addIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3013
3422
|
readonly "dom/no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3014
3423
|
readonly "dom/no-render": _typescript_eslint_utils_ts_eslint.RuleModule<"noRender", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3015
3424
|
readonly "dom/no-render-return-value": _typescript_eslint_utils_ts_eslint.RuleModule<"noRenderReturnValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3016
3425
|
readonly "dom/no-script-url": _typescript_eslint_utils_ts_eslint.RuleModule<"noScriptUrl", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3017
3426
|
readonly "dom/no-unknown-property": _typescript_eslint_utils_ts_eslint.RuleModule<"dataLowercaseRequired" | "invalidPropOnTag" | "unknownProp" | "unknownPropWithStandardName", unknown[], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3018
3427
|
readonly "dom/no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3019
|
-
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3428
|
+
readonly "dom/no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank" | "addRelNoreferrerNoopener", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3020
3429
|
readonly "dom/no-use-form-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseFormState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3021
3430
|
readonly "dom/no-void-elements-with-children": _typescript_eslint_utils_ts_eslint.RuleModule<"noVoidElementsWithChildren", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3431
|
+
readonly "jsx-key-before-spread": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxKeyBeforeSpread", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3022
3432
|
readonly "jsx-no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3023
3433
|
readonly "jsx-no-duplicate-props": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoDuplicateProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3434
|
+
readonly "jsx-no-iife": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoIife", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3024
3435
|
readonly "jsx-no-undef": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxNoUndef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3025
3436
|
readonly "jsx-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandBoolean", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3026
3437
|
readonly "jsx-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"jsxShorthandFragment", readonly [number | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3043,8 +3454,6 @@ declare const _default: {
|
|
|
3043
3454
|
readonly "no-create-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noCreateRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3044
3455
|
readonly "no-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3045
3456
|
readonly "no-direct-mutation-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectMutationState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3046
|
-
readonly "no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3047
|
-
readonly "no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3048
3457
|
readonly "no-duplicate-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noDuplicateKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3049
3458
|
readonly "no-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3050
3459
|
readonly "no-implicit-key": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitKey", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -3070,13 +3479,24 @@ declare const _default: {
|
|
|
3070
3479
|
readonly "no-unstable-context-value": _typescript_eslint_utils_ts_eslint.RuleModule<"unstableContextValue", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3071
3480
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3072
3481
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3482
|
+
readonly "no-unused-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3073
3483
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3074
3484
|
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3075
3485
|
readonly "no-useless-forward-ref": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessForwardRef", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3486
|
+
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"uselessFragment", readonly [{
|
|
3487
|
+
allowExpressions: boolean;
|
|
3488
|
+
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3076
3489
|
readonly "prefer-destructuring-assignment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferDestructuringAssignment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3077
3490
|
readonly "prefer-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3078
3491
|
readonly "prefer-read-only-props": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReadOnlyProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3079
3492
|
readonly "prefer-use-state-lazy-initialization": _typescript_eslint_utils_ts_eslint.RuleModule<"preferUseStateLazyInitialization", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3493
|
+
readonly "avoid-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3494
|
+
readonly "avoid-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"avoidShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3495
|
+
readonly "no-comment-textnodes": _typescript_eslint_utils_ts_eslint.RuleModule<"noCommentTextnodes", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3496
|
+
readonly "no-complex-conditional-rendering": _typescript_eslint_utils_ts_eslint.RuleModule<"noComplexConditionalRendering", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3497
|
+
readonly "prefer-react-namespace-import": _typescript_eslint_utils_ts_eslint.RuleModule<"preferReactNamespaceImport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3498
|
+
readonly "prefer-shorthand-boolean": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandBoolean", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3499
|
+
readonly "prefer-shorthand-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShorthandFragment", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3080
3500
|
};
|
|
3081
3501
|
};
|
|
3082
3502
|
|