@eslint-react/eslint-plugin 2.1.0-beta.2 → 2.1.0-beta.4
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 +9 -0
- package/dist/index.d.ts +523 -212
- package/dist/index.js +165 -116
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _eslint_react_kit4 from "@eslint-react/kit";
|
|
2
2
|
import { RuleConfig } from "@eslint-react/kit";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/all.d.ts
|
|
5
5
|
declare namespace all_d_exports {
|
|
6
|
-
export { name$
|
|
6
|
+
export { name$15 as name, plugins$9 as plugins, rules$15 as rules, settings$6 as settings };
|
|
7
7
|
}
|
|
8
|
-
declare const name$
|
|
9
|
-
declare const rules$
|
|
8
|
+
declare const name$15 = "@eslint-react/all";
|
|
9
|
+
declare const rules$15: {
|
|
10
10
|
readonly "@eslint-react/jsx-key-before-spread": "warn";
|
|
11
11
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
12
12
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
@@ -98,21 +98,21 @@ declare const rules$13: {
|
|
|
98
98
|
readonly "@eslint-react/naming-convention/filename-extension": "off";
|
|
99
99
|
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
100
100
|
};
|
|
101
|
-
declare const plugins$
|
|
101
|
+
declare const plugins$9: {
|
|
102
102
|
"@eslint-react/debug": {
|
|
103
103
|
configs: {
|
|
104
104
|
all: {
|
|
105
105
|
plugins: {};
|
|
106
106
|
name?: string;
|
|
107
107
|
rules?: Record<string, RuleConfig>;
|
|
108
|
-
settings?:
|
|
108
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
111
|
meta: {
|
|
112
112
|
name: string;
|
|
113
113
|
version: string;
|
|
114
114
|
};
|
|
115
|
-
rules: Record<string,
|
|
115
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
116
116
|
};
|
|
117
117
|
"@eslint-react/hooks-extra": {
|
|
118
118
|
configs: {
|
|
@@ -120,14 +120,14 @@ declare const plugins$7: {
|
|
|
120
120
|
plugins: {};
|
|
121
121
|
name?: string;
|
|
122
122
|
rules?: Record<string, RuleConfig>;
|
|
123
|
-
settings?:
|
|
123
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
meta: {
|
|
127
127
|
name: string;
|
|
128
128
|
version: string;
|
|
129
129
|
};
|
|
130
|
-
rules: Record<string,
|
|
130
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
131
131
|
};
|
|
132
132
|
"@eslint-react/naming-convention": {
|
|
133
133
|
configs: {
|
|
@@ -135,14 +135,14 @@ declare const plugins$7: {
|
|
|
135
135
|
plugins: {};
|
|
136
136
|
name?: string;
|
|
137
137
|
rules?: Record<string, RuleConfig>;
|
|
138
|
-
settings?:
|
|
138
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
139
139
|
};
|
|
140
140
|
};
|
|
141
141
|
meta: {
|
|
142
142
|
name: string;
|
|
143
143
|
version: string;
|
|
144
144
|
};
|
|
145
|
-
rules: Record<string,
|
|
145
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
146
146
|
};
|
|
147
147
|
"@eslint-react/web-api": {
|
|
148
148
|
configs: {
|
|
@@ -150,14 +150,14 @@ declare const plugins$7: {
|
|
|
150
150
|
plugins: {};
|
|
151
151
|
name?: string;
|
|
152
152
|
rules?: Record<string, RuleConfig>;
|
|
153
|
-
settings?:
|
|
153
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
156
|
meta: {
|
|
157
157
|
name: string;
|
|
158
158
|
version: string;
|
|
159
159
|
};
|
|
160
|
-
rules: Record<string,
|
|
160
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
161
161
|
};
|
|
162
162
|
"@eslint-react/dom": {
|
|
163
163
|
configs: {
|
|
@@ -165,14 +165,14 @@ declare const plugins$7: {
|
|
|
165
165
|
plugins: {};
|
|
166
166
|
name?: string;
|
|
167
167
|
rules?: Record<string, RuleConfig>;
|
|
168
|
-
settings?:
|
|
168
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
169
169
|
};
|
|
170
170
|
};
|
|
171
171
|
meta: {
|
|
172
172
|
name: string;
|
|
173
173
|
version: string;
|
|
174
174
|
};
|
|
175
|
-
rules: Record<string,
|
|
175
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
176
176
|
};
|
|
177
177
|
"@eslint-react": {
|
|
178
178
|
configs: {
|
|
@@ -180,29 +180,29 @@ declare const plugins$7: {
|
|
|
180
180
|
plugins: {};
|
|
181
181
|
name?: string;
|
|
182
182
|
rules?: Record<string, RuleConfig>;
|
|
183
|
-
settings?:
|
|
183
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
184
184
|
};
|
|
185
185
|
"recommended-type-checked": {
|
|
186
186
|
plugins: {};
|
|
187
187
|
name?: string;
|
|
188
188
|
rules?: Record<string, RuleConfig>;
|
|
189
|
-
settings?:
|
|
189
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
190
190
|
};
|
|
191
191
|
"recommended-typescript": {
|
|
192
192
|
plugins: {};
|
|
193
193
|
name?: string;
|
|
194
194
|
rules?: Record<string, RuleConfig>;
|
|
195
|
-
settings?:
|
|
195
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
198
|
meta: {
|
|
199
199
|
name: string;
|
|
200
200
|
version: string;
|
|
201
201
|
};
|
|
202
|
-
rules: Record<string,
|
|
202
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
203
203
|
};
|
|
204
204
|
};
|
|
205
|
-
declare const settings$
|
|
205
|
+
declare const settings$6: {
|
|
206
206
|
"react-x": {
|
|
207
207
|
readonly version: "detect";
|
|
208
208
|
readonly importSource: "react";
|
|
@@ -210,101 +210,101 @@ declare const settings$4: {
|
|
|
210
210
|
};
|
|
211
211
|
};
|
|
212
212
|
declare namespace debug_d_exports {
|
|
213
|
-
export { name$
|
|
213
|
+
export { name$14 as name, plugins$8 as plugins, rules$14 as rules };
|
|
214
214
|
}
|
|
215
|
-
declare const name$
|
|
216
|
-
declare const rules$
|
|
215
|
+
declare const name$14 = "@eslint-react/debug";
|
|
216
|
+
declare const rules$14: {
|
|
217
217
|
readonly "@eslint-react/debug/class-component": "warn";
|
|
218
218
|
readonly "@eslint-react/debug/function-component": "warn";
|
|
219
219
|
readonly "@eslint-react/debug/hook": "warn";
|
|
220
220
|
readonly "@eslint-react/debug/is-from-react": "warn";
|
|
221
221
|
readonly "@eslint-react/debug/jsx": "warn";
|
|
222
222
|
};
|
|
223
|
-
declare const plugins$
|
|
223
|
+
declare const plugins$8: {
|
|
224
224
|
"@eslint-react/debug": {
|
|
225
225
|
configs: {
|
|
226
226
|
all: {
|
|
227
227
|
plugins: {};
|
|
228
228
|
name?: string;
|
|
229
229
|
rules?: Record<string, RuleConfig>;
|
|
230
|
-
settings?:
|
|
230
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
231
231
|
};
|
|
232
232
|
};
|
|
233
233
|
meta: {
|
|
234
234
|
name: string;
|
|
235
235
|
version: string;
|
|
236
236
|
};
|
|
237
|
-
rules: Record<string,
|
|
237
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
238
238
|
};
|
|
239
239
|
};
|
|
240
240
|
declare namespace disable_conflict_eslint_plugin_react_d_exports {
|
|
241
|
-
export { name$
|
|
241
|
+
export { name$13 as name, rules$13 as rules };
|
|
242
242
|
}
|
|
243
|
-
declare const name$
|
|
244
|
-
declare const rules$
|
|
243
|
+
declare const name$13 = "@eslint-react/disable-conflict-eslint-plugin-react";
|
|
244
|
+
declare const rules$13: Record<string, RuleConfig>;
|
|
245
245
|
declare namespace disable_debug_d_exports {
|
|
246
|
-
export { name$
|
|
246
|
+
export { name$12 as name, rules$12 as rules };
|
|
247
247
|
}
|
|
248
|
-
declare const name$
|
|
249
|
-
declare const rules$
|
|
248
|
+
declare const name$12 = "@eslint-react/disable-debug";
|
|
249
|
+
declare const rules$12: Record<string, RuleConfig>;
|
|
250
250
|
declare namespace disable_dom_d_exports {
|
|
251
|
-
export { name$
|
|
251
|
+
export { name$11 as name, rules$11 as rules };
|
|
252
252
|
}
|
|
253
|
-
declare const name$
|
|
254
|
-
declare const rules$
|
|
253
|
+
declare const name$11 = "@eslint-react/disable-dom";
|
|
254
|
+
declare const rules$11: Record<string, RuleConfig>;
|
|
255
255
|
declare namespace disable_type_checked_d_exports {
|
|
256
|
-
export { name$
|
|
256
|
+
export { name$10 as name, rules$10 as rules };
|
|
257
257
|
}
|
|
258
|
-
declare const name$
|
|
259
|
-
declare const rules$
|
|
258
|
+
declare const name$10 = "@eslint-react/disable-type-checked";
|
|
259
|
+
declare const rules$10: Record<string, RuleConfig>;
|
|
260
260
|
declare namespace disable_web_api_d_exports {
|
|
261
|
-
export { name$
|
|
261
|
+
export { name$9 as name, rules$9 as rules };
|
|
262
262
|
}
|
|
263
|
-
declare const name$
|
|
264
|
-
declare const rules$
|
|
263
|
+
declare const name$9 = "@eslint-react/disable-web-api";
|
|
264
|
+
declare const rules$9: Record<string, RuleConfig>;
|
|
265
265
|
declare namespace dom_d_exports {
|
|
266
|
-
export { name$
|
|
266
|
+
export { name$8 as name, plugins$7 as plugins, rules$8 as rules };
|
|
267
267
|
}
|
|
268
|
-
declare const name$
|
|
269
|
-
declare const rules$
|
|
268
|
+
declare const name$8 = "@eslint-react/dom";
|
|
269
|
+
declare const rules$8: {
|
|
270
270
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
271
271
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
272
272
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
273
273
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
274
274
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
275
|
-
readonly "@eslint-react/dom/no-missing-button-type": "
|
|
276
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "
|
|
275
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
276
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
277
277
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
278
278
|
readonly "@eslint-react/dom/no-render": "error";
|
|
279
279
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
280
280
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
281
281
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
282
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "
|
|
282
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
283
283
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
284
284
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
285
285
|
};
|
|
286
|
-
declare const plugins$
|
|
286
|
+
declare const plugins$7: {
|
|
287
287
|
"@eslint-react/dom": {
|
|
288
288
|
configs: {
|
|
289
289
|
recommended: {
|
|
290
290
|
plugins: {};
|
|
291
291
|
name?: string;
|
|
292
292
|
rules?: Record<string, RuleConfig>;
|
|
293
|
-
settings?:
|
|
293
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
294
294
|
};
|
|
295
295
|
};
|
|
296
296
|
meta: {
|
|
297
297
|
name: string;
|
|
298
298
|
version: string;
|
|
299
299
|
};
|
|
300
|
-
rules: Record<string,
|
|
300
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
301
301
|
};
|
|
302
302
|
};
|
|
303
303
|
declare namespace no_deprecated_d_exports {
|
|
304
|
-
export { name$
|
|
304
|
+
export { name$7 as name, plugins$6 as plugins, rules$7 as rules };
|
|
305
305
|
}
|
|
306
|
-
declare const name$
|
|
307
|
-
declare const rules$
|
|
306
|
+
declare const name$7 = "@eslint-react/no-deprecated";
|
|
307
|
+
declare const rules$7: {
|
|
308
308
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
309
309
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
310
310
|
readonly "@eslint-react/no-component-will-update": "error";
|
|
@@ -315,21 +315,21 @@ declare const rules$5: {
|
|
|
315
315
|
readonly "@eslint-react/dom/no-render": "error";
|
|
316
316
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
317
317
|
};
|
|
318
|
-
declare const plugins$
|
|
318
|
+
declare const plugins$6: {
|
|
319
319
|
"@eslint-react/dom": {
|
|
320
320
|
configs: {
|
|
321
321
|
recommended: {
|
|
322
322
|
plugins: {};
|
|
323
323
|
name?: string;
|
|
324
324
|
rules?: Record<string, RuleConfig>;
|
|
325
|
-
settings?:
|
|
325
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
326
326
|
};
|
|
327
327
|
};
|
|
328
328
|
meta: {
|
|
329
329
|
name: string;
|
|
330
330
|
version: string;
|
|
331
331
|
};
|
|
332
|
-
rules: Record<string,
|
|
332
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
333
333
|
};
|
|
334
334
|
"@eslint-react": {
|
|
335
335
|
configs: {
|
|
@@ -337,38 +337,38 @@ declare const plugins$4: {
|
|
|
337
337
|
plugins: {};
|
|
338
338
|
name?: string;
|
|
339
339
|
rules?: Record<string, RuleConfig>;
|
|
340
|
-
settings?:
|
|
340
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
341
341
|
};
|
|
342
342
|
"recommended-type-checked": {
|
|
343
343
|
plugins: {};
|
|
344
344
|
name?: string;
|
|
345
345
|
rules?: Record<string, RuleConfig>;
|
|
346
|
-
settings?:
|
|
346
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
347
347
|
};
|
|
348
348
|
"recommended-typescript": {
|
|
349
349
|
plugins: {};
|
|
350
350
|
name?: string;
|
|
351
351
|
rules?: Record<string, RuleConfig>;
|
|
352
|
-
settings?:
|
|
352
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
355
|
meta: {
|
|
356
356
|
name: string;
|
|
357
357
|
version: string;
|
|
358
358
|
};
|
|
359
|
-
rules: Record<string,
|
|
359
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
360
360
|
};
|
|
361
361
|
};
|
|
362
362
|
declare namespace off_d_exports {
|
|
363
|
-
export { name$
|
|
363
|
+
export { name$6 as name, rules$6 as rules };
|
|
364
364
|
}
|
|
365
|
-
declare const name$
|
|
366
|
-
declare const rules$
|
|
365
|
+
declare const name$6 = "@eslint-react/off";
|
|
366
|
+
declare const rules$6: Record<string, RuleConfig>;
|
|
367
367
|
declare namespace recommended_d_exports {
|
|
368
|
-
export { name$
|
|
368
|
+
export { name$5 as name, plugins$5 as plugins, rules$5 as rules, settings$5 as settings };
|
|
369
369
|
}
|
|
370
|
-
declare const name$
|
|
371
|
-
declare const rules$
|
|
370
|
+
declare const name$5 = "@eslint-react/recommended";
|
|
371
|
+
declare const rules$5: {
|
|
372
372
|
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
373
373
|
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
374
374
|
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
@@ -381,22 +381,18 @@ declare const rules$3: {
|
|
|
381
381
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
382
382
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
383
383
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
384
|
-
readonly "@eslint-react/dom/no-missing-button-type": "
|
|
385
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "
|
|
384
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
385
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
386
386
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
387
387
|
readonly "@eslint-react/dom/no-render": "error";
|
|
388
388
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
389
389
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
390
390
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
391
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "
|
|
391
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
392
392
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
393
393
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
394
394
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
395
395
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
396
|
-
readonly "@eslint-react/jsx-no-iife": "off";
|
|
397
|
-
readonly "@eslint-react/jsx-no-undef": "off";
|
|
398
|
-
readonly "@eslint-react/jsx-shorthand-boolean": "off";
|
|
399
|
-
readonly "@eslint-react/jsx-shorthand-fragment": "off";
|
|
400
396
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
401
397
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
402
398
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
@@ -405,9 +401,7 @@ declare const rules$3: {
|
|
|
405
401
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
406
402
|
readonly "@eslint-react/no-children-map": "warn";
|
|
407
403
|
readonly "@eslint-react/no-children-only": "warn";
|
|
408
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
409
404
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
410
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
411
405
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
412
406
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
413
407
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -417,14 +411,9 @@ declare const rules$3: {
|
|
|
417
411
|
readonly "@eslint-react/no-default-props": "error";
|
|
418
412
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
419
413
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
420
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
421
414
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
422
415
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
423
|
-
readonly "@eslint-react/no-leaked-conditional-rendering": "off";
|
|
424
|
-
readonly "@eslint-react/no-missing-component-display-name": "off";
|
|
425
|
-
readonly "@eslint-react/no-missing-context-display-name": "off";
|
|
426
416
|
readonly "@eslint-react/no-missing-key": "error";
|
|
427
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
428
417
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
429
418
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
430
419
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -433,24 +422,375 @@ declare const rules$3: {
|
|
|
433
422
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
434
423
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
435
424
|
readonly "@eslint-react/no-string-refs": "error";
|
|
436
|
-
readonly "@eslint-react/no-unnecessary-key": "off";
|
|
437
|
-
readonly "@eslint-react/no-unnecessary-use-callback": "off";
|
|
438
|
-
readonly "@eslint-react/no-unnecessary-use-memo": "off";
|
|
439
425
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
440
426
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
441
427
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
442
428
|
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
443
|
-
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
444
|
-
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
445
429
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
446
|
-
readonly "@eslint-react/no-unused-props": "off";
|
|
447
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
448
430
|
readonly "@eslint-react/no-use-context": "warn";
|
|
449
431
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
450
|
-
readonly "@eslint-react/
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
432
|
+
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
433
|
+
};
|
|
434
|
+
declare const plugins$5: {
|
|
435
|
+
"@eslint-react/debug": {
|
|
436
|
+
configs: {
|
|
437
|
+
all: {
|
|
438
|
+
plugins: {};
|
|
439
|
+
name?: string;
|
|
440
|
+
rules?: Record<string, RuleConfig>;
|
|
441
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
meta: {
|
|
445
|
+
name: string;
|
|
446
|
+
version: string;
|
|
447
|
+
};
|
|
448
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
449
|
+
};
|
|
450
|
+
"@eslint-react/hooks-extra": {
|
|
451
|
+
configs: {
|
|
452
|
+
recommended: {
|
|
453
|
+
plugins: {};
|
|
454
|
+
name?: string;
|
|
455
|
+
rules?: Record<string, RuleConfig>;
|
|
456
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
meta: {
|
|
460
|
+
name: string;
|
|
461
|
+
version: string;
|
|
462
|
+
};
|
|
463
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
464
|
+
};
|
|
465
|
+
"@eslint-react/naming-convention": {
|
|
466
|
+
configs: {
|
|
467
|
+
recommended: {
|
|
468
|
+
plugins: {};
|
|
469
|
+
name?: string;
|
|
470
|
+
rules?: Record<string, RuleConfig>;
|
|
471
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
meta: {
|
|
475
|
+
name: string;
|
|
476
|
+
version: string;
|
|
477
|
+
};
|
|
478
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
479
|
+
};
|
|
480
|
+
"@eslint-react/web-api": {
|
|
481
|
+
configs: {
|
|
482
|
+
recommended: {
|
|
483
|
+
plugins: {};
|
|
484
|
+
name?: string;
|
|
485
|
+
rules?: Record<string, RuleConfig>;
|
|
486
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
meta: {
|
|
490
|
+
name: string;
|
|
491
|
+
version: string;
|
|
492
|
+
};
|
|
493
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
494
|
+
};
|
|
495
|
+
"@eslint-react/dom": {
|
|
496
|
+
configs: {
|
|
497
|
+
recommended: {
|
|
498
|
+
plugins: {};
|
|
499
|
+
name?: string;
|
|
500
|
+
rules?: Record<string, RuleConfig>;
|
|
501
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
meta: {
|
|
505
|
+
name: string;
|
|
506
|
+
version: string;
|
|
507
|
+
};
|
|
508
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
509
|
+
};
|
|
510
|
+
"@eslint-react": {
|
|
511
|
+
configs: {
|
|
512
|
+
recommended: {
|
|
513
|
+
plugins: {};
|
|
514
|
+
name?: string;
|
|
515
|
+
rules?: Record<string, RuleConfig>;
|
|
516
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
517
|
+
};
|
|
518
|
+
"recommended-type-checked": {
|
|
519
|
+
plugins: {};
|
|
520
|
+
name?: string;
|
|
521
|
+
rules?: Record<string, RuleConfig>;
|
|
522
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
523
|
+
};
|
|
524
|
+
"recommended-typescript": {
|
|
525
|
+
plugins: {};
|
|
526
|
+
name?: string;
|
|
527
|
+
rules?: Record<string, RuleConfig>;
|
|
528
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
meta: {
|
|
532
|
+
name: string;
|
|
533
|
+
version: string;
|
|
534
|
+
};
|
|
535
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
declare const settings$5: {
|
|
539
|
+
"react-x": {
|
|
540
|
+
readonly version: "detect";
|
|
541
|
+
readonly importSource: "react";
|
|
542
|
+
readonly polymorphicPropName: "as";
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
declare namespace recommended_type_checked_d_exports {
|
|
546
|
+
export { name$4 as name, plugins$4 as plugins, rules$4 as rules, settings$4 as settings };
|
|
547
|
+
}
|
|
548
|
+
declare const name$4 = "@eslint-react/recommended-type-checked";
|
|
549
|
+
declare const rules$4: {
|
|
550
|
+
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
551
|
+
readonly "@eslint-react/no-unused-props": "warn";
|
|
552
|
+
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
553
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
554
|
+
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
555
|
+
readonly "@eslint-react/jsx-uses-react": "off";
|
|
556
|
+
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
557
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
558
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
559
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
560
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
561
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
562
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
563
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
564
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
565
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
566
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
567
|
+
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
568
|
+
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
569
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
570
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
571
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
572
|
+
readonly "@eslint-react/dom/no-render": "error";
|
|
573
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
574
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
575
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
576
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
577
|
+
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
578
|
+
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
579
|
+
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
580
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
581
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
582
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
583
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
584
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
585
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
586
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
587
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
588
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
589
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
590
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
591
|
+
readonly "@eslint-react/no-context-provider": "warn";
|
|
592
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
593
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
594
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
595
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
596
|
+
readonly "@eslint-react/no-forward-ref": "warn";
|
|
597
|
+
readonly "@eslint-react/no-implicit-key": "warn";
|
|
598
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
599
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
600
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
601
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
602
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
603
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
604
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
605
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
606
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
607
|
+
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
608
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
609
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
610
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
611
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
612
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
613
|
+
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
614
|
+
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
615
|
+
};
|
|
616
|
+
declare const plugins$4: {
|
|
617
|
+
"@eslint-react/debug": {
|
|
618
|
+
configs: {
|
|
619
|
+
all: {
|
|
620
|
+
plugins: {};
|
|
621
|
+
name?: string;
|
|
622
|
+
rules?: Record<string, RuleConfig>;
|
|
623
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
meta: {
|
|
627
|
+
name: string;
|
|
628
|
+
version: string;
|
|
629
|
+
};
|
|
630
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
631
|
+
};
|
|
632
|
+
"@eslint-react/hooks-extra": {
|
|
633
|
+
configs: {
|
|
634
|
+
recommended: {
|
|
635
|
+
plugins: {};
|
|
636
|
+
name?: string;
|
|
637
|
+
rules?: Record<string, RuleConfig>;
|
|
638
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
meta: {
|
|
642
|
+
name: string;
|
|
643
|
+
version: string;
|
|
644
|
+
};
|
|
645
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
646
|
+
};
|
|
647
|
+
"@eslint-react/naming-convention": {
|
|
648
|
+
configs: {
|
|
649
|
+
recommended: {
|
|
650
|
+
plugins: {};
|
|
651
|
+
name?: string;
|
|
652
|
+
rules?: Record<string, RuleConfig>;
|
|
653
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
meta: {
|
|
657
|
+
name: string;
|
|
658
|
+
version: string;
|
|
659
|
+
};
|
|
660
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
661
|
+
};
|
|
662
|
+
"@eslint-react/web-api": {
|
|
663
|
+
configs: {
|
|
664
|
+
recommended: {
|
|
665
|
+
plugins: {};
|
|
666
|
+
name?: string;
|
|
667
|
+
rules?: Record<string, RuleConfig>;
|
|
668
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
meta: {
|
|
672
|
+
name: string;
|
|
673
|
+
version: string;
|
|
674
|
+
};
|
|
675
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
676
|
+
};
|
|
677
|
+
"@eslint-react/dom": {
|
|
678
|
+
configs: {
|
|
679
|
+
recommended: {
|
|
680
|
+
plugins: {};
|
|
681
|
+
name?: string;
|
|
682
|
+
rules?: Record<string, RuleConfig>;
|
|
683
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
meta: {
|
|
687
|
+
name: string;
|
|
688
|
+
version: string;
|
|
689
|
+
};
|
|
690
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
691
|
+
};
|
|
692
|
+
"@eslint-react": {
|
|
693
|
+
configs: {
|
|
694
|
+
recommended: {
|
|
695
|
+
plugins: {};
|
|
696
|
+
name?: string;
|
|
697
|
+
rules?: Record<string, RuleConfig>;
|
|
698
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
699
|
+
};
|
|
700
|
+
"recommended-type-checked": {
|
|
701
|
+
plugins: {};
|
|
702
|
+
name?: string;
|
|
703
|
+
rules?: Record<string, RuleConfig>;
|
|
704
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
705
|
+
};
|
|
706
|
+
"recommended-typescript": {
|
|
707
|
+
plugins: {};
|
|
708
|
+
name?: string;
|
|
709
|
+
rules?: Record<string, RuleConfig>;
|
|
710
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
meta: {
|
|
714
|
+
name: string;
|
|
715
|
+
version: string;
|
|
716
|
+
};
|
|
717
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
declare const settings$4: {
|
|
721
|
+
"react-x": {
|
|
722
|
+
readonly version: "detect";
|
|
723
|
+
readonly importSource: "react";
|
|
724
|
+
readonly polymorphicPropName: "as";
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
declare namespace recommended_typescript_d_exports {
|
|
728
|
+
export { name$3 as name, plugins$3 as plugins, rules$3 as rules, settings$3 as settings };
|
|
729
|
+
}
|
|
730
|
+
declare const name$3 = "@eslint-react/recommended-typescript";
|
|
731
|
+
declare const rules$3: {
|
|
732
|
+
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
733
|
+
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
734
|
+
readonly "@eslint-react/jsx-no-duplicate-props": "off";
|
|
735
|
+
readonly "@eslint-react/jsx-uses-react": "off";
|
|
736
|
+
readonly "@eslint-react/jsx-uses-vars": "off";
|
|
737
|
+
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
738
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
739
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
740
|
+
readonly "@eslint-react/web-api/no-leaked-event-listener": "warn";
|
|
741
|
+
readonly "@eslint-react/web-api/no-leaked-interval": "warn";
|
|
742
|
+
readonly "@eslint-react/web-api/no-leaked-resize-observer": "warn";
|
|
743
|
+
readonly "@eslint-react/web-api/no-leaked-timeout": "warn";
|
|
744
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
745
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
746
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
747
|
+
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
748
|
+
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
749
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
750
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
751
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
752
|
+
readonly "@eslint-react/dom/no-render": "error";
|
|
753
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
754
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
755
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
756
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
757
|
+
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
758
|
+
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
759
|
+
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
760
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
761
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
762
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
763
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
764
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
765
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
766
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
767
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
768
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
769
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
770
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
771
|
+
readonly "@eslint-react/no-context-provider": "warn";
|
|
772
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
773
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
774
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
775
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
776
|
+
readonly "@eslint-react/no-forward-ref": "warn";
|
|
777
|
+
readonly "@eslint-react/no-implicit-key": "warn";
|
|
778
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
779
|
+
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
780
|
+
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
781
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
782
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
783
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
784
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
785
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
786
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
787
|
+
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
788
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
789
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
790
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
791
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
792
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
793
|
+
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
454
794
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
455
795
|
};
|
|
456
796
|
declare const plugins$3: {
|
|
@@ -460,14 +800,14 @@ declare const plugins$3: {
|
|
|
460
800
|
plugins: {};
|
|
461
801
|
name?: string;
|
|
462
802
|
rules?: Record<string, RuleConfig>;
|
|
463
|
-
settings?:
|
|
803
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
464
804
|
};
|
|
465
805
|
};
|
|
466
806
|
meta: {
|
|
467
807
|
name: string;
|
|
468
808
|
version: string;
|
|
469
809
|
};
|
|
470
|
-
rules: Record<string,
|
|
810
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
471
811
|
};
|
|
472
812
|
"@eslint-react/hooks-extra": {
|
|
473
813
|
configs: {
|
|
@@ -475,14 +815,14 @@ declare const plugins$3: {
|
|
|
475
815
|
plugins: {};
|
|
476
816
|
name?: string;
|
|
477
817
|
rules?: Record<string, RuleConfig>;
|
|
478
|
-
settings?:
|
|
818
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
479
819
|
};
|
|
480
820
|
};
|
|
481
821
|
meta: {
|
|
482
822
|
name: string;
|
|
483
823
|
version: string;
|
|
484
824
|
};
|
|
485
|
-
rules: Record<string,
|
|
825
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
486
826
|
};
|
|
487
827
|
"@eslint-react/naming-convention": {
|
|
488
828
|
configs: {
|
|
@@ -490,14 +830,14 @@ declare const plugins$3: {
|
|
|
490
830
|
plugins: {};
|
|
491
831
|
name?: string;
|
|
492
832
|
rules?: Record<string, RuleConfig>;
|
|
493
|
-
settings?:
|
|
833
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
494
834
|
};
|
|
495
835
|
};
|
|
496
836
|
meta: {
|
|
497
837
|
name: string;
|
|
498
838
|
version: string;
|
|
499
839
|
};
|
|
500
|
-
rules: Record<string,
|
|
840
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
501
841
|
};
|
|
502
842
|
"@eslint-react/web-api": {
|
|
503
843
|
configs: {
|
|
@@ -505,14 +845,14 @@ declare const plugins$3: {
|
|
|
505
845
|
plugins: {};
|
|
506
846
|
name?: string;
|
|
507
847
|
rules?: Record<string, RuleConfig>;
|
|
508
|
-
settings?:
|
|
848
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
509
849
|
};
|
|
510
850
|
};
|
|
511
851
|
meta: {
|
|
512
852
|
name: string;
|
|
513
853
|
version: string;
|
|
514
854
|
};
|
|
515
|
-
rules: Record<string,
|
|
855
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
516
856
|
};
|
|
517
857
|
"@eslint-react/dom": {
|
|
518
858
|
configs: {
|
|
@@ -520,14 +860,14 @@ declare const plugins$3: {
|
|
|
520
860
|
plugins: {};
|
|
521
861
|
name?: string;
|
|
522
862
|
rules?: Record<string, RuleConfig>;
|
|
523
|
-
settings?:
|
|
863
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
524
864
|
};
|
|
525
865
|
};
|
|
526
866
|
meta: {
|
|
527
867
|
name: string;
|
|
528
868
|
version: string;
|
|
529
869
|
};
|
|
530
|
-
rules: Record<string,
|
|
870
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
531
871
|
};
|
|
532
872
|
"@eslint-react": {
|
|
533
873
|
configs: {
|
|
@@ -535,26 +875,26 @@ declare const plugins$3: {
|
|
|
535
875
|
plugins: {};
|
|
536
876
|
name?: string;
|
|
537
877
|
rules?: Record<string, RuleConfig>;
|
|
538
|
-
settings?:
|
|
878
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
539
879
|
};
|
|
540
880
|
"recommended-type-checked": {
|
|
541
881
|
plugins: {};
|
|
542
882
|
name?: string;
|
|
543
883
|
rules?: Record<string, RuleConfig>;
|
|
544
|
-
settings?:
|
|
884
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
545
885
|
};
|
|
546
886
|
"recommended-typescript": {
|
|
547
887
|
plugins: {};
|
|
548
888
|
name?: string;
|
|
549
889
|
rules?: Record<string, RuleConfig>;
|
|
550
|
-
settings?:
|
|
890
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
551
891
|
};
|
|
552
892
|
};
|
|
553
893
|
meta: {
|
|
554
894
|
name: string;
|
|
555
895
|
version: string;
|
|
556
896
|
};
|
|
557
|
-
rules: Record<string,
|
|
897
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
558
898
|
};
|
|
559
899
|
};
|
|
560
900
|
declare const settings$3: {
|
|
@@ -564,10 +904,10 @@ declare const settings$3: {
|
|
|
564
904
|
readonly polymorphicPropName: "as";
|
|
565
905
|
};
|
|
566
906
|
};
|
|
567
|
-
declare namespace
|
|
907
|
+
declare namespace strict_type_checked_d_exports {
|
|
568
908
|
export { name$2 as name, plugins$2 as plugins, rules$2 as rules, settings$2 as settings };
|
|
569
909
|
}
|
|
570
|
-
declare const name$2 = "@eslint-react/
|
|
910
|
+
declare const name$2 = "@eslint-react/strict-type-checked";
|
|
571
911
|
declare const rules$2: {
|
|
572
912
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
573
913
|
readonly "@eslint-react/no-unused-props": "warn";
|
|
@@ -588,30 +928,24 @@ declare const rules$2: {
|
|
|
588
928
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
589
929
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
590
930
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
591
|
-
readonly "@eslint-react/dom/no-missing-button-type": "
|
|
592
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "
|
|
931
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
932
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
593
933
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
594
934
|
readonly "@eslint-react/dom/no-render": "error";
|
|
595
935
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
596
936
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
597
937
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
598
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "
|
|
938
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
599
939
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
600
940
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
601
941
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
602
|
-
readonly "@eslint-react/jsx-no-iife": "off";
|
|
603
|
-
readonly "@eslint-react/jsx-no-undef": "off";
|
|
604
|
-
readonly "@eslint-react/jsx-shorthand-boolean": "off";
|
|
605
|
-
readonly "@eslint-react/jsx-shorthand-fragment": "off";
|
|
606
942
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
607
943
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
608
944
|
readonly "@eslint-react/no-children-count": "warn";
|
|
609
945
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
610
946
|
readonly "@eslint-react/no-children-map": "warn";
|
|
611
947
|
readonly "@eslint-react/no-children-only": "warn";
|
|
612
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
613
948
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
614
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
615
949
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
616
950
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
617
951
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -621,13 +955,9 @@ declare const rules$2: {
|
|
|
621
955
|
readonly "@eslint-react/no-default-props": "error";
|
|
622
956
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
623
957
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
624
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
625
958
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
626
959
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
627
|
-
readonly "@eslint-react/no-missing-component-display-name": "off";
|
|
628
|
-
readonly "@eslint-react/no-missing-context-display-name": "off";
|
|
629
960
|
readonly "@eslint-react/no-missing-key": "error";
|
|
630
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
631
961
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
632
962
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
633
963
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -636,24 +966,27 @@ declare const rules$2: {
|
|
|
636
966
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
637
967
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
638
968
|
readonly "@eslint-react/no-string-refs": "error";
|
|
639
|
-
readonly "@eslint-react/no-unnecessary-key": "off";
|
|
640
|
-
readonly "@eslint-react/no-unnecessary-use-callback": "off";
|
|
641
|
-
readonly "@eslint-react/no-unnecessary-use-memo": "off";
|
|
642
969
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
643
970
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
644
971
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
645
972
|
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
646
|
-
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
647
|
-
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
648
973
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
649
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
650
974
|
readonly "@eslint-react/no-use-context": "warn";
|
|
651
975
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
652
|
-
readonly "@eslint-react/no-useless-fragment": "off";
|
|
653
|
-
readonly "@eslint-react/prefer-destructuring-assignment": "off";
|
|
654
|
-
readonly "@eslint-react/prefer-namespace-import": "off";
|
|
655
|
-
readonly "@eslint-react/prefer-read-only-props": "off";
|
|
656
976
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
977
|
+
readonly "@eslint-react/jsx-no-iife": "error";
|
|
978
|
+
readonly "@eslint-react/jsx-no-undef": "error";
|
|
979
|
+
readonly "@eslint-react/no-children-prop": "warn";
|
|
980
|
+
readonly "@eslint-react/no-class-component": "error";
|
|
981
|
+
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
982
|
+
readonly "@eslint-react/no-unnecessary-key": "warn";
|
|
983
|
+
readonly "@eslint-react/no-unnecessary-use-callback": "warn";
|
|
984
|
+
readonly "@eslint-react/no-unnecessary-use-memo": "warn";
|
|
985
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
986
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
987
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
988
|
+
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
989
|
+
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
657
990
|
};
|
|
658
991
|
declare const plugins$2: {
|
|
659
992
|
"@eslint-react/debug": {
|
|
@@ -662,14 +995,14 @@ declare const plugins$2: {
|
|
|
662
995
|
plugins: {};
|
|
663
996
|
name?: string;
|
|
664
997
|
rules?: Record<string, RuleConfig>;
|
|
665
|
-
settings?:
|
|
998
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
666
999
|
};
|
|
667
1000
|
};
|
|
668
1001
|
meta: {
|
|
669
1002
|
name: string;
|
|
670
1003
|
version: string;
|
|
671
1004
|
};
|
|
672
|
-
rules: Record<string,
|
|
1005
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
673
1006
|
};
|
|
674
1007
|
"@eslint-react/hooks-extra": {
|
|
675
1008
|
configs: {
|
|
@@ -677,14 +1010,14 @@ declare const plugins$2: {
|
|
|
677
1010
|
plugins: {};
|
|
678
1011
|
name?: string;
|
|
679
1012
|
rules?: Record<string, RuleConfig>;
|
|
680
|
-
settings?:
|
|
1013
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
681
1014
|
};
|
|
682
1015
|
};
|
|
683
1016
|
meta: {
|
|
684
1017
|
name: string;
|
|
685
1018
|
version: string;
|
|
686
1019
|
};
|
|
687
|
-
rules: Record<string,
|
|
1020
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
688
1021
|
};
|
|
689
1022
|
"@eslint-react/naming-convention": {
|
|
690
1023
|
configs: {
|
|
@@ -692,14 +1025,14 @@ declare const plugins$2: {
|
|
|
692
1025
|
plugins: {};
|
|
693
1026
|
name?: string;
|
|
694
1027
|
rules?: Record<string, RuleConfig>;
|
|
695
|
-
settings?:
|
|
1028
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
696
1029
|
};
|
|
697
1030
|
};
|
|
698
1031
|
meta: {
|
|
699
1032
|
name: string;
|
|
700
1033
|
version: string;
|
|
701
1034
|
};
|
|
702
|
-
rules: Record<string,
|
|
1035
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
703
1036
|
};
|
|
704
1037
|
"@eslint-react/web-api": {
|
|
705
1038
|
configs: {
|
|
@@ -707,14 +1040,14 @@ declare const plugins$2: {
|
|
|
707
1040
|
plugins: {};
|
|
708
1041
|
name?: string;
|
|
709
1042
|
rules?: Record<string, RuleConfig>;
|
|
710
|
-
settings?:
|
|
1043
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
711
1044
|
};
|
|
712
1045
|
};
|
|
713
1046
|
meta: {
|
|
714
1047
|
name: string;
|
|
715
1048
|
version: string;
|
|
716
1049
|
};
|
|
717
|
-
rules: Record<string,
|
|
1050
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
718
1051
|
};
|
|
719
1052
|
"@eslint-react/dom": {
|
|
720
1053
|
configs: {
|
|
@@ -722,14 +1055,14 @@ declare const plugins$2: {
|
|
|
722
1055
|
plugins: {};
|
|
723
1056
|
name?: string;
|
|
724
1057
|
rules?: Record<string, RuleConfig>;
|
|
725
|
-
settings?:
|
|
1058
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
726
1059
|
};
|
|
727
1060
|
};
|
|
728
1061
|
meta: {
|
|
729
1062
|
name: string;
|
|
730
1063
|
version: string;
|
|
731
1064
|
};
|
|
732
|
-
rules: Record<string,
|
|
1065
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
733
1066
|
};
|
|
734
1067
|
"@eslint-react": {
|
|
735
1068
|
configs: {
|
|
@@ -737,26 +1070,26 @@ declare const plugins$2: {
|
|
|
737
1070
|
plugins: {};
|
|
738
1071
|
name?: string;
|
|
739
1072
|
rules?: Record<string, RuleConfig>;
|
|
740
|
-
settings?:
|
|
1073
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
741
1074
|
};
|
|
742
1075
|
"recommended-type-checked": {
|
|
743
1076
|
plugins: {};
|
|
744
1077
|
name?: string;
|
|
745
1078
|
rules?: Record<string, RuleConfig>;
|
|
746
|
-
settings?:
|
|
1079
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
747
1080
|
};
|
|
748
1081
|
"recommended-typescript": {
|
|
749
1082
|
plugins: {};
|
|
750
1083
|
name?: string;
|
|
751
1084
|
rules?: Record<string, RuleConfig>;
|
|
752
|
-
settings?:
|
|
1085
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
753
1086
|
};
|
|
754
1087
|
};
|
|
755
1088
|
meta: {
|
|
756
1089
|
name: string;
|
|
757
1090
|
version: string;
|
|
758
1091
|
};
|
|
759
|
-
rules: Record<string,
|
|
1092
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
760
1093
|
};
|
|
761
1094
|
};
|
|
762
1095
|
declare const settings$2: {
|
|
@@ -766,10 +1099,10 @@ declare const settings$2: {
|
|
|
766
1099
|
readonly polymorphicPropName: "as";
|
|
767
1100
|
};
|
|
768
1101
|
};
|
|
769
|
-
declare namespace
|
|
1102
|
+
declare namespace strict_typescript_d_exports {
|
|
770
1103
|
export { name$1 as name, plugins$1 as plugins, rules$1 as rules, settings$1 as settings };
|
|
771
1104
|
}
|
|
772
|
-
declare const name$1 = "@eslint-react/
|
|
1105
|
+
declare const name$1 = "@eslint-react/strict-typescript";
|
|
773
1106
|
declare const rules$1: {
|
|
774
1107
|
readonly "@eslint-react/dom/no-string-style-prop": "off";
|
|
775
1108
|
readonly "@eslint-react/dom/no-unknown-property": "off";
|
|
@@ -788,30 +1121,24 @@ declare const rules$1: {
|
|
|
788
1121
|
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
789
1122
|
readonly "@eslint-react/dom/no-flush-sync": "error";
|
|
790
1123
|
readonly "@eslint-react/dom/no-hydrate": "error";
|
|
791
|
-
readonly "@eslint-react/dom/no-missing-button-type": "
|
|
792
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "
|
|
1124
|
+
readonly "@eslint-react/dom/no-missing-button-type": "off";
|
|
1125
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "off";
|
|
793
1126
|
readonly "@eslint-react/dom/no-namespace": "error";
|
|
794
1127
|
readonly "@eslint-react/dom/no-render": "error";
|
|
795
1128
|
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
796
1129
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
797
1130
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
798
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "
|
|
1131
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "off";
|
|
799
1132
|
readonly "@eslint-react/dom/no-use-form-state": "error";
|
|
800
1133
|
readonly "@eslint-react/dom/no-void-elements-with-children": "error";
|
|
801
1134
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
802
|
-
readonly "@eslint-react/jsx-no-iife": "off";
|
|
803
|
-
readonly "@eslint-react/jsx-no-undef": "off";
|
|
804
|
-
readonly "@eslint-react/jsx-shorthand-boolean": "off";
|
|
805
|
-
readonly "@eslint-react/jsx-shorthand-fragment": "off";
|
|
806
1135
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
807
1136
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
808
1137
|
readonly "@eslint-react/no-children-count": "warn";
|
|
809
1138
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
810
1139
|
readonly "@eslint-react/no-children-map": "warn";
|
|
811
1140
|
readonly "@eslint-react/no-children-only": "warn";
|
|
812
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
813
1141
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
814
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
815
1142
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
816
1143
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
817
1144
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -821,14 +1148,9 @@ declare const rules$1: {
|
|
|
821
1148
|
readonly "@eslint-react/no-default-props": "error";
|
|
822
1149
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
823
1150
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
824
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
825
1151
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
826
1152
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
827
|
-
readonly "@eslint-react/no-leaked-conditional-rendering": "off";
|
|
828
|
-
readonly "@eslint-react/no-missing-component-display-name": "off";
|
|
829
|
-
readonly "@eslint-react/no-missing-context-display-name": "off";
|
|
830
1153
|
readonly "@eslint-react/no-missing-key": "error";
|
|
831
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
832
1154
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
833
1155
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
834
1156
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -837,25 +1159,28 @@ declare const rules$1: {
|
|
|
837
1159
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
838
1160
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
839
1161
|
readonly "@eslint-react/no-string-refs": "error";
|
|
840
|
-
readonly "@eslint-react/no-unnecessary-key": "off";
|
|
841
|
-
readonly "@eslint-react/no-unnecessary-use-callback": "off";
|
|
842
|
-
readonly "@eslint-react/no-unnecessary-use-memo": "off";
|
|
843
1162
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
844
1163
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
845
1164
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
846
1165
|
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
847
|
-
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
848
|
-
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
849
1166
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
850
|
-
readonly "@eslint-react/no-unused-props": "off";
|
|
851
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
852
1167
|
readonly "@eslint-react/no-use-context": "warn";
|
|
853
1168
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
854
|
-
readonly "@eslint-react/no-useless-fragment": "off";
|
|
855
|
-
readonly "@eslint-react/prefer-destructuring-assignment": "off";
|
|
856
|
-
readonly "@eslint-react/prefer-namespace-import": "off";
|
|
857
|
-
readonly "@eslint-react/prefer-read-only-props": "off";
|
|
858
1169
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
1170
|
+
readonly "@eslint-react/jsx-no-iife": "error";
|
|
1171
|
+
readonly "@eslint-react/jsx-no-undef": "error";
|
|
1172
|
+
readonly "@eslint-react/no-children-prop": "warn";
|
|
1173
|
+
readonly "@eslint-react/no-class-component": "error";
|
|
1174
|
+
readonly "@eslint-react/no-misused-capture-owner-stack": "error";
|
|
1175
|
+
readonly "@eslint-react/no-unnecessary-key": "warn";
|
|
1176
|
+
readonly "@eslint-react/no-unnecessary-use-callback": "warn";
|
|
1177
|
+
readonly "@eslint-react/no-unnecessary-use-memo": "warn";
|
|
1178
|
+
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
1179
|
+
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1180
|
+
readonly "@eslint-react/no-unused-props": "warn";
|
|
1181
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
1182
|
+
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
1183
|
+
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
859
1184
|
};
|
|
860
1185
|
declare const plugins$1: {
|
|
861
1186
|
"@eslint-react/debug": {
|
|
@@ -864,14 +1189,14 @@ declare const plugins$1: {
|
|
|
864
1189
|
plugins: {};
|
|
865
1190
|
name?: string;
|
|
866
1191
|
rules?: Record<string, RuleConfig>;
|
|
867
|
-
settings?:
|
|
1192
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
868
1193
|
};
|
|
869
1194
|
};
|
|
870
1195
|
meta: {
|
|
871
1196
|
name: string;
|
|
872
1197
|
version: string;
|
|
873
1198
|
};
|
|
874
|
-
rules: Record<string,
|
|
1199
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
875
1200
|
};
|
|
876
1201
|
"@eslint-react/hooks-extra": {
|
|
877
1202
|
configs: {
|
|
@@ -879,14 +1204,14 @@ declare const plugins$1: {
|
|
|
879
1204
|
plugins: {};
|
|
880
1205
|
name?: string;
|
|
881
1206
|
rules?: Record<string, RuleConfig>;
|
|
882
|
-
settings?:
|
|
1207
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
883
1208
|
};
|
|
884
1209
|
};
|
|
885
1210
|
meta: {
|
|
886
1211
|
name: string;
|
|
887
1212
|
version: string;
|
|
888
1213
|
};
|
|
889
|
-
rules: Record<string,
|
|
1214
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
890
1215
|
};
|
|
891
1216
|
"@eslint-react/naming-convention": {
|
|
892
1217
|
configs: {
|
|
@@ -894,14 +1219,14 @@ declare const plugins$1: {
|
|
|
894
1219
|
plugins: {};
|
|
895
1220
|
name?: string;
|
|
896
1221
|
rules?: Record<string, RuleConfig>;
|
|
897
|
-
settings?:
|
|
1222
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
898
1223
|
};
|
|
899
1224
|
};
|
|
900
1225
|
meta: {
|
|
901
1226
|
name: string;
|
|
902
1227
|
version: string;
|
|
903
1228
|
};
|
|
904
|
-
rules: Record<string,
|
|
1229
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
905
1230
|
};
|
|
906
1231
|
"@eslint-react/web-api": {
|
|
907
1232
|
configs: {
|
|
@@ -909,14 +1234,14 @@ declare const plugins$1: {
|
|
|
909
1234
|
plugins: {};
|
|
910
1235
|
name?: string;
|
|
911
1236
|
rules?: Record<string, RuleConfig>;
|
|
912
|
-
settings?:
|
|
1237
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
913
1238
|
};
|
|
914
1239
|
};
|
|
915
1240
|
meta: {
|
|
916
1241
|
name: string;
|
|
917
1242
|
version: string;
|
|
918
1243
|
};
|
|
919
|
-
rules: Record<string,
|
|
1244
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
920
1245
|
};
|
|
921
1246
|
"@eslint-react/dom": {
|
|
922
1247
|
configs: {
|
|
@@ -924,14 +1249,14 @@ declare const plugins$1: {
|
|
|
924
1249
|
plugins: {};
|
|
925
1250
|
name?: string;
|
|
926
1251
|
rules?: Record<string, RuleConfig>;
|
|
927
|
-
settings?:
|
|
1252
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
928
1253
|
};
|
|
929
1254
|
};
|
|
930
1255
|
meta: {
|
|
931
1256
|
name: string;
|
|
932
1257
|
version: string;
|
|
933
1258
|
};
|
|
934
|
-
rules: Record<string,
|
|
1259
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
935
1260
|
};
|
|
936
1261
|
"@eslint-react": {
|
|
937
1262
|
configs: {
|
|
@@ -939,26 +1264,26 @@ declare const plugins$1: {
|
|
|
939
1264
|
plugins: {};
|
|
940
1265
|
name?: string;
|
|
941
1266
|
rules?: Record<string, RuleConfig>;
|
|
942
|
-
settings?:
|
|
1267
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
943
1268
|
};
|
|
944
1269
|
"recommended-type-checked": {
|
|
945
1270
|
plugins: {};
|
|
946
1271
|
name?: string;
|
|
947
1272
|
rules?: Record<string, RuleConfig>;
|
|
948
|
-
settings?:
|
|
1273
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
949
1274
|
};
|
|
950
1275
|
"recommended-typescript": {
|
|
951
1276
|
plugins: {};
|
|
952
1277
|
name?: string;
|
|
953
1278
|
rules?: Record<string, RuleConfig>;
|
|
954
|
-
settings?:
|
|
1279
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
955
1280
|
};
|
|
956
1281
|
};
|
|
957
1282
|
meta: {
|
|
958
1283
|
name: string;
|
|
959
1284
|
version: string;
|
|
960
1285
|
};
|
|
961
|
-
rules: Record<string,
|
|
1286
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
962
1287
|
};
|
|
963
1288
|
};
|
|
964
1289
|
declare const settings$1: {
|
|
@@ -975,10 +1300,6 @@ declare const name = "@eslint-react/x";
|
|
|
975
1300
|
declare const rules: {
|
|
976
1301
|
readonly "@eslint-react/jsx-no-comment-textnodes": "warn";
|
|
977
1302
|
readonly "@eslint-react/jsx-no-duplicate-props": "warn";
|
|
978
|
-
readonly "@eslint-react/jsx-no-iife": "off";
|
|
979
|
-
readonly "@eslint-react/jsx-no-undef": "off";
|
|
980
|
-
readonly "@eslint-react/jsx-shorthand-boolean": "off";
|
|
981
|
-
readonly "@eslint-react/jsx-shorthand-fragment": "off";
|
|
982
1303
|
readonly "@eslint-react/jsx-uses-react": "warn";
|
|
983
1304
|
readonly "@eslint-react/jsx-uses-vars": "warn";
|
|
984
1305
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
@@ -987,9 +1308,7 @@ declare const rules: {
|
|
|
987
1308
|
readonly "@eslint-react/no-children-for-each": "warn";
|
|
988
1309
|
readonly "@eslint-react/no-children-map": "warn";
|
|
989
1310
|
readonly "@eslint-react/no-children-only": "warn";
|
|
990
|
-
readonly "@eslint-react/no-children-prop": "off";
|
|
991
1311
|
readonly "@eslint-react/no-children-to-array": "warn";
|
|
992
|
-
readonly "@eslint-react/no-class-component": "off";
|
|
993
1312
|
readonly "@eslint-react/no-clone-element": "warn";
|
|
994
1313
|
readonly "@eslint-react/no-component-will-mount": "error";
|
|
995
1314
|
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
@@ -999,14 +1318,9 @@ declare const rules: {
|
|
|
999
1318
|
readonly "@eslint-react/no-default-props": "error";
|
|
1000
1319
|
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
1001
1320
|
readonly "@eslint-react/no-duplicate-key": "error";
|
|
1002
|
-
readonly "@eslint-react/no-forbidden-props": "off";
|
|
1003
1321
|
readonly "@eslint-react/no-forward-ref": "warn";
|
|
1004
1322
|
readonly "@eslint-react/no-implicit-key": "warn";
|
|
1005
|
-
readonly "@eslint-react/no-leaked-conditional-rendering": "off";
|
|
1006
|
-
readonly "@eslint-react/no-missing-component-display-name": "off";
|
|
1007
|
-
readonly "@eslint-react/no-missing-context-display-name": "off";
|
|
1008
1323
|
readonly "@eslint-react/no-missing-key": "error";
|
|
1009
|
-
readonly "@eslint-react/no-misused-capture-owner-stack": "off";
|
|
1010
1324
|
readonly "@eslint-react/no-nested-component-definitions": "error";
|
|
1011
1325
|
readonly "@eslint-react/no-nested-lazy-component-declarations": "error";
|
|
1012
1326
|
readonly "@eslint-react/no-prop-types": "error";
|
|
@@ -1015,24 +1329,13 @@ declare const rules: {
|
|
|
1015
1329
|
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
1016
1330
|
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
1017
1331
|
readonly "@eslint-react/no-string-refs": "error";
|
|
1018
|
-
readonly "@eslint-react/no-unnecessary-key": "off";
|
|
1019
|
-
readonly "@eslint-react/no-unnecessary-use-callback": "off";
|
|
1020
|
-
readonly "@eslint-react/no-unnecessary-use-memo": "off";
|
|
1021
1332
|
readonly "@eslint-react/no-unnecessary-use-prefix": "warn";
|
|
1022
1333
|
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
1023
1334
|
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
1024
1335
|
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
1025
|
-
readonly "@eslint-react/no-unstable-context-value": "warn";
|
|
1026
|
-
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1027
1336
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1028
|
-
readonly "@eslint-react/no-unused-props": "off";
|
|
1029
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
1030
1337
|
readonly "@eslint-react/no-use-context": "warn";
|
|
1031
1338
|
readonly "@eslint-react/no-useless-forward-ref": "warn";
|
|
1032
|
-
readonly "@eslint-react/no-useless-fragment": "off";
|
|
1033
|
-
readonly "@eslint-react/prefer-destructuring-assignment": "off";
|
|
1034
|
-
readonly "@eslint-react/prefer-namespace-import": "off";
|
|
1035
|
-
readonly "@eslint-react/prefer-read-only-props": "off";
|
|
1036
1339
|
readonly "@eslint-react/prefer-use-state-lazy-initialization": "warn";
|
|
1037
1340
|
};
|
|
1038
1341
|
declare const plugins: {
|
|
@@ -1042,26 +1345,26 @@ declare const plugins: {
|
|
|
1042
1345
|
plugins: {};
|
|
1043
1346
|
name?: string;
|
|
1044
1347
|
rules?: Record<string, RuleConfig>;
|
|
1045
|
-
settings?:
|
|
1348
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1046
1349
|
};
|
|
1047
1350
|
"recommended-type-checked": {
|
|
1048
1351
|
plugins: {};
|
|
1049
1352
|
name?: string;
|
|
1050
1353
|
rules?: Record<string, RuleConfig>;
|
|
1051
|
-
settings?:
|
|
1354
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1052
1355
|
};
|
|
1053
1356
|
"recommended-typescript": {
|
|
1054
1357
|
plugins: {};
|
|
1055
1358
|
name?: string;
|
|
1056
1359
|
rules?: Record<string, RuleConfig>;
|
|
1057
|
-
settings?:
|
|
1360
|
+
settings?: _eslint_react_kit4.SettingsConfig;
|
|
1058
1361
|
};
|
|
1059
1362
|
};
|
|
1060
1363
|
meta: {
|
|
1061
1364
|
name: string;
|
|
1062
1365
|
version: string;
|
|
1063
1366
|
};
|
|
1064
|
-
rules: Record<string,
|
|
1367
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1065
1368
|
};
|
|
1066
1369
|
};
|
|
1067
1370
|
declare const settings: {
|
|
@@ -1129,6 +1432,14 @@ declare const _default: {
|
|
|
1129
1432
|
* Same as the `recommended` preset but disables rules that can be enforced by TypeScript
|
|
1130
1433
|
*/
|
|
1131
1434
|
"recommended-typescript": typeof recommended_typescript_d_exports;
|
|
1435
|
+
/**
|
|
1436
|
+
* More strict version of the `recommended-type-checked` preset
|
|
1437
|
+
*/
|
|
1438
|
+
"strict-type-checked": typeof strict_type_checked_d_exports;
|
|
1439
|
+
/**
|
|
1440
|
+
* More strict version of the `recommended-typescript` preset
|
|
1441
|
+
*/
|
|
1442
|
+
"strict-typescript": typeof strict_typescript_d_exports;
|
|
1132
1443
|
/**
|
|
1133
1444
|
* Enable rules for `"react"`
|
|
1134
1445
|
*/
|
|
@@ -1138,7 +1449,7 @@ declare const _default: {
|
|
|
1138
1449
|
name: string;
|
|
1139
1450
|
version: string;
|
|
1140
1451
|
};
|
|
1141
|
-
rules: Record<string,
|
|
1452
|
+
rules: Record<string, _eslint_react_kit4.CompatibleRule>;
|
|
1142
1453
|
};
|
|
1143
1454
|
//#endregion
|
|
1144
1455
|
export { _default as default };
|