eslint-plugin-react-x 1.23.3-next.0 → 1.23.3-next.1
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ var ts__default = /*#__PURE__*/_interopDefault(ts);
|
|
|
42
42
|
|
|
43
43
|
// package.json
|
|
44
44
|
var name = "eslint-plugin-react-x";
|
|
45
|
-
var version = "1.23.3-next.
|
|
45
|
+
var version = "1.23.3-next.1";
|
|
46
46
|
var createRule = shared.createRuleForPlugin("x");
|
|
47
47
|
|
|
48
48
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -1851,7 +1851,7 @@ var no_nested_components_default = createRule({
|
|
|
1851
1851
|
},
|
|
1852
1852
|
name: RULE_NAME30,
|
|
1853
1853
|
create(context) {
|
|
1854
|
-
const hint = core.ERComponentHint.SkipMapCallback | core.ERComponentHint.SkipNullLiteral | core.ERComponentHint.
|
|
1854
|
+
const hint = core.ERComponentHint.SkipMapCallback | core.ERComponentHint.SkipNullLiteral | core.ERComponentHint.SkipUndefined | core.ERComponentHint.SkipBooleanLiteral | core.ERComponentHint.SkipStringLiteral | core.ERComponentHint.SkipNumberLiteral | core.ERComponentHint.StrictLogical | core.ERComponentHint.StrictConditional;
|
|
1855
1855
|
const collector = core.useComponentCollector(context, hint);
|
|
1856
1856
|
const collectorLegacy = core.useComponentCollectorLegacy();
|
|
1857
1857
|
return {
|
package/dist/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ import { getTypeImmutability, isUnknown, isImmutable, isReadonlyShallow, isReado
|
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
17
|
var name = "eslint-plugin-react-x";
|
|
18
|
-
var version = "1.23.3-next.
|
|
18
|
+
var version = "1.23.3-next.1";
|
|
19
19
|
var createRule = createRuleForPlugin("x");
|
|
20
20
|
|
|
21
21
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -1824,7 +1824,7 @@ var no_nested_components_default = createRule({
|
|
|
1824
1824
|
},
|
|
1825
1825
|
name: RULE_NAME30,
|
|
1826
1826
|
create(context) {
|
|
1827
|
-
const hint = ERComponentHint.SkipMapCallback | ERComponentHint.SkipNullLiteral | ERComponentHint.
|
|
1827
|
+
const hint = ERComponentHint.SkipMapCallback | ERComponentHint.SkipNullLiteral | ERComponentHint.SkipUndefined | ERComponentHint.SkipBooleanLiteral | ERComponentHint.SkipStringLiteral | ERComponentHint.SkipNumberLiteral | ERComponentHint.StrictLogical | ERComponentHint.StrictConditional;
|
|
1828
1828
|
const collector = useComponentCollector(context, hint);
|
|
1829
1829
|
const collectorLegacy = useComponentCollectorLegacy();
|
|
1830
1830
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "1.23.3-next.
|
|
3
|
+
"version": "1.23.3-next.1",
|
|
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",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"string-ts": "^2.2.0",
|
|
52
52
|
"ts-api-utils": "^2.0.0",
|
|
53
53
|
"ts-pattern": "^5.6.0",
|
|
54
|
-
"@eslint-react/ast": "1.23.3-next.
|
|
55
|
-
"@eslint-react/core": "1.23.3-next.
|
|
56
|
-
"@eslint-react/eff": "1.23.3-next.
|
|
57
|
-
"@eslint-react/jsx": "1.23.3-next.
|
|
58
|
-
"@eslint-react/
|
|
59
|
-
"@eslint-react/
|
|
60
|
-
"@eslint-react/
|
|
54
|
+
"@eslint-react/ast": "1.23.3-next.1",
|
|
55
|
+
"@eslint-react/core": "1.23.3-next.1",
|
|
56
|
+
"@eslint-react/eff": "1.23.3-next.1",
|
|
57
|
+
"@eslint-react/jsx": "1.23.3-next.1",
|
|
58
|
+
"@eslint-react/types": "1.23.3-next.1",
|
|
59
|
+
"@eslint-react/var": "1.23.3-next.1",
|
|
60
|
+
"@eslint-react/shared": "1.23.3-next.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/react": "^19.0.3",
|