@eslint-react/eslint-plugin 1.26.3-beta.16 → 1.26.3-beta.19
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/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -82,7 +82,7 @@ declare const plugins$6: {
|
|
|
82
82
|
configs: {
|
|
83
83
|
all: {
|
|
84
84
|
plugins: {
|
|
85
|
-
"react-
|
|
85
|
+
"react-debug": {
|
|
86
86
|
readonly meta: {
|
|
87
87
|
readonly name: string;
|
|
88
88
|
readonly version: string;
|
|
@@ -120,7 +120,7 @@ declare const plugins$6: {
|
|
|
120
120
|
configs: {
|
|
121
121
|
recommended: {
|
|
122
122
|
plugins: {
|
|
123
|
-
"react-
|
|
123
|
+
"react-hooks-extra": {
|
|
124
124
|
readonly meta: {
|
|
125
125
|
readonly name: string;
|
|
126
126
|
readonly version: string;
|
|
@@ -168,7 +168,7 @@ declare const plugins$6: {
|
|
|
168
168
|
configs: {
|
|
169
169
|
recommended: {
|
|
170
170
|
plugins: {
|
|
171
|
-
"react-
|
|
171
|
+
"react-naming-convention": {
|
|
172
172
|
readonly meta: {
|
|
173
173
|
readonly name: string;
|
|
174
174
|
readonly version: string;
|
|
@@ -232,7 +232,7 @@ declare const plugins$6: {
|
|
|
232
232
|
configs: {
|
|
233
233
|
recommended: {
|
|
234
234
|
plugins: {
|
|
235
|
-
"react-
|
|
235
|
+
"react-web-api": {
|
|
236
236
|
readonly meta: {
|
|
237
237
|
readonly name: string;
|
|
238
238
|
readonly version: string;
|
|
@@ -268,7 +268,7 @@ declare const plugins$6: {
|
|
|
268
268
|
configs: {
|
|
269
269
|
recommended: {
|
|
270
270
|
plugins: {
|
|
271
|
-
"react-
|
|
271
|
+
"react-dom": {
|
|
272
272
|
readonly meta: {
|
|
273
273
|
readonly name: string;
|
|
274
274
|
readonly version: string;
|
|
@@ -1012,7 +1012,7 @@ declare const plugins$4: {
|
|
|
1012
1012
|
configs: {
|
|
1013
1013
|
all: {
|
|
1014
1014
|
plugins: {
|
|
1015
|
-
"react-
|
|
1015
|
+
"react-debug": {
|
|
1016
1016
|
readonly meta: {
|
|
1017
1017
|
readonly name: string;
|
|
1018
1018
|
readonly version: string;
|
|
@@ -1099,7 +1099,7 @@ declare const plugins$3: {
|
|
|
1099
1099
|
configs: {
|
|
1100
1100
|
recommended: {
|
|
1101
1101
|
plugins: {
|
|
1102
|
-
"react-
|
|
1102
|
+
"react-dom": {
|
|
1103
1103
|
readonly meta: {
|
|
1104
1104
|
readonly name: string;
|
|
1105
1105
|
readonly version: string;
|
|
@@ -1252,7 +1252,7 @@ declare const plugins$2: {
|
|
|
1252
1252
|
configs: {
|
|
1253
1253
|
all: {
|
|
1254
1254
|
plugins: {
|
|
1255
|
-
"react-
|
|
1255
|
+
"react-debug": {
|
|
1256
1256
|
readonly meta: {
|
|
1257
1257
|
readonly name: string;
|
|
1258
1258
|
readonly version: string;
|
|
@@ -1290,7 +1290,7 @@ declare const plugins$2: {
|
|
|
1290
1290
|
configs: {
|
|
1291
1291
|
recommended: {
|
|
1292
1292
|
plugins: {
|
|
1293
|
-
"react-
|
|
1293
|
+
"react-hooks-extra": {
|
|
1294
1294
|
readonly meta: {
|
|
1295
1295
|
readonly name: string;
|
|
1296
1296
|
readonly version: string;
|
|
@@ -1338,7 +1338,7 @@ declare const plugins$2: {
|
|
|
1338
1338
|
configs: {
|
|
1339
1339
|
recommended: {
|
|
1340
1340
|
plugins: {
|
|
1341
|
-
"react-
|
|
1341
|
+
"react-naming-convention": {
|
|
1342
1342
|
readonly meta: {
|
|
1343
1343
|
readonly name: string;
|
|
1344
1344
|
readonly version: string;
|
|
@@ -1402,7 +1402,7 @@ declare const plugins$2: {
|
|
|
1402
1402
|
configs: {
|
|
1403
1403
|
recommended: {
|
|
1404
1404
|
plugins: {
|
|
1405
|
-
"react-
|
|
1405
|
+
"react-web-api": {
|
|
1406
1406
|
readonly meta: {
|
|
1407
1407
|
readonly name: string;
|
|
1408
1408
|
readonly version: string;
|
|
@@ -1438,7 +1438,7 @@ declare const plugins$2: {
|
|
|
1438
1438
|
configs: {
|
|
1439
1439
|
recommended: {
|
|
1440
1440
|
plugins: {
|
|
1441
|
-
"react-
|
|
1441
|
+
"react-dom": {
|
|
1442
1442
|
readonly meta: {
|
|
1443
1443
|
readonly name: string;
|
|
1444
1444
|
readonly version: string;
|
|
@@ -1874,7 +1874,7 @@ declare const plugins$1: {
|
|
|
1874
1874
|
configs: {
|
|
1875
1875
|
all: {
|
|
1876
1876
|
plugins: {
|
|
1877
|
-
"react-
|
|
1877
|
+
"react-debug": {
|
|
1878
1878
|
readonly meta: {
|
|
1879
1879
|
readonly name: string;
|
|
1880
1880
|
readonly version: string;
|
|
@@ -1912,7 +1912,7 @@ declare const plugins$1: {
|
|
|
1912
1912
|
configs: {
|
|
1913
1913
|
recommended: {
|
|
1914
1914
|
plugins: {
|
|
1915
|
-
"react-
|
|
1915
|
+
"react-hooks-extra": {
|
|
1916
1916
|
readonly meta: {
|
|
1917
1917
|
readonly name: string;
|
|
1918
1918
|
readonly version: string;
|
|
@@ -1960,7 +1960,7 @@ declare const plugins$1: {
|
|
|
1960
1960
|
configs: {
|
|
1961
1961
|
recommended: {
|
|
1962
1962
|
plugins: {
|
|
1963
|
-
"react-
|
|
1963
|
+
"react-naming-convention": {
|
|
1964
1964
|
readonly meta: {
|
|
1965
1965
|
readonly name: string;
|
|
1966
1966
|
readonly version: string;
|
|
@@ -2024,7 +2024,7 @@ declare const plugins$1: {
|
|
|
2024
2024
|
configs: {
|
|
2025
2025
|
recommended: {
|
|
2026
2026
|
plugins: {
|
|
2027
|
-
"react-
|
|
2027
|
+
"react-web-api": {
|
|
2028
2028
|
readonly meta: {
|
|
2029
2029
|
readonly name: string;
|
|
2030
2030
|
readonly version: string;
|
|
@@ -2060,7 +2060,7 @@ declare const plugins$1: {
|
|
|
2060
2060
|
configs: {
|
|
2061
2061
|
recommended: {
|
|
2062
2062
|
plugins: {
|
|
2063
|
-
"react-
|
|
2063
|
+
"react-dom": {
|
|
2064
2064
|
readonly meta: {
|
|
2065
2065
|
readonly name: string;
|
|
2066
2066
|
readonly version: string;
|
|
@@ -2495,7 +2495,7 @@ declare const plugins: {
|
|
|
2495
2495
|
configs: {
|
|
2496
2496
|
all: {
|
|
2497
2497
|
plugins: {
|
|
2498
|
-
"react-
|
|
2498
|
+
"react-debug": {
|
|
2499
2499
|
readonly meta: {
|
|
2500
2500
|
readonly name: string;
|
|
2501
2501
|
readonly version: string;
|
|
@@ -2533,7 +2533,7 @@ declare const plugins: {
|
|
|
2533
2533
|
configs: {
|
|
2534
2534
|
recommended: {
|
|
2535
2535
|
plugins: {
|
|
2536
|
-
"react-
|
|
2536
|
+
"react-hooks-extra": {
|
|
2537
2537
|
readonly meta: {
|
|
2538
2538
|
readonly name: string;
|
|
2539
2539
|
readonly version: string;
|
|
@@ -2581,7 +2581,7 @@ declare const plugins: {
|
|
|
2581
2581
|
configs: {
|
|
2582
2582
|
recommended: {
|
|
2583
2583
|
plugins: {
|
|
2584
|
-
"react-
|
|
2584
|
+
"react-naming-convention": {
|
|
2585
2585
|
readonly meta: {
|
|
2586
2586
|
readonly name: string;
|
|
2587
2587
|
readonly version: string;
|
|
@@ -2645,7 +2645,7 @@ declare const plugins: {
|
|
|
2645
2645
|
configs: {
|
|
2646
2646
|
recommended: {
|
|
2647
2647
|
plugins: {
|
|
2648
|
-
"react-
|
|
2648
|
+
"react-web-api": {
|
|
2649
2649
|
readonly meta: {
|
|
2650
2650
|
readonly name: string;
|
|
2651
2651
|
readonly version: string;
|
|
@@ -2681,7 +2681,7 @@ declare const plugins: {
|
|
|
2681
2681
|
configs: {
|
|
2682
2682
|
recommended: {
|
|
2683
2683
|
plugins: {
|
|
2684
|
-
"react-
|
|
2684
|
+
"react-dom": {
|
|
2685
2685
|
readonly meta: {
|
|
2686
2686
|
readonly name: string;
|
|
2687
2687
|
readonly version: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ declare const plugins$6: {
|
|
|
82
82
|
configs: {
|
|
83
83
|
all: {
|
|
84
84
|
plugins: {
|
|
85
|
-
"react-
|
|
85
|
+
"react-debug": {
|
|
86
86
|
readonly meta: {
|
|
87
87
|
readonly name: string;
|
|
88
88
|
readonly version: string;
|
|
@@ -120,7 +120,7 @@ declare const plugins$6: {
|
|
|
120
120
|
configs: {
|
|
121
121
|
recommended: {
|
|
122
122
|
plugins: {
|
|
123
|
-
"react-
|
|
123
|
+
"react-hooks-extra": {
|
|
124
124
|
readonly meta: {
|
|
125
125
|
readonly name: string;
|
|
126
126
|
readonly version: string;
|
|
@@ -168,7 +168,7 @@ declare const plugins$6: {
|
|
|
168
168
|
configs: {
|
|
169
169
|
recommended: {
|
|
170
170
|
plugins: {
|
|
171
|
-
"react-
|
|
171
|
+
"react-naming-convention": {
|
|
172
172
|
readonly meta: {
|
|
173
173
|
readonly name: string;
|
|
174
174
|
readonly version: string;
|
|
@@ -232,7 +232,7 @@ declare const plugins$6: {
|
|
|
232
232
|
configs: {
|
|
233
233
|
recommended: {
|
|
234
234
|
plugins: {
|
|
235
|
-
"react-
|
|
235
|
+
"react-web-api": {
|
|
236
236
|
readonly meta: {
|
|
237
237
|
readonly name: string;
|
|
238
238
|
readonly version: string;
|
|
@@ -268,7 +268,7 @@ declare const plugins$6: {
|
|
|
268
268
|
configs: {
|
|
269
269
|
recommended: {
|
|
270
270
|
plugins: {
|
|
271
|
-
"react-
|
|
271
|
+
"react-dom": {
|
|
272
272
|
readonly meta: {
|
|
273
273
|
readonly name: string;
|
|
274
274
|
readonly version: string;
|
|
@@ -1012,7 +1012,7 @@ declare const plugins$4: {
|
|
|
1012
1012
|
configs: {
|
|
1013
1013
|
all: {
|
|
1014
1014
|
plugins: {
|
|
1015
|
-
"react-
|
|
1015
|
+
"react-debug": {
|
|
1016
1016
|
readonly meta: {
|
|
1017
1017
|
readonly name: string;
|
|
1018
1018
|
readonly version: string;
|
|
@@ -1099,7 +1099,7 @@ declare const plugins$3: {
|
|
|
1099
1099
|
configs: {
|
|
1100
1100
|
recommended: {
|
|
1101
1101
|
plugins: {
|
|
1102
|
-
"react-
|
|
1102
|
+
"react-dom": {
|
|
1103
1103
|
readonly meta: {
|
|
1104
1104
|
readonly name: string;
|
|
1105
1105
|
readonly version: string;
|
|
@@ -1252,7 +1252,7 @@ declare const plugins$2: {
|
|
|
1252
1252
|
configs: {
|
|
1253
1253
|
all: {
|
|
1254
1254
|
plugins: {
|
|
1255
|
-
"react-
|
|
1255
|
+
"react-debug": {
|
|
1256
1256
|
readonly meta: {
|
|
1257
1257
|
readonly name: string;
|
|
1258
1258
|
readonly version: string;
|
|
@@ -1290,7 +1290,7 @@ declare const plugins$2: {
|
|
|
1290
1290
|
configs: {
|
|
1291
1291
|
recommended: {
|
|
1292
1292
|
plugins: {
|
|
1293
|
-
"react-
|
|
1293
|
+
"react-hooks-extra": {
|
|
1294
1294
|
readonly meta: {
|
|
1295
1295
|
readonly name: string;
|
|
1296
1296
|
readonly version: string;
|
|
@@ -1338,7 +1338,7 @@ declare const plugins$2: {
|
|
|
1338
1338
|
configs: {
|
|
1339
1339
|
recommended: {
|
|
1340
1340
|
plugins: {
|
|
1341
|
-
"react-
|
|
1341
|
+
"react-naming-convention": {
|
|
1342
1342
|
readonly meta: {
|
|
1343
1343
|
readonly name: string;
|
|
1344
1344
|
readonly version: string;
|
|
@@ -1402,7 +1402,7 @@ declare const plugins$2: {
|
|
|
1402
1402
|
configs: {
|
|
1403
1403
|
recommended: {
|
|
1404
1404
|
plugins: {
|
|
1405
|
-
"react-
|
|
1405
|
+
"react-web-api": {
|
|
1406
1406
|
readonly meta: {
|
|
1407
1407
|
readonly name: string;
|
|
1408
1408
|
readonly version: string;
|
|
@@ -1438,7 +1438,7 @@ declare const plugins$2: {
|
|
|
1438
1438
|
configs: {
|
|
1439
1439
|
recommended: {
|
|
1440
1440
|
plugins: {
|
|
1441
|
-
"react-
|
|
1441
|
+
"react-dom": {
|
|
1442
1442
|
readonly meta: {
|
|
1443
1443
|
readonly name: string;
|
|
1444
1444
|
readonly version: string;
|
|
@@ -1874,7 +1874,7 @@ declare const plugins$1: {
|
|
|
1874
1874
|
configs: {
|
|
1875
1875
|
all: {
|
|
1876
1876
|
plugins: {
|
|
1877
|
-
"react-
|
|
1877
|
+
"react-debug": {
|
|
1878
1878
|
readonly meta: {
|
|
1879
1879
|
readonly name: string;
|
|
1880
1880
|
readonly version: string;
|
|
@@ -1912,7 +1912,7 @@ declare const plugins$1: {
|
|
|
1912
1912
|
configs: {
|
|
1913
1913
|
recommended: {
|
|
1914
1914
|
plugins: {
|
|
1915
|
-
"react-
|
|
1915
|
+
"react-hooks-extra": {
|
|
1916
1916
|
readonly meta: {
|
|
1917
1917
|
readonly name: string;
|
|
1918
1918
|
readonly version: string;
|
|
@@ -1960,7 +1960,7 @@ declare const plugins$1: {
|
|
|
1960
1960
|
configs: {
|
|
1961
1961
|
recommended: {
|
|
1962
1962
|
plugins: {
|
|
1963
|
-
"react-
|
|
1963
|
+
"react-naming-convention": {
|
|
1964
1964
|
readonly meta: {
|
|
1965
1965
|
readonly name: string;
|
|
1966
1966
|
readonly version: string;
|
|
@@ -2024,7 +2024,7 @@ declare const plugins$1: {
|
|
|
2024
2024
|
configs: {
|
|
2025
2025
|
recommended: {
|
|
2026
2026
|
plugins: {
|
|
2027
|
-
"react-
|
|
2027
|
+
"react-web-api": {
|
|
2028
2028
|
readonly meta: {
|
|
2029
2029
|
readonly name: string;
|
|
2030
2030
|
readonly version: string;
|
|
@@ -2060,7 +2060,7 @@ declare const plugins$1: {
|
|
|
2060
2060
|
configs: {
|
|
2061
2061
|
recommended: {
|
|
2062
2062
|
plugins: {
|
|
2063
|
-
"react-
|
|
2063
|
+
"react-dom": {
|
|
2064
2064
|
readonly meta: {
|
|
2065
2065
|
readonly name: string;
|
|
2066
2066
|
readonly version: string;
|
|
@@ -2495,7 +2495,7 @@ declare const plugins: {
|
|
|
2495
2495
|
configs: {
|
|
2496
2496
|
all: {
|
|
2497
2497
|
plugins: {
|
|
2498
|
-
"react-
|
|
2498
|
+
"react-debug": {
|
|
2499
2499
|
readonly meta: {
|
|
2500
2500
|
readonly name: string;
|
|
2501
2501
|
readonly version: string;
|
|
@@ -2533,7 +2533,7 @@ declare const plugins: {
|
|
|
2533
2533
|
configs: {
|
|
2534
2534
|
recommended: {
|
|
2535
2535
|
plugins: {
|
|
2536
|
-
"react-
|
|
2536
|
+
"react-hooks-extra": {
|
|
2537
2537
|
readonly meta: {
|
|
2538
2538
|
readonly name: string;
|
|
2539
2539
|
readonly version: string;
|
|
@@ -2581,7 +2581,7 @@ declare const plugins: {
|
|
|
2581
2581
|
configs: {
|
|
2582
2582
|
recommended: {
|
|
2583
2583
|
plugins: {
|
|
2584
|
-
"react-
|
|
2584
|
+
"react-naming-convention": {
|
|
2585
2585
|
readonly meta: {
|
|
2586
2586
|
readonly name: string;
|
|
2587
2587
|
readonly version: string;
|
|
@@ -2645,7 +2645,7 @@ declare const plugins: {
|
|
|
2645
2645
|
configs: {
|
|
2646
2646
|
recommended: {
|
|
2647
2647
|
plugins: {
|
|
2648
|
-
"react-
|
|
2648
|
+
"react-web-api": {
|
|
2649
2649
|
readonly meta: {
|
|
2650
2650
|
readonly name: string;
|
|
2651
2651
|
readonly version: string;
|
|
@@ -2681,7 +2681,7 @@ declare const plugins: {
|
|
|
2681
2681
|
configs: {
|
|
2682
2682
|
recommended: {
|
|
2683
2683
|
plugins: {
|
|
2684
|
-
"react-
|
|
2684
|
+
"react-dom": {
|
|
2685
2685
|
readonly meta: {
|
|
2686
2686
|
readonly name: string;
|
|
2687
2687
|
readonly version: string;
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __export = (target, all) => {
|
|
|
25
25
|
|
|
26
26
|
// package.json
|
|
27
27
|
var name = "@eslint-react/eslint-plugin";
|
|
28
|
-
var version = "1.26.3-beta.
|
|
28
|
+
var version = "1.26.3-beta.19";
|
|
29
29
|
|
|
30
30
|
// src/configs/all.ts
|
|
31
31
|
var all_exports = {};
|
|
@@ -390,10 +390,10 @@ function padKeysLeft(obj, left) {
|
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
// src/index.ts
|
|
393
|
-
function toLegacyConfig(
|
|
393
|
+
function toLegacyConfig({ rules: rules14 }) {
|
|
394
394
|
return {
|
|
395
395
|
plugins: ["@eslint-react"],
|
|
396
|
-
rules:
|
|
396
|
+
rules: rules14
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
399
|
var index_default = {
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var __export = (target, all) => {
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "@eslint-react/eslint-plugin";
|
|
17
|
-
var version = "1.26.3-beta.
|
|
17
|
+
var version = "1.26.3-beta.19";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -379,10 +379,10 @@ function padKeysLeft(obj, left) {
|
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
// src/index.ts
|
|
382
|
-
function toLegacyConfig(
|
|
382
|
+
function toLegacyConfig({ rules: rules14 }) {
|
|
383
383
|
return {
|
|
384
384
|
plugins: ["@eslint-react"],
|
|
385
|
-
rules:
|
|
385
|
+
rules: rules14
|
|
386
386
|
};
|
|
387
387
|
}
|
|
388
388
|
var index_default = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.26.3-beta.
|
|
3
|
+
"version": "1.26.3-beta.19",
|
|
4
4
|
"description": "More than 80 high-quality linting rules for writing better React code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.24.1",
|
|
51
51
|
"@typescript-eslint/types": "^8.24.1",
|
|
52
52
|
"@typescript-eslint/utils": "^8.24.1",
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"eslint-
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
59
|
-
"eslint-plugin-react-
|
|
60
|
-
"eslint-plugin-react-
|
|
53
|
+
"@eslint-react/shared": "1.26.3-beta.19",
|
|
54
|
+
"@eslint-react/eff": "1.26.3-beta.19",
|
|
55
|
+
"eslint-plugin-react-debug": "1.26.3-beta.19",
|
|
56
|
+
"eslint-plugin-react-hooks-extra": "1.26.3-beta.19",
|
|
57
|
+
"eslint-plugin-react-dom": "1.26.3-beta.19",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.26.3-beta.19",
|
|
59
|
+
"eslint-plugin-react-web-api": "1.26.3-beta.19",
|
|
60
|
+
"eslint-plugin-react-x": "1.26.3-beta.19"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"tsup": "^8.3.6",
|
|
@@ -85,6 +85,6 @@
|
|
|
85
85
|
"scripts": {
|
|
86
86
|
"build": "tsup --dts-resolve",
|
|
87
87
|
"lint:publish": "pnpm publint",
|
|
88
|
-
"lint:
|
|
88
|
+
"lint:ts": "tsc --noEmit"
|
|
89
89
|
}
|
|
90
90
|
}
|