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