@eslint-react/eslint-plugin 1.8.3-next.6 → 1.9.0-beta.3
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 +12 -4
- package/dist/index.d.mts +419 -279
- package/dist/index.d.ts +419 -279
- package/dist/index.js +33 -51
- package/dist/index.mjs +33 -51
- package/package.json +15 -15
package/dist/index.d.ts
CHANGED
|
@@ -73,12 +73,6 @@ declare const _default: {
|
|
|
73
73
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
74
74
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
75
75
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
76
|
-
readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn";
|
|
77
|
-
readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": "warn";
|
|
78
|
-
readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": "warn";
|
|
79
|
-
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
80
|
-
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
|
|
81
|
-
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
82
76
|
readonly "@eslint-react/naming-convention/component-name": "warn";
|
|
83
77
|
readonly "@eslint-react/naming-convention/filename": "warn";
|
|
84
78
|
readonly "@eslint-react/naming-convention/filename-extension": "warn";
|
|
@@ -127,18 +121,66 @@ declare const _default: {
|
|
|
127
121
|
};
|
|
128
122
|
};
|
|
129
123
|
};
|
|
130
|
-
readonly
|
|
131
|
-
readonly plugins:
|
|
132
|
-
readonly "@eslint-react": typeof react;
|
|
133
|
-
readonly "@eslint-react/debug": typeof reactDebug;
|
|
134
|
-
readonly "@eslint-react/dom": typeof reactDom;
|
|
135
|
-
readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
|
|
136
|
-
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
137
|
-
};
|
|
124
|
+
readonly "all-legacy": {
|
|
125
|
+
readonly plugins: readonly ["@eslint-react"];
|
|
138
126
|
readonly rules: {
|
|
139
|
-
readonly "@eslint-react/
|
|
140
|
-
readonly "@eslint-react/
|
|
141
|
-
readonly "@eslint-react/
|
|
127
|
+
readonly "@eslint-react/avoid-shorthand-boolean": "warn";
|
|
128
|
+
readonly "@eslint-react/avoid-shorthand-fragment": "warn";
|
|
129
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
130
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
131
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
132
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
133
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
134
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
135
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
136
|
+
readonly "@eslint-react/no-children-prop": "warn";
|
|
137
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
138
|
+
readonly "@eslint-react/no-class-component": "warn";
|
|
139
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
140
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
141
|
+
readonly "@eslint-react/no-complex-conditional-rendering": "warn";
|
|
142
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
143
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
144
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
145
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
146
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
147
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
148
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
149
|
+
readonly "@eslint-react/no-missing-component-display-name": "warn";
|
|
150
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
151
|
+
readonly "@eslint-react/no-nested-components": "warn";
|
|
152
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
153
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
154
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
155
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
156
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
157
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
158
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
159
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
160
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
161
|
+
readonly "@eslint-react/no-unstable-context-value": "error";
|
|
162
|
+
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
163
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
164
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
165
|
+
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
166
|
+
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
167
|
+
readonly "@eslint-react/prefer-shorthand-boolean": "warn";
|
|
168
|
+
readonly "@eslint-react/prefer-shorthand-fragment": "warn";
|
|
169
|
+
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
170
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
171
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
172
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
173
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
174
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
175
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
176
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
177
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
178
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
179
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
180
|
+
readonly "@eslint-react/naming-convention/component-name": "warn";
|
|
181
|
+
readonly "@eslint-react/naming-convention/filename": "warn";
|
|
182
|
+
readonly "@eslint-react/naming-convention/filename-extension": "warn";
|
|
183
|
+
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
142
184
|
};
|
|
143
185
|
readonly settings: {
|
|
144
186
|
readonly "react-x": {
|
|
@@ -183,7 +225,7 @@ declare const _default: {
|
|
|
183
225
|
};
|
|
184
226
|
};
|
|
185
227
|
};
|
|
186
|
-
readonly
|
|
228
|
+
readonly core: {
|
|
187
229
|
readonly plugins: {
|
|
188
230
|
readonly "@eslint-react": typeof react;
|
|
189
231
|
readonly "@eslint-react/debug": typeof reactDebug;
|
|
@@ -192,16 +234,38 @@ declare const _default: {
|
|
|
192
234
|
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
193
235
|
};
|
|
194
236
|
readonly rules: {
|
|
195
|
-
readonly "@eslint-react/
|
|
196
|
-
readonly "@eslint-react/
|
|
197
|
-
readonly "@eslint-react/
|
|
198
|
-
readonly "@eslint-react/
|
|
199
|
-
readonly "@eslint-react/
|
|
200
|
-
readonly "@eslint-react/
|
|
201
|
-
readonly "@eslint-react/
|
|
202
|
-
readonly "@eslint-react/
|
|
203
|
-
readonly "@eslint-react/
|
|
204
|
-
readonly "@eslint-react/
|
|
237
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
238
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
239
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
240
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
241
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
242
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
243
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
244
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
245
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
246
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
247
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
248
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
249
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
250
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
251
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
252
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
253
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
254
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
255
|
+
readonly "@eslint-react/no-nested-components": "warn";
|
|
256
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
257
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
258
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
259
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
260
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
261
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
262
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
263
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
264
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
265
|
+
readonly "@eslint-react/no-unstable-context-value": "error";
|
|
266
|
+
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
267
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
268
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
205
269
|
};
|
|
206
270
|
readonly settings: {
|
|
207
271
|
readonly "react-x": {
|
|
@@ -246,78 +310,41 @@ declare const _default: {
|
|
|
246
310
|
};
|
|
247
311
|
};
|
|
248
312
|
};
|
|
249
|
-
readonly
|
|
250
|
-
readonly plugins:
|
|
251
|
-
readonly "@eslint-react": typeof react;
|
|
252
|
-
readonly "@eslint-react/debug": typeof reactDebug;
|
|
253
|
-
readonly "@eslint-react/dom": typeof reactDom;
|
|
254
|
-
readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
|
|
255
|
-
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
256
|
-
};
|
|
313
|
+
readonly "core-legacy": {
|
|
314
|
+
readonly plugins: readonly ["@eslint-react"];
|
|
257
315
|
readonly rules: {
|
|
258
|
-
"@eslint-react/
|
|
259
|
-
"@eslint-react/
|
|
260
|
-
"@eslint-react/
|
|
261
|
-
"@eslint-react/no-
|
|
262
|
-
"@eslint-react/no-
|
|
263
|
-
"@eslint-react/no-children-
|
|
264
|
-
"@eslint-react/no-children-
|
|
265
|
-
"@eslint-react/no-children-
|
|
266
|
-
"@eslint-react/no-
|
|
267
|
-
"@eslint-react/no-
|
|
268
|
-
"@eslint-react/no-
|
|
269
|
-
"@eslint-react/no-
|
|
270
|
-
"@eslint-react/no-
|
|
271
|
-
"@eslint-react/no-
|
|
272
|
-
"@eslint-react/no-
|
|
273
|
-
"@eslint-react/no-
|
|
274
|
-
"@eslint-react/no-
|
|
275
|
-
"@eslint-react/no-
|
|
276
|
-
"@eslint-react/no-
|
|
277
|
-
"@eslint-react/no-
|
|
278
|
-
"@eslint-react/no-
|
|
279
|
-
"@eslint-react/no-
|
|
280
|
-
"@eslint-react/no-
|
|
281
|
-
"@eslint-react/no-
|
|
282
|
-
"@eslint-react/no-
|
|
283
|
-
"@eslint-react/no-
|
|
284
|
-
"@eslint-react/no-
|
|
285
|
-
"@eslint-react/no-
|
|
286
|
-
"@eslint-react/no-
|
|
287
|
-
"@eslint-react/no-
|
|
288
|
-
"@eslint-react/no-
|
|
289
|
-
"@eslint-react/no-
|
|
290
|
-
"@eslint-react/no-unsafe-component-will-receive-props"?: "off";
|
|
291
|
-
"@eslint-react/no-unsafe-component-will-update"?: "off";
|
|
292
|
-
"@eslint-react/no-unstable-context-value"?: "off";
|
|
293
|
-
"@eslint-react/no-unstable-default-props"?: "off";
|
|
294
|
-
"@eslint-react/no-unused-class-component-members"?: "off";
|
|
295
|
-
"@eslint-react/no-unused-state"?: "off";
|
|
296
|
-
"@eslint-react/no-useless-fragment"?: "off";
|
|
297
|
-
"@eslint-react/prefer-destructuring-assignment"?: "off";
|
|
298
|
-
"@eslint-react/prefer-shorthand-boolean"?: "off";
|
|
299
|
-
"@eslint-react/prefer-shorthand-fragment"?: "off";
|
|
300
|
-
"@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
|
|
301
|
-
"@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
|
|
302
|
-
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
|
|
303
|
-
"@eslint-react/dom/no-find-dom-node"?: "off";
|
|
304
|
-
"@eslint-react/dom/no-missing-button-type"?: "off";
|
|
305
|
-
"@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
|
|
306
|
-
"@eslint-react/dom/no-namespace"?: "off";
|
|
307
|
-
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
308
|
-
"@eslint-react/dom/no-script-url"?: "off";
|
|
309
|
-
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
310
|
-
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
311
|
-
"@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks"?: "off";
|
|
312
|
-
"@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps"?: "off";
|
|
313
|
-
"@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps"?: "off";
|
|
314
|
-
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect"?: "off";
|
|
315
|
-
"@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect"?: "off";
|
|
316
|
-
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization"?: "off";
|
|
317
|
-
"@eslint-react/naming-convention/component-name"?: "off";
|
|
318
|
-
"@eslint-react/naming-convention/filename"?: "off";
|
|
319
|
-
"@eslint-react/naming-convention/filename-extension"?: "off";
|
|
320
|
-
"@eslint-react/naming-convention/use-state"?: "off";
|
|
316
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
317
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
318
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
319
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
320
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
321
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
322
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
323
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
324
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
325
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
326
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
327
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
328
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
329
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
330
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
331
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
332
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
333
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
334
|
+
readonly "@eslint-react/no-nested-components": "warn";
|
|
335
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
336
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
337
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
338
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
339
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
340
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
341
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
342
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
343
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
344
|
+
readonly "@eslint-react/no-unstable-context-value": "error";
|
|
345
|
+
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
346
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
347
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
321
348
|
};
|
|
322
349
|
readonly settings: {
|
|
323
350
|
readonly "react-x": {
|
|
@@ -362,7 +389,7 @@ declare const _default: {
|
|
|
362
389
|
};
|
|
363
390
|
};
|
|
364
391
|
};
|
|
365
|
-
readonly
|
|
392
|
+
readonly debug: {
|
|
366
393
|
readonly plugins: {
|
|
367
394
|
readonly "@eslint-react": typeof react;
|
|
368
395
|
readonly "@eslint-react/debug": typeof reactDebug;
|
|
@@ -371,16 +398,9 @@ declare const _default: {
|
|
|
371
398
|
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
372
399
|
};
|
|
373
400
|
readonly rules: {
|
|
374
|
-
"@eslint-react/
|
|
375
|
-
"@eslint-react/
|
|
376
|
-
"@eslint-react/
|
|
377
|
-
"@eslint-react/dom/no-find-dom-node"?: "off";
|
|
378
|
-
"@eslint-react/dom/no-missing-button-type"?: "off";
|
|
379
|
-
"@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
|
|
380
|
-
"@eslint-react/dom/no-namespace"?: "off";
|
|
381
|
-
"@eslint-react/dom/no-script-url"?: "off";
|
|
382
|
-
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
383
|
-
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
401
|
+
readonly "@eslint-react/debug/class-component": "warn";
|
|
402
|
+
readonly "@eslint-react/debug/function-component": "warn";
|
|
403
|
+
readonly "@eslint-react/debug/react-hooks": "warn";
|
|
384
404
|
};
|
|
385
405
|
readonly settings: {
|
|
386
406
|
readonly "react-x": {
|
|
@@ -425,59 +445,12 @@ declare const _default: {
|
|
|
425
445
|
};
|
|
426
446
|
};
|
|
427
447
|
};
|
|
428
|
-
readonly
|
|
429
|
-
readonly plugins:
|
|
430
|
-
readonly "@eslint-react": typeof react;
|
|
431
|
-
readonly "@eslint-react/debug": typeof reactDebug;
|
|
432
|
-
readonly "@eslint-react/dom": typeof reactDom;
|
|
433
|
-
readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
|
|
434
|
-
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
435
|
-
};
|
|
448
|
+
readonly "debug-legacy": {
|
|
449
|
+
readonly plugins: readonly ["@eslint-react"];
|
|
436
450
|
readonly rules: {
|
|
437
|
-
readonly "@eslint-react/
|
|
438
|
-
readonly "@eslint-react/
|
|
439
|
-
readonly "@eslint-react/
|
|
440
|
-
readonly "@eslint-react/no-children-count": "warn";
|
|
441
|
-
readonly "@eslint-react/no-children-for-each": "warn";
|
|
442
|
-
readonly "@eslint-react/no-children-map": "warn";
|
|
443
|
-
readonly "@eslint-react/no-children-only": "warn";
|
|
444
|
-
readonly "@eslint-react/no-children-to-array": "warn";
|
|
445
|
-
readonly "@eslint-react/no-clone-element": "warn";
|
|
446
|
-
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
447
|
-
readonly "@eslint-react/no-component-will-mount": "error";
|
|
448
|
-
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
449
|
-
readonly "@eslint-react/no-component-will-update": "error";
|
|
450
|
-
readonly "@eslint-react/no-create-ref": "error";
|
|
451
|
-
readonly "@eslint-react/no-default-props": "error";
|
|
452
|
-
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
453
|
-
readonly "@eslint-react/no-duplicate-key": "error";
|
|
454
|
-
readonly "@eslint-react/no-missing-key": "error";
|
|
455
|
-
readonly "@eslint-react/no-nested-components": "warn";
|
|
456
|
-
readonly "@eslint-react/no-prop-types": "error";
|
|
457
|
-
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
458
|
-
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
459
|
-
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
460
|
-
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
461
|
-
readonly "@eslint-react/no-string-refs": "error";
|
|
462
|
-
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
463
|
-
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
464
|
-
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
465
|
-
readonly "@eslint-react/no-unstable-context-value": "error";
|
|
466
|
-
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
467
|
-
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
468
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
469
|
-
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
470
|
-
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
471
|
-
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
472
|
-
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
473
|
-
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
474
|
-
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
475
|
-
readonly "@eslint-react/dom/no-namespace": "error";
|
|
476
|
-
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
477
|
-
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
478
|
-
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
479
|
-
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
480
|
-
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
451
|
+
readonly "@eslint-react/debug/class-component": "warn";
|
|
452
|
+
readonly "@eslint-react/debug/function-component": "warn";
|
|
453
|
+
readonly "@eslint-react/debug/react-hooks": "warn";
|
|
481
454
|
};
|
|
482
455
|
readonly settings: {
|
|
483
456
|
readonly "react-x": {
|
|
@@ -522,7 +495,7 @@ declare const _default: {
|
|
|
522
495
|
};
|
|
523
496
|
};
|
|
524
497
|
};
|
|
525
|
-
readonly
|
|
498
|
+
readonly dom: {
|
|
526
499
|
readonly plugins: {
|
|
527
500
|
readonly "@eslint-react": typeof react;
|
|
528
501
|
readonly "@eslint-react/debug": typeof reactDebug;
|
|
@@ -531,39 +504,6 @@ declare const _default: {
|
|
|
531
504
|
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
532
505
|
};
|
|
533
506
|
readonly rules: {
|
|
534
|
-
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
535
|
-
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
536
|
-
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
537
|
-
readonly "@eslint-react/no-array-index-key": "warn";
|
|
538
|
-
readonly "@eslint-react/no-children-count": "warn";
|
|
539
|
-
readonly "@eslint-react/no-children-for-each": "warn";
|
|
540
|
-
readonly "@eslint-react/no-children-map": "warn";
|
|
541
|
-
readonly "@eslint-react/no-children-only": "warn";
|
|
542
|
-
readonly "@eslint-react/no-children-to-array": "warn";
|
|
543
|
-
readonly "@eslint-react/no-clone-element": "warn";
|
|
544
|
-
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
545
|
-
readonly "@eslint-react/no-component-will-mount": "error";
|
|
546
|
-
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
547
|
-
readonly "@eslint-react/no-component-will-update": "error";
|
|
548
|
-
readonly "@eslint-react/no-create-ref": "error";
|
|
549
|
-
readonly "@eslint-react/no-default-props": "error";
|
|
550
|
-
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
551
|
-
readonly "@eslint-react/no-duplicate-key": "error";
|
|
552
|
-
readonly "@eslint-react/no-missing-key": "error";
|
|
553
|
-
readonly "@eslint-react/no-nested-components": "warn";
|
|
554
|
-
readonly "@eslint-react/no-prop-types": "error";
|
|
555
|
-
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
556
|
-
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
557
|
-
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
558
|
-
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
559
|
-
readonly "@eslint-react/no-string-refs": "error";
|
|
560
|
-
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
561
|
-
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
562
|
-
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
563
|
-
readonly "@eslint-react/no-unstable-context-value": "error";
|
|
564
|
-
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
565
|
-
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
566
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
567
507
|
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
568
508
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
569
509
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
@@ -575,7 +515,6 @@ declare const _default: {
|
|
|
575
515
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
576
516
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
577
517
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
578
|
-
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
579
518
|
};
|
|
580
519
|
readonly settings: {
|
|
581
520
|
readonly "react-x": {
|
|
@@ -620,51 +559,9 @@ declare const _default: {
|
|
|
620
559
|
};
|
|
621
560
|
};
|
|
622
561
|
};
|
|
623
|
-
readonly "
|
|
562
|
+
readonly "dom-legacy": {
|
|
624
563
|
readonly plugins: readonly ["@eslint-react"];
|
|
625
564
|
readonly rules: {
|
|
626
|
-
readonly "@eslint-react/avoid-shorthand-boolean": "warn";
|
|
627
|
-
readonly "@eslint-react/avoid-shorthand-fragment": "warn";
|
|
628
|
-
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
629
|
-
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
630
|
-
readonly "@eslint-react/no-array-index-key": "warn";
|
|
631
|
-
readonly "@eslint-react/no-children-count": "warn";
|
|
632
|
-
readonly "@eslint-react/no-children-for-each": "warn";
|
|
633
|
-
readonly "@eslint-react/no-children-map": "warn";
|
|
634
|
-
readonly "@eslint-react/no-children-only": "warn";
|
|
635
|
-
readonly "@eslint-react/no-children-prop": "warn";
|
|
636
|
-
readonly "@eslint-react/no-children-to-array": "warn";
|
|
637
|
-
readonly "@eslint-react/no-class-component": "warn";
|
|
638
|
-
readonly "@eslint-react/no-clone-element": "warn";
|
|
639
|
-
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
640
|
-
readonly "@eslint-react/no-complex-conditional-rendering": "warn";
|
|
641
|
-
readonly "@eslint-react/no-component-will-mount": "error";
|
|
642
|
-
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
643
|
-
readonly "@eslint-react/no-component-will-update": "error";
|
|
644
|
-
readonly "@eslint-react/no-create-ref": "error";
|
|
645
|
-
readonly "@eslint-react/no-default-props": "error";
|
|
646
|
-
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
647
|
-
readonly "@eslint-react/no-duplicate-key": "error";
|
|
648
|
-
readonly "@eslint-react/no-missing-component-display-name": "warn";
|
|
649
|
-
readonly "@eslint-react/no-missing-key": "error";
|
|
650
|
-
readonly "@eslint-react/no-nested-components": "warn";
|
|
651
|
-
readonly "@eslint-react/no-prop-types": "error";
|
|
652
|
-
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
653
|
-
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
654
|
-
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
655
|
-
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
656
|
-
readonly "@eslint-react/no-string-refs": "error";
|
|
657
|
-
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
658
|
-
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
659
|
-
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
660
|
-
readonly "@eslint-react/no-unstable-context-value": "error";
|
|
661
|
-
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
662
|
-
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
663
|
-
readonly "@eslint-react/no-unused-state": "warn";
|
|
664
|
-
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
665
|
-
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
666
|
-
readonly "@eslint-react/prefer-shorthand-boolean": "warn";
|
|
667
|
-
readonly "@eslint-react/prefer-shorthand-fragment": "warn";
|
|
668
565
|
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
669
566
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
670
567
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
@@ -676,16 +573,6 @@ declare const _default: {
|
|
|
676
573
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
677
574
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
678
575
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
679
|
-
readonly "@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn";
|
|
680
|
-
readonly "@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps": "warn";
|
|
681
|
-
readonly "@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps": "warn";
|
|
682
|
-
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn";
|
|
683
|
-
readonly "@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect": "warn";
|
|
684
|
-
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
685
|
-
readonly "@eslint-react/naming-convention/component-name": "warn";
|
|
686
|
-
readonly "@eslint-react/naming-convention/filename": "warn";
|
|
687
|
-
readonly "@eslint-react/naming-convention/filename-extension": "warn";
|
|
688
|
-
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
689
576
|
};
|
|
690
577
|
readonly settings: {
|
|
691
578
|
readonly "react-x": {
|
|
@@ -730,12 +617,72 @@ declare const _default: {
|
|
|
730
617
|
};
|
|
731
618
|
};
|
|
732
619
|
};
|
|
733
|
-
readonly
|
|
734
|
-
readonly plugins:
|
|
620
|
+
readonly off: {
|
|
621
|
+
readonly plugins: {
|
|
622
|
+
readonly "@eslint-react": typeof react;
|
|
623
|
+
readonly "@eslint-react/debug": typeof reactDebug;
|
|
624
|
+
readonly "@eslint-react/dom": typeof reactDom;
|
|
625
|
+
readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
|
|
626
|
+
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
627
|
+
};
|
|
735
628
|
readonly rules: {
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
629
|
+
"@eslint-react/avoid-shorthand-boolean"?: "off";
|
|
630
|
+
"@eslint-react/avoid-shorthand-fragment"?: "off";
|
|
631
|
+
"@eslint-react/ensure-forward-ref-using-ref"?: "off";
|
|
632
|
+
"@eslint-react/no-access-state-in-setstate"?: "off";
|
|
633
|
+
"@eslint-react/no-array-index-key"?: "off";
|
|
634
|
+
"@eslint-react/no-children-count"?: "off";
|
|
635
|
+
"@eslint-react/no-children-for-each"?: "off";
|
|
636
|
+
"@eslint-react/no-children-map"?: "off";
|
|
637
|
+
"@eslint-react/no-children-only"?: "off";
|
|
638
|
+
"@eslint-react/no-children-prop"?: "off";
|
|
639
|
+
"@eslint-react/no-children-to-array"?: "off";
|
|
640
|
+
"@eslint-react/no-class-component"?: "off";
|
|
641
|
+
"@eslint-react/no-clone-element"?: "off";
|
|
642
|
+
"@eslint-react/no-comment-textnodes"?: "off";
|
|
643
|
+
"@eslint-react/no-complex-conditional-rendering"?: "off";
|
|
644
|
+
"@eslint-react/no-component-will-mount"?: "off";
|
|
645
|
+
"@eslint-react/no-component-will-receive-props"?: "off";
|
|
646
|
+
"@eslint-react/no-component-will-update"?: "off";
|
|
647
|
+
"@eslint-react/no-create-ref"?: "off";
|
|
648
|
+
"@eslint-react/no-default-props"?: "off";
|
|
649
|
+
"@eslint-react/no-direct-mutation-state"?: "off";
|
|
650
|
+
"@eslint-react/no-duplicate-key"?: "off";
|
|
651
|
+
"@eslint-react/no-missing-component-display-name"?: "off";
|
|
652
|
+
"@eslint-react/no-missing-key"?: "off";
|
|
653
|
+
"@eslint-react/no-nested-components"?: "off";
|
|
654
|
+
"@eslint-react/no-prop-types"?: "off";
|
|
655
|
+
"@eslint-react/no-redundant-should-component-update"?: "off";
|
|
656
|
+
"@eslint-react/no-set-state-in-component-did-mount"?: "off";
|
|
657
|
+
"@eslint-react/no-set-state-in-component-did-update"?: "off";
|
|
658
|
+
"@eslint-react/no-set-state-in-component-will-update"?: "off";
|
|
659
|
+
"@eslint-react/no-string-refs"?: "off";
|
|
660
|
+
"@eslint-react/no-unsafe-component-will-mount"?: "off";
|
|
661
|
+
"@eslint-react/no-unsafe-component-will-receive-props"?: "off";
|
|
662
|
+
"@eslint-react/no-unsafe-component-will-update"?: "off";
|
|
663
|
+
"@eslint-react/no-unstable-context-value"?: "off";
|
|
664
|
+
"@eslint-react/no-unstable-default-props"?: "off";
|
|
665
|
+
"@eslint-react/no-unused-class-component-members"?: "off";
|
|
666
|
+
"@eslint-react/no-unused-state"?: "off";
|
|
667
|
+
"@eslint-react/no-useless-fragment"?: "off";
|
|
668
|
+
"@eslint-react/prefer-destructuring-assignment"?: "off";
|
|
669
|
+
"@eslint-react/prefer-shorthand-boolean"?: "off";
|
|
670
|
+
"@eslint-react/prefer-shorthand-fragment"?: "off";
|
|
671
|
+
"@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
|
|
672
|
+
"@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
|
|
673
|
+
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
|
|
674
|
+
"@eslint-react/dom/no-find-dom-node"?: "off";
|
|
675
|
+
"@eslint-react/dom/no-missing-button-type"?: "off";
|
|
676
|
+
"@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
|
|
677
|
+
"@eslint-react/dom/no-namespace"?: "off";
|
|
678
|
+
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
679
|
+
"@eslint-react/dom/no-script-url"?: "off";
|
|
680
|
+
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
681
|
+
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
682
|
+
"@eslint-react/naming-convention/component-name"?: "off";
|
|
683
|
+
"@eslint-react/naming-convention/filename"?: "off";
|
|
684
|
+
"@eslint-react/naming-convention/filename-extension"?: "off";
|
|
685
|
+
"@eslint-react/naming-convention/use-state"?: "off";
|
|
739
686
|
};
|
|
740
687
|
readonly settings: {
|
|
741
688
|
readonly "react-x": {
|
|
@@ -780,19 +727,26 @@ declare const _default: {
|
|
|
780
727
|
};
|
|
781
728
|
};
|
|
782
729
|
};
|
|
783
|
-
readonly "dom
|
|
784
|
-
readonly plugins:
|
|
730
|
+
readonly "off-dom": {
|
|
731
|
+
readonly plugins: {
|
|
732
|
+
readonly "@eslint-react": typeof react;
|
|
733
|
+
readonly "@eslint-react/debug": typeof reactDebug;
|
|
734
|
+
readonly "@eslint-react/dom": typeof reactDom;
|
|
735
|
+
readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
|
|
736
|
+
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
737
|
+
};
|
|
785
738
|
readonly rules: {
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
739
|
+
"@eslint-react/dom/no-children-in-void-dom-elements"?: "off";
|
|
740
|
+
"@eslint-react/dom/no-dangerously-set-innerhtml"?: "off";
|
|
741
|
+
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children"?: "off";
|
|
742
|
+
"@eslint-react/dom/no-find-dom-node"?: "off";
|
|
743
|
+
"@eslint-react/dom/no-missing-button-type"?: "off";
|
|
744
|
+
"@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
|
|
745
|
+
"@eslint-react/dom/no-namespace"?: "off";
|
|
746
|
+
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
747
|
+
"@eslint-react/dom/no-script-url"?: "off";
|
|
748
|
+
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
749
|
+
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
796
750
|
};
|
|
797
751
|
readonly settings: {
|
|
798
752
|
readonly "react-x": {
|
|
@@ -847,6 +801,7 @@ declare const _default: {
|
|
|
847
801
|
"@eslint-react/dom/no-missing-button-type"?: "off";
|
|
848
802
|
"@eslint-react/dom/no-missing-iframe-sandbox"?: "off";
|
|
849
803
|
"@eslint-react/dom/no-namespace"?: "off";
|
|
804
|
+
"@eslint-react/dom/no-render-return-value"?: "off";
|
|
850
805
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
851
806
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
852
807
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
@@ -950,12 +905,6 @@ declare const _default: {
|
|
|
950
905
|
"@eslint-react/dom/no-script-url"?: "off";
|
|
951
906
|
"@eslint-react/dom/no-unsafe-iframe-sandbox"?: "off";
|
|
952
907
|
"@eslint-react/dom/no-unsafe-target-blank"?: "off";
|
|
953
|
-
"@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks"?: "off";
|
|
954
|
-
"@eslint-react/hooks-extra/ensure-use-callback-has-non-empty-deps"?: "off";
|
|
955
|
-
"@eslint-react/hooks-extra/ensure-use-memo-has-non-empty-deps"?: "off";
|
|
956
|
-
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect"?: "off";
|
|
957
|
-
"@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect"?: "off";
|
|
958
|
-
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization"?: "off";
|
|
959
908
|
"@eslint-react/naming-convention/component-name"?: "off";
|
|
960
909
|
"@eslint-react/naming-convention/filename"?: "off";
|
|
961
910
|
"@eslint-react/naming-convention/filename-extension"?: "off";
|
|
@@ -1004,9 +953,26 @@ declare const _default: {
|
|
|
1004
953
|
};
|
|
1005
954
|
};
|
|
1006
955
|
};
|
|
1007
|
-
readonly
|
|
1008
|
-
readonly plugins:
|
|
956
|
+
readonly recommended: {
|
|
957
|
+
readonly plugins: {
|
|
958
|
+
readonly "@eslint-react": typeof react;
|
|
959
|
+
readonly "@eslint-react/debug": typeof reactDebug;
|
|
960
|
+
readonly "@eslint-react/dom": typeof reactDom;
|
|
961
|
+
readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
|
|
962
|
+
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
963
|
+
};
|
|
1009
964
|
readonly rules: {
|
|
965
|
+
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
966
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
967
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
968
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
969
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
970
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
971
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
972
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
973
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
974
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
975
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
1010
976
|
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
1011
977
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
1012
978
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
@@ -1039,6 +1005,53 @@ declare const _default: {
|
|
|
1039
1005
|
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
1040
1006
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1041
1007
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
1008
|
+
};
|
|
1009
|
+
readonly settings: {
|
|
1010
|
+
readonly "react-x": {
|
|
1011
|
+
skipImportCheck: boolean;
|
|
1012
|
+
importSource?: string | undefined;
|
|
1013
|
+
jsxPragma?: string | undefined;
|
|
1014
|
+
jsxPragmaFrag?: string | undefined;
|
|
1015
|
+
polymorphicPropName?: string | undefined;
|
|
1016
|
+
strict?: boolean | undefined;
|
|
1017
|
+
version?: string | undefined;
|
|
1018
|
+
additionalComponents?: {
|
|
1019
|
+
name: string;
|
|
1020
|
+
attributes: {
|
|
1021
|
+
name: string;
|
|
1022
|
+
as?: string | undefined;
|
|
1023
|
+
controlled?: boolean | undefined;
|
|
1024
|
+
defaultValue?: string | undefined;
|
|
1025
|
+
}[];
|
|
1026
|
+
selector?: string | undefined;
|
|
1027
|
+
as?: string | undefined;
|
|
1028
|
+
}[] | undefined;
|
|
1029
|
+
additionalHooks?: {
|
|
1030
|
+
use?: string[] | undefined;
|
|
1031
|
+
useActionState?: string[] | undefined;
|
|
1032
|
+
useCallback?: string[] | undefined;
|
|
1033
|
+
useContext?: string[] | undefined;
|
|
1034
|
+
useDebugValue?: string[] | undefined;
|
|
1035
|
+
useDeferredValue?: string[] | undefined;
|
|
1036
|
+
useEffect?: string[] | undefined;
|
|
1037
|
+
useId?: string[] | undefined;
|
|
1038
|
+
useImperativeHandle?: string[] | undefined;
|
|
1039
|
+
useInsertionEffect?: string[] | undefined;
|
|
1040
|
+
useLayoutEffect?: string[] | undefined;
|
|
1041
|
+
useMemo?: string[] | undefined;
|
|
1042
|
+
useOptimistic?: string[] | undefined;
|
|
1043
|
+
useReducer?: string[] | undefined;
|
|
1044
|
+
useRef?: string[] | undefined;
|
|
1045
|
+
useState?: string[] | undefined;
|
|
1046
|
+
useSyncExternalStore?: string[] | undefined;
|
|
1047
|
+
useTransition?: string[] | undefined;
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
readonly "recommended-legacy": {
|
|
1053
|
+
readonly plugins: readonly ["@eslint-react"];
|
|
1054
|
+
readonly rules: {
|
|
1042
1055
|
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
1043
1056
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
1044
1057
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
@@ -1050,7 +1063,38 @@ declare const _default: {
|
|
|
1050
1063
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
1051
1064
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
1052
1065
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
1053
|
-
readonly "@eslint-react/
|
|
1066
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
1067
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
1068
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
1069
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
1070
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
1071
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
1072
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
1073
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
1074
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
1075
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
1076
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
1077
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
1078
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
1079
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
1080
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
1081
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
1082
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
1083
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
1084
|
+
readonly "@eslint-react/no-nested-components": "warn";
|
|
1085
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
1086
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1087
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
1088
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
1089
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
1090
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
1091
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
1092
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
1093
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
1094
|
+
readonly "@eslint-react/no-unstable-context-value": "error";
|
|
1095
|
+
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
1096
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1097
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
1054
1098
|
};
|
|
1055
1099
|
readonly settings: {
|
|
1056
1100
|
readonly "react-x": {
|
|
@@ -1095,10 +1139,27 @@ declare const _default: {
|
|
|
1095
1139
|
};
|
|
1096
1140
|
};
|
|
1097
1141
|
};
|
|
1098
|
-
readonly "recommended-type-checked
|
|
1099
|
-
readonly plugins:
|
|
1142
|
+
readonly "recommended-type-checked": {
|
|
1143
|
+
readonly plugins: {
|
|
1144
|
+
readonly "@eslint-react": typeof react;
|
|
1145
|
+
readonly "@eslint-react/debug": typeof reactDebug;
|
|
1146
|
+
readonly "@eslint-react/dom": typeof reactDom;
|
|
1147
|
+
readonly "@eslint-react/hooks-extra": typeof reactHooksExtra;
|
|
1148
|
+
readonly "@eslint-react/naming-convention": typeof reactNamingConvention;
|
|
1149
|
+
};
|
|
1100
1150
|
readonly rules: {
|
|
1101
1151
|
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
1152
|
+
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
1153
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
1154
|
+
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
1155
|
+
readonly "@eslint-react/dom/no-find-dom-node": "error";
|
|
1156
|
+
readonly "@eslint-react/dom/no-missing-button-type": "warn";
|
|
1157
|
+
readonly "@eslint-react/dom/no-missing-iframe-sandbox": "warn";
|
|
1158
|
+
readonly "@eslint-react/dom/no-namespace": "error";
|
|
1159
|
+
readonly "@eslint-react/dom/no-render-return-value": "error";
|
|
1160
|
+
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
1161
|
+
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
1162
|
+
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
1102
1163
|
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
1103
1164
|
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
1104
1165
|
readonly "@eslint-react/no-array-index-key": "warn";
|
|
@@ -1131,6 +1192,54 @@ declare const _default: {
|
|
|
1131
1192
|
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
1132
1193
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1133
1194
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
1195
|
+
};
|
|
1196
|
+
readonly settings: {
|
|
1197
|
+
readonly "react-x": {
|
|
1198
|
+
skipImportCheck: boolean;
|
|
1199
|
+
importSource?: string | undefined;
|
|
1200
|
+
jsxPragma?: string | undefined;
|
|
1201
|
+
jsxPragmaFrag?: string | undefined;
|
|
1202
|
+
polymorphicPropName?: string | undefined;
|
|
1203
|
+
strict?: boolean | undefined;
|
|
1204
|
+
version?: string | undefined;
|
|
1205
|
+
additionalComponents?: {
|
|
1206
|
+
name: string;
|
|
1207
|
+
attributes: {
|
|
1208
|
+
name: string;
|
|
1209
|
+
as?: string | undefined;
|
|
1210
|
+
controlled?: boolean | undefined;
|
|
1211
|
+
defaultValue?: string | undefined;
|
|
1212
|
+
}[];
|
|
1213
|
+
selector?: string | undefined;
|
|
1214
|
+
as?: string | undefined;
|
|
1215
|
+
}[] | undefined;
|
|
1216
|
+
additionalHooks?: {
|
|
1217
|
+
use?: string[] | undefined;
|
|
1218
|
+
useActionState?: string[] | undefined;
|
|
1219
|
+
useCallback?: string[] | undefined;
|
|
1220
|
+
useContext?: string[] | undefined;
|
|
1221
|
+
useDebugValue?: string[] | undefined;
|
|
1222
|
+
useDeferredValue?: string[] | undefined;
|
|
1223
|
+
useEffect?: string[] | undefined;
|
|
1224
|
+
useId?: string[] | undefined;
|
|
1225
|
+
useImperativeHandle?: string[] | undefined;
|
|
1226
|
+
useInsertionEffect?: string[] | undefined;
|
|
1227
|
+
useLayoutEffect?: string[] | undefined;
|
|
1228
|
+
useMemo?: string[] | undefined;
|
|
1229
|
+
useOptimistic?: string[] | undefined;
|
|
1230
|
+
useReducer?: string[] | undefined;
|
|
1231
|
+
useRef?: string[] | undefined;
|
|
1232
|
+
useState?: string[] | undefined;
|
|
1233
|
+
useSyncExternalStore?: string[] | undefined;
|
|
1234
|
+
useTransition?: string[] | undefined;
|
|
1235
|
+
} | undefined;
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
1239
|
+
readonly "recommended-type-checked-legacy": {
|
|
1240
|
+
readonly plugins: readonly ["@eslint-react"];
|
|
1241
|
+
readonly rules: {
|
|
1242
|
+
readonly "@eslint-react/no-leaked-conditional-rendering": "warn";
|
|
1134
1243
|
readonly "@eslint-react/dom/no-children-in-void-dom-elements": "warn";
|
|
1135
1244
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml": "warn";
|
|
1136
1245
|
readonly "@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error";
|
|
@@ -1142,7 +1251,38 @@ declare const _default: {
|
|
|
1142
1251
|
readonly "@eslint-react/dom/no-script-url": "warn";
|
|
1143
1252
|
readonly "@eslint-react/dom/no-unsafe-iframe-sandbox": "warn";
|
|
1144
1253
|
readonly "@eslint-react/dom/no-unsafe-target-blank": "warn";
|
|
1145
|
-
readonly "@eslint-react/
|
|
1254
|
+
readonly "@eslint-react/ensure-forward-ref-using-ref": "warn";
|
|
1255
|
+
readonly "@eslint-react/no-access-state-in-setstate": "error";
|
|
1256
|
+
readonly "@eslint-react/no-array-index-key": "warn";
|
|
1257
|
+
readonly "@eslint-react/no-children-count": "warn";
|
|
1258
|
+
readonly "@eslint-react/no-children-for-each": "warn";
|
|
1259
|
+
readonly "@eslint-react/no-children-map": "warn";
|
|
1260
|
+
readonly "@eslint-react/no-children-only": "warn";
|
|
1261
|
+
readonly "@eslint-react/no-children-to-array": "warn";
|
|
1262
|
+
readonly "@eslint-react/no-clone-element": "warn";
|
|
1263
|
+
readonly "@eslint-react/no-comment-textnodes": "warn";
|
|
1264
|
+
readonly "@eslint-react/no-component-will-mount": "error";
|
|
1265
|
+
readonly "@eslint-react/no-component-will-receive-props": "error";
|
|
1266
|
+
readonly "@eslint-react/no-component-will-update": "error";
|
|
1267
|
+
readonly "@eslint-react/no-create-ref": "error";
|
|
1268
|
+
readonly "@eslint-react/no-default-props": "error";
|
|
1269
|
+
readonly "@eslint-react/no-direct-mutation-state": "error";
|
|
1270
|
+
readonly "@eslint-react/no-duplicate-key": "error";
|
|
1271
|
+
readonly "@eslint-react/no-missing-key": "error";
|
|
1272
|
+
readonly "@eslint-react/no-nested-components": "warn";
|
|
1273
|
+
readonly "@eslint-react/no-prop-types": "error";
|
|
1274
|
+
readonly "@eslint-react/no-redundant-should-component-update": "error";
|
|
1275
|
+
readonly "@eslint-react/no-set-state-in-component-did-mount": "warn";
|
|
1276
|
+
readonly "@eslint-react/no-set-state-in-component-did-update": "warn";
|
|
1277
|
+
readonly "@eslint-react/no-set-state-in-component-will-update": "warn";
|
|
1278
|
+
readonly "@eslint-react/no-string-refs": "error";
|
|
1279
|
+
readonly "@eslint-react/no-unsafe-component-will-mount": "warn";
|
|
1280
|
+
readonly "@eslint-react/no-unsafe-component-will-receive-props": "warn";
|
|
1281
|
+
readonly "@eslint-react/no-unsafe-component-will-update": "warn";
|
|
1282
|
+
readonly "@eslint-react/no-unstable-context-value": "error";
|
|
1283
|
+
readonly "@eslint-react/no-unstable-default-props": "error";
|
|
1284
|
+
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1285
|
+
readonly "@eslint-react/no-unused-state": "warn";
|
|
1146
1286
|
};
|
|
1147
1287
|
readonly settings: {
|
|
1148
1288
|
readonly "react-x": {
|