@eslint-react/core 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.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -30,13 +30,14 @@ declare const ERComponentHint: {
|
|
|
30
30
|
readonly SkipClassMethod: bigint;
|
|
31
31
|
readonly SkipClassProperty: bigint;
|
|
32
32
|
readonly None: 0n;
|
|
33
|
+
readonly SkipUndefined: bigint;
|
|
33
34
|
readonly SkipNullLiteral: bigint;
|
|
34
|
-
readonly SkipUndefinedLiteral: bigint;
|
|
35
35
|
readonly SkipBooleanLiteral: bigint;
|
|
36
36
|
readonly SkipStringLiteral: bigint;
|
|
37
37
|
readonly SkipNumberLiteral: bigint;
|
|
38
|
-
readonly
|
|
38
|
+
readonly SkipBigIntLiteral: bigint;
|
|
39
39
|
readonly SkipEmptyArray: bigint;
|
|
40
|
+
readonly SkipCreateElement: bigint;
|
|
40
41
|
readonly StrictArray: bigint;
|
|
41
42
|
readonly StrictLogical: bigint;
|
|
42
43
|
readonly StrictConditional: bigint;
|
package/dist/index.d.ts
CHANGED
|
@@ -30,13 +30,14 @@ declare const ERComponentHint: {
|
|
|
30
30
|
readonly SkipClassMethod: bigint;
|
|
31
31
|
readonly SkipClassProperty: bigint;
|
|
32
32
|
readonly None: 0n;
|
|
33
|
+
readonly SkipUndefined: bigint;
|
|
33
34
|
readonly SkipNullLiteral: bigint;
|
|
34
|
-
readonly SkipUndefinedLiteral: bigint;
|
|
35
35
|
readonly SkipBooleanLiteral: bigint;
|
|
36
36
|
readonly SkipStringLiteral: bigint;
|
|
37
37
|
readonly SkipNumberLiteral: bigint;
|
|
38
|
-
readonly
|
|
38
|
+
readonly SkipBigIntLiteral: bigint;
|
|
39
39
|
readonly SkipEmptyArray: bigint;
|
|
40
|
+
readonly SkipCreateElement: bigint;
|
|
40
41
|
readonly StrictArray: bigint;
|
|
41
42
|
readonly StrictLogical: bigint;
|
|
42
43
|
readonly StrictConditional: bigint;
|
package/dist/index.js
CHANGED
|
@@ -362,7 +362,7 @@ var ERComponentHint = {
|
|
|
362
362
|
// Skip function component defined on class property
|
|
363
363
|
SkipClassProperty: 1n << 69n
|
|
364
364
|
};
|
|
365
|
-
var DEFAULT_COMPONENT_HINT = 0n | ERComponentHint.SkipBooleanLiteral | ERComponentHint.SkipMapCallback | ERComponentHint.SkipNumberLiteral | ERComponentHint.SkipStringLiteral | ERComponentHint.
|
|
365
|
+
var DEFAULT_COMPONENT_HINT = 0n | ERComponentHint.SkipBooleanLiteral | ERComponentHint.SkipMapCallback | ERComponentHint.SkipNumberLiteral | ERComponentHint.SkipStringLiteral | ERComponentHint.SkipUndefined | ERComponentHint.SkipEmptyArray | ERComponentHint.StrictArray | ERComponentHint.StrictConditional | ERComponentHint.StrictLogical;
|
|
366
366
|
|
|
367
367
|
// src/component/component-flag.ts
|
|
368
368
|
var ERClassComponentFlag = {
|
|
@@ -738,7 +738,7 @@ function isRenderFunctionLoose(node, context) {
|
|
|
738
738
|
{
|
|
739
739
|
getScope: (node2) => context.sourceCode.getScope(node2)
|
|
740
740
|
},
|
|
741
|
-
JSX4__namespace.JSXValueHint.SkipNullLiteral | JSX4__namespace.JSXValueHint.
|
|
741
|
+
JSX4__namespace.JSXValueHint.SkipNullLiteral | JSX4__namespace.JSXValueHint.SkipUndefined | JSX4__namespace.JSXValueHint.StrictLogical | JSX4__namespace.JSXValueHint.StrictConditional
|
|
742
742
|
);
|
|
743
743
|
}
|
|
744
744
|
function isRenderPropLoose(node, context) {
|
package/dist/index.mjs
CHANGED
|
@@ -338,7 +338,7 @@ var ERComponentHint = {
|
|
|
338
338
|
// Skip function component defined on class property
|
|
339
339
|
SkipClassProperty: 1n << 69n
|
|
340
340
|
};
|
|
341
|
-
var DEFAULT_COMPONENT_HINT = 0n | ERComponentHint.SkipBooleanLiteral | ERComponentHint.SkipMapCallback | ERComponentHint.SkipNumberLiteral | ERComponentHint.SkipStringLiteral | ERComponentHint.
|
|
341
|
+
var DEFAULT_COMPONENT_HINT = 0n | ERComponentHint.SkipBooleanLiteral | ERComponentHint.SkipMapCallback | ERComponentHint.SkipNumberLiteral | ERComponentHint.SkipStringLiteral | ERComponentHint.SkipUndefined | ERComponentHint.SkipEmptyArray | ERComponentHint.StrictArray | ERComponentHint.StrictConditional | ERComponentHint.StrictLogical;
|
|
342
342
|
|
|
343
343
|
// src/component/component-flag.ts
|
|
344
344
|
var ERClassComponentFlag = {
|
|
@@ -714,7 +714,7 @@ function isRenderFunctionLoose(node, context) {
|
|
|
714
714
|
{
|
|
715
715
|
getScope: (node2) => context.sourceCode.getScope(node2)
|
|
716
716
|
},
|
|
717
|
-
JSX4.JSXValueHint.SkipNullLiteral | JSX4.JSXValueHint.
|
|
717
|
+
JSX4.JSXValueHint.SkipNullLiteral | JSX4.JSXValueHint.SkipUndefined | JSX4.JSXValueHint.StrictLogical | JSX4.JSXValueHint.StrictConditional
|
|
718
718
|
);
|
|
719
719
|
}
|
|
720
720
|
function isRenderPropLoose(node, context) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "1.23.3-next.
|
|
3
|
+
"version": "1.23.3-next.1",
|
|
4
4
|
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and Patterns.",
|
|
5
5
|
"homepage": "https://github.com/rEl1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@typescript-eslint/types": "^8.19.1",
|
|
41
41
|
"@typescript-eslint/utils": "^8.19.1",
|
|
42
42
|
"ts-pattern": "^5.6.0",
|
|
43
|
-
"@eslint-react/ast": "1.23.3-next.
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
47
|
-
"@eslint-react/var": "1.23.3-next.
|
|
48
|
-
"@eslint-react/
|
|
43
|
+
"@eslint-react/ast": "1.23.3-next.1",
|
|
44
|
+
"@eslint-react/jsx": "1.23.3-next.1",
|
|
45
|
+
"@eslint-react/shared": "1.23.3-next.1",
|
|
46
|
+
"@eslint-react/types": "1.23.3-next.1",
|
|
47
|
+
"@eslint-react/var": "1.23.3-next.1",
|
|
48
|
+
"@eslint-react/eff": "1.23.3-next.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"tsup": "^8.3.5",
|