@eslint-react/eslint-plugin 1.53.1-beta.0 → 1.53.1-beta.2
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/dist/{chunk-B9dir_RE.mjs → chunk-D3ESV8qN.mjs} +3 -1
- package/dist/index.d.mts +82 -82
- package/dist/index.d.ts +82 -82
- package/dist/index.js +30 -33
- package/dist/index.mjs +14 -26
- package/package.json +15 -15
package/dist/index.js
CHANGED
|
@@ -5,11 +5,13 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (
|
|
8
|
+
var __export = (all) => {
|
|
9
|
+
let target = {};
|
|
9
10
|
for (var name$13 in all) __defProp(target, name$13, {
|
|
10
11
|
get: all[name$13],
|
|
11
12
|
enumerable: true
|
|
12
13
|
});
|
|
14
|
+
return target;
|
|
13
15
|
};
|
|
14
16
|
var __copyProps = (to, from, except, desc) => {
|
|
15
17
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -27,22 +29,28 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
29
|
}) : target, mod));
|
|
28
30
|
|
|
29
31
|
//#endregion
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
let eslint_plugin_react_debug = require("eslint-plugin-react-debug");
|
|
33
|
+
eslint_plugin_react_debug = __toESM(eslint_plugin_react_debug);
|
|
34
|
+
let eslint_plugin_react_dom = require("eslint-plugin-react-dom");
|
|
35
|
+
eslint_plugin_react_dom = __toESM(eslint_plugin_react_dom);
|
|
36
|
+
let eslint_plugin_react_hooks_extra = require("eslint-plugin-react-hooks-extra");
|
|
37
|
+
eslint_plugin_react_hooks_extra = __toESM(eslint_plugin_react_hooks_extra);
|
|
38
|
+
let eslint_plugin_react_naming_convention = require("eslint-plugin-react-naming-convention");
|
|
39
|
+
eslint_plugin_react_naming_convention = __toESM(eslint_plugin_react_naming_convention);
|
|
40
|
+
let eslint_plugin_react_web_api = require("eslint-plugin-react-web-api");
|
|
41
|
+
eslint_plugin_react_web_api = __toESM(eslint_plugin_react_web_api);
|
|
42
|
+
let eslint_plugin_react_x = require("eslint-plugin-react-x");
|
|
43
|
+
eslint_plugin_react_x = __toESM(eslint_plugin_react_x);
|
|
44
|
+
let __eslint_react_shared = require("@eslint-react/shared");
|
|
45
|
+
__eslint_react_shared = __toESM(__eslint_react_shared);
|
|
37
46
|
|
|
38
47
|
//#region package.json
|
|
39
48
|
var name = "@eslint-react/eslint-plugin";
|
|
40
|
-
var version = "1.53.1-beta.
|
|
49
|
+
var version = "1.53.1-beta.2";
|
|
41
50
|
|
|
42
51
|
//#endregion
|
|
43
52
|
//#region src/configs/dom.ts
|
|
44
|
-
var dom_exports = {
|
|
45
|
-
__export(dom_exports, {
|
|
53
|
+
var dom_exports = __export({
|
|
46
54
|
name: () => name$12,
|
|
47
55
|
plugins: () => plugins$7,
|
|
48
56
|
rules: () => rules$8,
|
|
@@ -71,8 +79,7 @@ const settings$6 = { "react-x": __eslint_react_shared.DEFAULT_ESLINT_REACT_SETTI
|
|
|
71
79
|
|
|
72
80
|
//#endregion
|
|
73
81
|
//#region src/configs/x.ts
|
|
74
|
-
var x_exports = {
|
|
75
|
-
__export(x_exports, {
|
|
82
|
+
var x_exports = __export({
|
|
76
83
|
name: () => name$11,
|
|
77
84
|
plugins: () => plugins$6,
|
|
78
85
|
rules: () => rules$12,
|
|
@@ -128,8 +135,7 @@ const settings$5 = { "react-x": __eslint_react_shared.DEFAULT_ESLINT_REACT_SETTI
|
|
|
128
135
|
|
|
129
136
|
//#endregion
|
|
130
137
|
//#region src/configs/all.ts
|
|
131
|
-
var all_exports = {
|
|
132
|
-
__export(all_exports, {
|
|
138
|
+
var all_exports = __export({
|
|
133
139
|
name: () => name$10,
|
|
134
140
|
plugins: () => plugins$5,
|
|
135
141
|
rules: () => rules$3,
|
|
@@ -237,8 +243,7 @@ const settings$4 = { ...settings$6 };
|
|
|
237
243
|
|
|
238
244
|
//#endregion
|
|
239
245
|
//#region src/configs/debug.ts
|
|
240
|
-
var debug_exports = {
|
|
241
|
-
__export(debug_exports, {
|
|
246
|
+
var debug_exports = __export({
|
|
242
247
|
name: () => name$9,
|
|
243
248
|
plugins: () => plugins$4,
|
|
244
249
|
rules: () => rules$10
|
|
@@ -255,8 +260,7 @@ const plugins$4 = { "@eslint-react/debug": eslint_plugin_react_debug.default };
|
|
|
255
260
|
|
|
256
261
|
//#endregion
|
|
257
262
|
//#region src/configs/disable-debug.ts
|
|
258
|
-
var disable_debug_exports = {
|
|
259
|
-
__export(disable_debug_exports, {
|
|
263
|
+
var disable_debug_exports = __export({
|
|
260
264
|
name: () => name$8,
|
|
261
265
|
rules: () => rules$11
|
|
262
266
|
});
|
|
@@ -265,8 +269,7 @@ const rules$11 = Object.fromEntries(Object.entries(rules$10).map(([rule]) => [ru
|
|
|
265
269
|
|
|
266
270
|
//#endregion
|
|
267
271
|
//#region src/configs/disable-dom.ts
|
|
268
|
-
var disable_dom_exports = {
|
|
269
|
-
__export(disable_dom_exports, {
|
|
272
|
+
var disable_dom_exports = __export({
|
|
270
273
|
name: () => name$7,
|
|
271
274
|
rules: () => rules$9
|
|
272
275
|
});
|
|
@@ -275,8 +278,7 @@ const rules$9 = Object.fromEntries(Object.entries(rules$8).map(([key]) => [key,
|
|
|
275
278
|
|
|
276
279
|
//#endregion
|
|
277
280
|
//#region src/configs/disable-type-checked.ts
|
|
278
|
-
var disable_type_checked_exports = {
|
|
279
|
-
__export(disable_type_checked_exports, {
|
|
281
|
+
var disable_type_checked_exports = __export({
|
|
280
282
|
name: () => name$6,
|
|
281
283
|
rules: () => rules$4
|
|
282
284
|
});
|
|
@@ -299,8 +301,7 @@ const settings$3 = { ...settings$6 };
|
|
|
299
301
|
|
|
300
302
|
//#endregion
|
|
301
303
|
//#region src/configs/disable-web-api.ts
|
|
302
|
-
var disable_web_api_exports = {
|
|
303
|
-
__export(disable_web_api_exports, {
|
|
304
|
+
var disable_web_api_exports = __export({
|
|
304
305
|
name: () => name$5,
|
|
305
306
|
rules: () => rules$7
|
|
306
307
|
});
|
|
@@ -309,8 +310,7 @@ const rules$7 = Object.fromEntries(Object.entries(rules$6).map(([key]) => [key,
|
|
|
309
310
|
|
|
310
311
|
//#endregion
|
|
311
312
|
//#region src/configs/off.ts
|
|
312
|
-
var off_exports = {
|
|
313
|
-
__export(off_exports, {
|
|
313
|
+
var off_exports = __export({
|
|
314
314
|
name: () => name$4,
|
|
315
315
|
rules: () => rules$5
|
|
316
316
|
});
|
|
@@ -322,8 +322,7 @@ const rules$5 = {
|
|
|
322
322
|
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region src/configs/recommended.ts
|
|
325
|
-
var recommended_exports = {
|
|
326
|
-
__export(recommended_exports, {
|
|
325
|
+
var recommended_exports = __export({
|
|
327
326
|
name: () => name$3,
|
|
328
327
|
plugins: () => plugins$2,
|
|
329
328
|
rules: () => rules$2,
|
|
@@ -351,8 +350,7 @@ const settings$2 = { ...settings$6 };
|
|
|
351
350
|
|
|
352
351
|
//#endregion
|
|
353
352
|
//#region src/configs/recommended-typescript.ts
|
|
354
|
-
var recommended_typescript_exports = {
|
|
355
|
-
__export(recommended_typescript_exports, {
|
|
353
|
+
var recommended_typescript_exports = __export({
|
|
356
354
|
name: () => name$2,
|
|
357
355
|
plugins: () => plugins$1,
|
|
358
356
|
rules: () => rules$1,
|
|
@@ -371,8 +369,7 @@ const settings$1 = { ...settings$2 };
|
|
|
371
369
|
|
|
372
370
|
//#endregion
|
|
373
371
|
//#region src/configs/recommended-type-checked.ts
|
|
374
|
-
var recommended_type_checked_exports = {
|
|
375
|
-
__export(recommended_type_checked_exports, {
|
|
372
|
+
var recommended_type_checked_exports = __export({
|
|
376
373
|
name: () => name$1,
|
|
377
374
|
plugins: () => plugins,
|
|
378
375
|
rules: () => rules,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __export } from "./chunk-
|
|
1
|
+
import { __export } from "./chunk-D3ESV8qN.mjs";
|
|
2
2
|
import reactDebug from "eslint-plugin-react-debug";
|
|
3
3
|
import reactDom from "eslint-plugin-react-dom";
|
|
4
4
|
import reactHooksExtra from "eslint-plugin-react-hooks-extra";
|
|
@@ -9,12 +9,11 @@ import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
|
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
11
|
var name = "@eslint-react/eslint-plugin";
|
|
12
|
-
var version = "1.53.1-beta.
|
|
12
|
+
var version = "1.53.1-beta.2";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/configs/dom.ts
|
|
16
|
-
var dom_exports = {
|
|
17
|
-
__export(dom_exports, {
|
|
16
|
+
var dom_exports = __export({
|
|
18
17
|
name: () => name$12,
|
|
19
18
|
plugins: () => plugins$7,
|
|
20
19
|
rules: () => rules$8,
|
|
@@ -43,8 +42,7 @@ const settings$6 = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
|
43
42
|
|
|
44
43
|
//#endregion
|
|
45
44
|
//#region src/configs/x.ts
|
|
46
|
-
var x_exports = {
|
|
47
|
-
__export(x_exports, {
|
|
45
|
+
var x_exports = __export({
|
|
48
46
|
name: () => name$11,
|
|
49
47
|
plugins: () => plugins$6,
|
|
50
48
|
rules: () => rules$12,
|
|
@@ -100,8 +98,7 @@ const settings$5 = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
|
100
98
|
|
|
101
99
|
//#endregion
|
|
102
100
|
//#region src/configs/all.ts
|
|
103
|
-
var all_exports = {
|
|
104
|
-
__export(all_exports, {
|
|
101
|
+
var all_exports = __export({
|
|
105
102
|
name: () => name$10,
|
|
106
103
|
plugins: () => plugins$5,
|
|
107
104
|
rules: () => rules$3,
|
|
@@ -209,8 +206,7 @@ const settings$4 = { ...settings$6 };
|
|
|
209
206
|
|
|
210
207
|
//#endregion
|
|
211
208
|
//#region src/configs/debug.ts
|
|
212
|
-
var debug_exports = {
|
|
213
|
-
__export(debug_exports, {
|
|
209
|
+
var debug_exports = __export({
|
|
214
210
|
name: () => name$9,
|
|
215
211
|
plugins: () => plugins$4,
|
|
216
212
|
rules: () => rules$10
|
|
@@ -227,8 +223,7 @@ const plugins$4 = { "@eslint-react/debug": reactDebug };
|
|
|
227
223
|
|
|
228
224
|
//#endregion
|
|
229
225
|
//#region src/configs/disable-debug.ts
|
|
230
|
-
var disable_debug_exports = {
|
|
231
|
-
__export(disable_debug_exports, {
|
|
226
|
+
var disable_debug_exports = __export({
|
|
232
227
|
name: () => name$8,
|
|
233
228
|
rules: () => rules$11
|
|
234
229
|
});
|
|
@@ -237,8 +232,7 @@ const rules$11 = Object.fromEntries(Object.entries(rules$10).map(([rule]) => [ru
|
|
|
237
232
|
|
|
238
233
|
//#endregion
|
|
239
234
|
//#region src/configs/disable-dom.ts
|
|
240
|
-
var disable_dom_exports = {
|
|
241
|
-
__export(disable_dom_exports, {
|
|
235
|
+
var disable_dom_exports = __export({
|
|
242
236
|
name: () => name$7,
|
|
243
237
|
rules: () => rules$9
|
|
244
238
|
});
|
|
@@ -247,8 +241,7 @@ const rules$9 = Object.fromEntries(Object.entries(rules$8).map(([key]) => [key,
|
|
|
247
241
|
|
|
248
242
|
//#endregion
|
|
249
243
|
//#region src/configs/disable-type-checked.ts
|
|
250
|
-
var disable_type_checked_exports = {
|
|
251
|
-
__export(disable_type_checked_exports, {
|
|
244
|
+
var disable_type_checked_exports = __export({
|
|
252
245
|
name: () => name$6,
|
|
253
246
|
rules: () => rules$4
|
|
254
247
|
});
|
|
@@ -271,8 +264,7 @@ const settings$3 = { ...settings$6 };
|
|
|
271
264
|
|
|
272
265
|
//#endregion
|
|
273
266
|
//#region src/configs/disable-web-api.ts
|
|
274
|
-
var disable_web_api_exports = {
|
|
275
|
-
__export(disable_web_api_exports, {
|
|
267
|
+
var disable_web_api_exports = __export({
|
|
276
268
|
name: () => name$5,
|
|
277
269
|
rules: () => rules$7
|
|
278
270
|
});
|
|
@@ -281,8 +273,7 @@ const rules$7 = Object.fromEntries(Object.entries(rules$6).map(([key]) => [key,
|
|
|
281
273
|
|
|
282
274
|
//#endregion
|
|
283
275
|
//#region src/configs/off.ts
|
|
284
|
-
var off_exports = {
|
|
285
|
-
__export(off_exports, {
|
|
276
|
+
var off_exports = __export({
|
|
286
277
|
name: () => name$4,
|
|
287
278
|
rules: () => rules$5
|
|
288
279
|
});
|
|
@@ -294,8 +285,7 @@ const rules$5 = {
|
|
|
294
285
|
|
|
295
286
|
//#endregion
|
|
296
287
|
//#region src/configs/recommended.ts
|
|
297
|
-
var recommended_exports = {
|
|
298
|
-
__export(recommended_exports, {
|
|
288
|
+
var recommended_exports = __export({
|
|
299
289
|
name: () => name$3,
|
|
300
290
|
plugins: () => plugins$2,
|
|
301
291
|
rules: () => rules$2,
|
|
@@ -323,8 +313,7 @@ const settings$2 = { ...settings$6 };
|
|
|
323
313
|
|
|
324
314
|
//#endregion
|
|
325
315
|
//#region src/configs/recommended-typescript.ts
|
|
326
|
-
var recommended_typescript_exports = {
|
|
327
|
-
__export(recommended_typescript_exports, {
|
|
316
|
+
var recommended_typescript_exports = __export({
|
|
328
317
|
name: () => name$2,
|
|
329
318
|
plugins: () => plugins$1,
|
|
330
319
|
rules: () => rules$1,
|
|
@@ -343,8 +332,7 @@ const settings$1 = { ...settings$2 };
|
|
|
343
332
|
|
|
344
333
|
//#endregion
|
|
345
334
|
//#region src/configs/recommended-type-checked.ts
|
|
346
|
-
var recommended_type_checked_exports = {
|
|
347
|
-
__export(recommended_type_checked_exports, {
|
|
335
|
+
var recommended_type_checked_exports = __export({
|
|
348
336
|
name: () => name$1,
|
|
349
337
|
plugins: () => plugins,
|
|
350
338
|
rules: () => rules,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.53.1-beta.
|
|
3
|
+
"version": "1.53.1-beta.2",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -46,22 +46,22 @@
|
|
|
46
46
|
"./package.json"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@typescript-eslint/scope-manager": "^8.
|
|
50
|
-
"@typescript-eslint/type-utils": "^8.
|
|
51
|
-
"@typescript-eslint/types": "^8.
|
|
52
|
-
"@typescript-eslint/utils": "^8.
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"@eslint-react/shared": "1.53.1-beta.
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-web-api": "1.53.1-beta.
|
|
60
|
-
"eslint-plugin-react-x": "1.53.1-beta.
|
|
61
|
-
"eslint-plugin-react-
|
|
49
|
+
"@typescript-eslint/scope-manager": "^8.43.0",
|
|
50
|
+
"@typescript-eslint/type-utils": "^8.43.0",
|
|
51
|
+
"@typescript-eslint/types": "^8.43.0",
|
|
52
|
+
"@typescript-eslint/utils": "^8.43.0",
|
|
53
|
+
"@eslint-react/kit": "1.53.1-beta.2",
|
|
54
|
+
"@eslint-react/eff": "1.53.1-beta.2",
|
|
55
|
+
"eslint-plugin-react-debug": "1.53.1-beta.2",
|
|
56
|
+
"eslint-plugin-react-hooks-extra": "1.53.1-beta.2",
|
|
57
|
+
"@eslint-react/shared": "1.53.1-beta.2",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.53.1-beta.2",
|
|
59
|
+
"eslint-plugin-react-web-api": "1.53.1-beta.2",
|
|
60
|
+
"eslint-plugin-react-x": "1.53.1-beta.2",
|
|
61
|
+
"eslint-plugin-react-dom": "1.53.1-beta.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"tsdown": "^0.
|
|
64
|
+
"tsdown": "^0.15.0",
|
|
65
65
|
"@local/configs": "0.0.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|