eslint-plugin-react-x 1.38.0-beta.5 → 1.38.0-next.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.js +5 -11
- package/dist/index.mjs +5 -11
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -137,7 +137,7 @@ var settings3 = {
|
|
|
137
137
|
|
|
138
138
|
// package.json
|
|
139
139
|
var name4 = "eslint-plugin-react-x";
|
|
140
|
-
var version = "1.38.0-
|
|
140
|
+
var version = "1.38.0-next.4";
|
|
141
141
|
var createRule = utils.ESLintUtils.RuleCreator(shared.getDocsUrl("x"));
|
|
142
142
|
|
|
143
143
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -815,9 +815,7 @@ function create13(context) {
|
|
|
815
815
|
};
|
|
816
816
|
}
|
|
817
817
|
var RULE_NAME14 = "no-complex-conditional-rendering";
|
|
818
|
-
var RULE_FEATURES14 = [
|
|
819
|
-
"EXP"
|
|
820
|
-
];
|
|
818
|
+
var RULE_FEATURES14 = [];
|
|
821
819
|
var no_complex_conditional_rendering_default = createRule({
|
|
822
820
|
meta: {
|
|
823
821
|
type: "problem",
|
|
@@ -1420,9 +1418,7 @@ function getComponentPropsFixes(context, fixer, node, typeArguments) {
|
|
|
1420
1418
|
];
|
|
1421
1419
|
}
|
|
1422
1420
|
var RULE_NAME25 = "no-implicit-key";
|
|
1423
|
-
var RULE_FEATURES25 = [
|
|
1424
|
-
"EXP"
|
|
1425
|
-
];
|
|
1421
|
+
var RULE_FEATURES25 = [];
|
|
1426
1422
|
var no_implicit_key_default = createRule({
|
|
1427
1423
|
meta: {
|
|
1428
1424
|
type: "problem",
|
|
@@ -3173,8 +3169,7 @@ function create47(context) {
|
|
|
3173
3169
|
}
|
|
3174
3170
|
var RULE_NAME48 = "prefer-react-namespace-import";
|
|
3175
3171
|
var RULE_FEATURES47 = [
|
|
3176
|
-
"FIX"
|
|
3177
|
-
"EXP"
|
|
3172
|
+
"FIX"
|
|
3178
3173
|
];
|
|
3179
3174
|
var prefer_react_namespace_import_default = createRule({
|
|
3180
3175
|
meta: {
|
|
@@ -3228,8 +3223,7 @@ ${importStringPrefix} ${specifiers} from ${importSourceQuoted}${semiColon}`
|
|
|
3228
3223
|
}
|
|
3229
3224
|
var RULE_NAME49 = "prefer-read-only-props";
|
|
3230
3225
|
var RULE_FEATURES48 = [
|
|
3231
|
-
"TSC"
|
|
3232
|
-
"EXP"
|
|
3226
|
+
"TSC"
|
|
3233
3227
|
];
|
|
3234
3228
|
var prefer_read_only_props_default = createRule({
|
|
3235
3229
|
meta: {
|
package/dist/index.mjs
CHANGED
|
@@ -110,7 +110,7 @@ var settings3 = {
|
|
|
110
110
|
|
|
111
111
|
// package.json
|
|
112
112
|
var name4 = "eslint-plugin-react-x";
|
|
113
|
-
var version = "1.38.0-
|
|
113
|
+
var version = "1.38.0-next.4";
|
|
114
114
|
var createRule = ESLintUtils.RuleCreator(getDocsUrl("x"));
|
|
115
115
|
|
|
116
116
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -788,9 +788,7 @@ function create13(context) {
|
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
790
|
var RULE_NAME14 = "no-complex-conditional-rendering";
|
|
791
|
-
var RULE_FEATURES14 = [
|
|
792
|
-
"EXP"
|
|
793
|
-
];
|
|
791
|
+
var RULE_FEATURES14 = [];
|
|
794
792
|
var no_complex_conditional_rendering_default = createRule({
|
|
795
793
|
meta: {
|
|
796
794
|
type: "problem",
|
|
@@ -1393,9 +1391,7 @@ function getComponentPropsFixes(context, fixer, node, typeArguments) {
|
|
|
1393
1391
|
];
|
|
1394
1392
|
}
|
|
1395
1393
|
var RULE_NAME25 = "no-implicit-key";
|
|
1396
|
-
var RULE_FEATURES25 = [
|
|
1397
|
-
"EXP"
|
|
1398
|
-
];
|
|
1394
|
+
var RULE_FEATURES25 = [];
|
|
1399
1395
|
var no_implicit_key_default = createRule({
|
|
1400
1396
|
meta: {
|
|
1401
1397
|
type: "problem",
|
|
@@ -3146,8 +3142,7 @@ function create47(context) {
|
|
|
3146
3142
|
}
|
|
3147
3143
|
var RULE_NAME48 = "prefer-react-namespace-import";
|
|
3148
3144
|
var RULE_FEATURES47 = [
|
|
3149
|
-
"FIX"
|
|
3150
|
-
"EXP"
|
|
3145
|
+
"FIX"
|
|
3151
3146
|
];
|
|
3152
3147
|
var prefer_react_namespace_import_default = createRule({
|
|
3153
3148
|
meta: {
|
|
@@ -3201,8 +3196,7 @@ ${importStringPrefix} ${specifiers} from ${importSourceQuoted}${semiColon}`
|
|
|
3201
3196
|
}
|
|
3202
3197
|
var RULE_NAME49 = "prefer-read-only-props";
|
|
3203
3198
|
var RULE_FEATURES48 = [
|
|
3204
|
-
"TSC"
|
|
3205
|
-
"EXP"
|
|
3199
|
+
"TSC"
|
|
3206
3200
|
];
|
|
3207
3201
|
var prefer_read_only_props_default = createRule({
|
|
3208
3202
|
meta: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "1.38.0-
|
|
3
|
+
"version": "1.38.0-next.4",
|
|
4
4
|
"description": "A set of composable linting rules for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"is-immutable-type": "^5.0.1",
|
|
51
51
|
"string-ts": "^2.2.1",
|
|
52
52
|
"ts-pattern": "^5.6.2",
|
|
53
|
-
"@eslint-react/core": "1.38.0-
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/eff": "1.38.0-
|
|
56
|
-
"@eslint-react/kit": "1.38.0-
|
|
57
|
-
"@eslint-react/
|
|
58
|
-
"@eslint-react/
|
|
59
|
-
"@eslint-react/
|
|
53
|
+
"@eslint-react/core": "1.38.0-next.4",
|
|
54
|
+
"@eslint-react/ast": "1.38.0-next.4",
|
|
55
|
+
"@eslint-react/eff": "1.38.0-next.4",
|
|
56
|
+
"@eslint-react/kit": "1.38.0-next.4",
|
|
57
|
+
"@eslint-react/shared": "1.38.0-next.4",
|
|
58
|
+
"@eslint-react/var": "1.38.0-next.4",
|
|
59
|
+
"@eslint-react/jsx": "1.38.0-next.4"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/react": "^19.0.12",
|