eslint-plugin-react-x 1.40.3-beta.0 → 1.40.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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -141,7 +141,7 @@ var settings3 = {
|
|
|
141
141
|
|
|
142
142
|
// package.json
|
|
143
143
|
var name4 = "eslint-plugin-react-x";
|
|
144
|
-
var version = "1.40.3-
|
|
144
|
+
var version = "1.40.3-next.1";
|
|
145
145
|
var createRule = utils.ESLintUtils.RuleCreator(shared.getDocsUrl("x"));
|
|
146
146
|
|
|
147
147
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -1772,7 +1772,7 @@ function create30(context) {
|
|
|
1772
1772
|
{
|
|
1773
1773
|
collectDisplayName: true,
|
|
1774
1774
|
collectHookCalls: false,
|
|
1775
|
-
hint: ER21__namespace.
|
|
1775
|
+
hint: ER21__namespace.DEFAULT_COMPONENT_DETECTION_HINT
|
|
1776
1776
|
}
|
|
1777
1777
|
);
|
|
1778
1778
|
return {
|
|
@@ -2004,7 +2004,7 @@ var no_nested_component_definitions_default = createRule({
|
|
|
2004
2004
|
defaultOptions: []
|
|
2005
2005
|
});
|
|
2006
2006
|
function create33(context) {
|
|
2007
|
-
const hint = ER21__namespace.
|
|
2007
|
+
const hint = ER21__namespace.ComponentDetectionHint.SkipArrayMapArgument | ER21__namespace.ComponentDetectionHint.SkipNullLiteral | ER21__namespace.ComponentDetectionHint.SkipUndefined | ER21__namespace.ComponentDetectionHint.SkipBooleanLiteral | ER21__namespace.ComponentDetectionHint.SkipStringLiteral | ER21__namespace.ComponentDetectionHint.SkipNumberLiteral | ER21__namespace.ComponentDetectionHint.StrictLogical | ER21__namespace.ComponentDetectionHint.StrictConditional;
|
|
2008
2008
|
const collector = ER21__namespace.useComponentCollector(context, { hint });
|
|
2009
2009
|
const collectorLegacy = ER21__namespace.useComponentCollectorLegacy();
|
|
2010
2010
|
return {
|
package/dist/index.mjs
CHANGED
|
@@ -113,7 +113,7 @@ var settings3 = {
|
|
|
113
113
|
|
|
114
114
|
// package.json
|
|
115
115
|
var name4 = "eslint-plugin-react-x";
|
|
116
|
-
var version = "1.40.3-
|
|
116
|
+
var version = "1.40.3-next.1";
|
|
117
117
|
var createRule = ESLintUtils.RuleCreator(getDocsUrl("x"));
|
|
118
118
|
|
|
119
119
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -1744,7 +1744,7 @@ function create30(context) {
|
|
|
1744
1744
|
{
|
|
1745
1745
|
collectDisplayName: true,
|
|
1746
1746
|
collectHookCalls: false,
|
|
1747
|
-
hint: ER21.
|
|
1747
|
+
hint: ER21.DEFAULT_COMPONENT_DETECTION_HINT
|
|
1748
1748
|
}
|
|
1749
1749
|
);
|
|
1750
1750
|
return {
|
|
@@ -1976,7 +1976,7 @@ var no_nested_component_definitions_default = createRule({
|
|
|
1976
1976
|
defaultOptions: []
|
|
1977
1977
|
});
|
|
1978
1978
|
function create33(context) {
|
|
1979
|
-
const hint = ER21.
|
|
1979
|
+
const hint = ER21.ComponentDetectionHint.SkipArrayMapArgument | ER21.ComponentDetectionHint.SkipNullLiteral | ER21.ComponentDetectionHint.SkipUndefined | ER21.ComponentDetectionHint.SkipBooleanLiteral | ER21.ComponentDetectionHint.SkipStringLiteral | ER21.ComponentDetectionHint.SkipNumberLiteral | ER21.ComponentDetectionHint.StrictLogical | ER21.ComponentDetectionHint.StrictConditional;
|
|
1980
1980
|
const collector = ER21.useComponentCollector(context, { hint });
|
|
1981
1981
|
const collectorLegacy = ER21.useComponentCollectorLegacy();
|
|
1982
1982
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "1.40.3-
|
|
3
|
+
"version": "1.40.3-next.1",
|
|
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.7.0",
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"@eslint-react/
|
|
57
|
-
"@eslint-react/
|
|
58
|
-
"@eslint-react/
|
|
59
|
-
"@eslint-react/
|
|
53
|
+
"@eslint-react/core": "1.40.3-next.1",
|
|
54
|
+
"@eslint-react/ast": "1.40.3-next.1",
|
|
55
|
+
"@eslint-react/eff": "1.40.3-next.1",
|
|
56
|
+
"@eslint-react/jsx": "1.40.3-next.1",
|
|
57
|
+
"@eslint-react/kit": "1.40.3-next.1",
|
|
58
|
+
"@eslint-react/shared": "1.40.3-next.1",
|
|
59
|
+
"@eslint-react/var": "1.40.3-next.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/react": "^19.1.0",
|