@eslint-react/eslint-plugin 1.25.1-next.0 → 1.26.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +13 -13
package/dist/index.d.mts
CHANGED
|
@@ -43,6 +43,7 @@ declare const rules$b: {
|
|
|
43
43
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
44
44
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
45
45
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
46
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
46
47
|
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
47
48
|
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
48
49
|
readonly "@eslint-react/prefer-shorthand-boolean": "warn";
|
|
@@ -215,6 +216,7 @@ declare const plugins$6: {
|
|
|
215
216
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
216
217
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
217
218
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
219
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
218
220
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
219
221
|
allowExpressions: boolean;
|
|
220
222
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -298,6 +300,7 @@ declare const rules$a: {
|
|
|
298
300
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
299
301
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
300
302
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
303
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
301
304
|
readonly "@eslint-react/use-jsx-vars": "warn";
|
|
302
305
|
};
|
|
303
306
|
declare const plugins$5: {
|
|
@@ -350,6 +353,7 @@ declare const plugins$5: {
|
|
|
350
353
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
351
354
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
352
355
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
356
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
353
357
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
354
358
|
allowExpressions: boolean;
|
|
355
359
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -580,6 +584,7 @@ declare const rules$2: {
|
|
|
580
584
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
581
585
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
582
586
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
587
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
583
588
|
readonly "@eslint-react/use-jsx-vars": "warn";
|
|
584
589
|
};
|
|
585
590
|
declare const plugins$2: {
|
|
@@ -722,6 +727,7 @@ declare const plugins$2: {
|
|
|
722
727
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
723
728
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
729
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
730
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
731
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
726
732
|
allowExpressions: boolean;
|
|
727
733
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -826,6 +832,7 @@ declare const rules$1: {
|
|
|
826
832
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
827
833
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
828
834
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
835
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
829
836
|
};
|
|
830
837
|
declare const plugins$1: {
|
|
831
838
|
"@eslint-react/debug": {
|
|
@@ -967,6 +974,7 @@ declare const plugins$1: {
|
|
|
967
974
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
968
975
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
969
976
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
977
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
970
978
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
971
979
|
allowExpressions: boolean;
|
|
972
980
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1070,6 +1078,7 @@ declare const rules: {
|
|
|
1070
1078
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1071
1079
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1072
1080
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
1081
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
1073
1082
|
};
|
|
1074
1083
|
declare const plugins: {
|
|
1075
1084
|
"@eslint-react/debug": {
|
|
@@ -1211,6 +1220,7 @@ declare const plugins: {
|
|
|
1211
1220
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1212
1221
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1213
1222
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1223
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1214
1224
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1215
1225
|
allowExpressions: boolean;
|
|
1216
1226
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1415,6 +1425,7 @@ declare const _default: {
|
|
|
1415
1425
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1416
1426
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1417
1427
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1428
|
+
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1418
1429
|
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1419
1430
|
allowExpressions: boolean;
|
|
1420
1431
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ declare const rules$b: {
|
|
|
43
43
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
44
44
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
45
45
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
46
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
46
47
|
readonly "@eslint-react/no-useless-fragment": "warn";
|
|
47
48
|
readonly "@eslint-react/prefer-destructuring-assignment": "warn";
|
|
48
49
|
readonly "@eslint-react/prefer-shorthand-boolean": "warn";
|
|
@@ -215,6 +216,7 @@ declare const plugins$6: {
|
|
|
215
216
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
216
217
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
217
218
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
219
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
218
220
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
219
221
|
allowExpressions: boolean;
|
|
220
222
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -298,6 +300,7 @@ declare const rules$a: {
|
|
|
298
300
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
299
301
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
300
302
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
303
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
301
304
|
readonly "@eslint-react/use-jsx-vars": "warn";
|
|
302
305
|
};
|
|
303
306
|
declare const plugins$5: {
|
|
@@ -350,6 +353,7 @@ declare const plugins$5: {
|
|
|
350
353
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
351
354
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
352
355
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
356
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
353
357
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
354
358
|
allowExpressions: boolean;
|
|
355
359
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -580,6 +584,7 @@ declare const rules$2: {
|
|
|
580
584
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
581
585
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
582
586
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
587
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
583
588
|
readonly "@eslint-react/use-jsx-vars": "warn";
|
|
584
589
|
};
|
|
585
590
|
declare const plugins$2: {
|
|
@@ -722,6 +727,7 @@ declare const plugins$2: {
|
|
|
722
727
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
723
728
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
724
729
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
730
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
725
731
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
726
732
|
allowExpressions: boolean;
|
|
727
733
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -826,6 +832,7 @@ declare const rules$1: {
|
|
|
826
832
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
827
833
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
828
834
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
835
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
829
836
|
};
|
|
830
837
|
declare const plugins$1: {
|
|
831
838
|
"@eslint-react/debug": {
|
|
@@ -967,6 +974,7 @@ declare const plugins$1: {
|
|
|
967
974
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
968
975
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
969
976
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
977
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
970
978
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
971
979
|
allowExpressions: boolean;
|
|
972
980
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1070,6 +1078,7 @@ declare const rules: {
|
|
|
1070
1078
|
readonly "@eslint-react/no-unstable-default-props": "warn";
|
|
1071
1079
|
readonly "@eslint-react/no-unused-class-component-members": "warn";
|
|
1072
1080
|
readonly "@eslint-react/no-unused-state": "warn";
|
|
1081
|
+
readonly "@eslint-react/no-use-context": "warn";
|
|
1073
1082
|
};
|
|
1074
1083
|
declare const plugins: {
|
|
1075
1084
|
"@eslint-react/debug": {
|
|
@@ -1211,6 +1220,7 @@ declare const plugins: {
|
|
|
1211
1220
|
"no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1212
1221
|
"no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1213
1222
|
"no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1223
|
+
"no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1214
1224
|
"no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1215
1225
|
allowExpressions: boolean;
|
|
1216
1226
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
@@ -1415,6 +1425,7 @@ declare const _default: {
|
|
|
1415
1425
|
readonly "no-unstable-default-props": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnstableDefaultProps", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1416
1426
|
readonly "no-unused-class-component-members": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedClassComponentMembers", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1417
1427
|
readonly "no-unused-state": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnusedState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1428
|
+
readonly "no-use-context": _typescript_eslint_utils_ts_eslint.RuleModule<"noUseContext", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1418
1429
|
readonly "no-useless-fragment": _typescript_eslint_utils_ts_eslint.RuleModule<"noUselessFragment" | "noUselessFragmentInBuiltIn", [{
|
|
1419
1430
|
allowExpressions: boolean;
|
|
1420
1431
|
}], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
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.
|
|
28
|
+
var version = "1.26.0-beta.4";
|
|
29
29
|
|
|
30
30
|
// src/configs/all.ts
|
|
31
31
|
var all_exports = {};
|
|
@@ -82,6 +82,7 @@ var rules = {
|
|
|
82
82
|
"@eslint-react/no-unstable-default-props": "warn",
|
|
83
83
|
"@eslint-react/no-unused-class-component-members": "warn",
|
|
84
84
|
"@eslint-react/no-unused-state": "warn",
|
|
85
|
+
"@eslint-react/no-use-context": "warn",
|
|
85
86
|
"@eslint-react/use-jsx-vars": "warn"
|
|
86
87
|
};
|
|
87
88
|
var plugins = {
|
|
@@ -163,6 +164,7 @@ var rules3 = {
|
|
|
163
164
|
"@eslint-react/no-unstable-default-props": "warn",
|
|
164
165
|
"@eslint-react/no-unused-class-component-members": "warn",
|
|
165
166
|
"@eslint-react/no-unused-state": "warn",
|
|
167
|
+
"@eslint-react/no-use-context": "warn",
|
|
166
168
|
"@eslint-react/no-useless-fragment": "warn",
|
|
167
169
|
"@eslint-react/prefer-destructuring-assignment": "warn",
|
|
168
170
|
"@eslint-react/prefer-shorthand-boolean": "warn",
|
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.
|
|
17
|
+
var version = "1.26.0-beta.4";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -71,6 +71,7 @@ var rules = {
|
|
|
71
71
|
"@eslint-react/no-unstable-default-props": "warn",
|
|
72
72
|
"@eslint-react/no-unused-class-component-members": "warn",
|
|
73
73
|
"@eslint-react/no-unused-state": "warn",
|
|
74
|
+
"@eslint-react/no-use-context": "warn",
|
|
74
75
|
"@eslint-react/use-jsx-vars": "warn"
|
|
75
76
|
};
|
|
76
77
|
var plugins = {
|
|
@@ -152,6 +153,7 @@ var rules3 = {
|
|
|
152
153
|
"@eslint-react/no-unstable-default-props": "warn",
|
|
153
154
|
"@eslint-react/no-unused-class-component-members": "warn",
|
|
154
155
|
"@eslint-react/no-unused-state": "warn",
|
|
156
|
+
"@eslint-react/no-use-context": "warn",
|
|
155
157
|
"@eslint-react/no-useless-fragment": "warn",
|
|
156
158
|
"@eslint-react/prefer-destructuring-assignment": "warn",
|
|
157
159
|
"@eslint-react/prefer-shorthand-boolean": "warn",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0-beta.4",
|
|
4
4
|
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"./package.json"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@typescript-eslint/scope-manager": "^8.
|
|
48
|
-
"@typescript-eslint/type-utils": "^8.
|
|
49
|
-
"@typescript-eslint/types": "^8.
|
|
50
|
-
"@typescript-eslint/utils": "^8.
|
|
51
|
-
"@eslint-react/eff": "1.
|
|
52
|
-
"eslint-
|
|
53
|
-
"
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-naming-convention": "1.
|
|
58
|
-
"eslint-plugin-react-x": "1.
|
|
47
|
+
"@typescript-eslint/scope-manager": "^8.22.0",
|
|
48
|
+
"@typescript-eslint/type-utils": "^8.22.0",
|
|
49
|
+
"@typescript-eslint/types": "^8.22.0",
|
|
50
|
+
"@typescript-eslint/utils": "^8.22.0",
|
|
51
|
+
"@eslint-react/eff": "1.26.0-beta.4",
|
|
52
|
+
"@eslint-react/shared": "1.26.0-beta.4",
|
|
53
|
+
"eslint-plugin-react-debug": "1.26.0-beta.4",
|
|
54
|
+
"eslint-plugin-react-dom": "1.26.0-beta.4",
|
|
55
|
+
"eslint-plugin-react-web-api": "1.26.0-beta.4",
|
|
56
|
+
"eslint-plugin-react-hooks-extra": "1.26.0-beta.4",
|
|
57
|
+
"eslint-plugin-react-naming-convention": "1.26.0-beta.4",
|
|
58
|
+
"eslint-plugin-react-x": "1.26.0-beta.4"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsup": "^8.3.6",
|