@eslint-react/core 2.4.0-next.3 → 2.4.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.d.ts +3 -3
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -572,7 +572,7 @@ declare function resolveJsxAttributeValue(context: RuleContext, attribute: AST.T
|
|
|
572
572
|
readonly toStatic: () => string | number | bigint | boolean | RegExp | null;
|
|
573
573
|
} | {
|
|
574
574
|
readonly kind: "expression";
|
|
575
|
-
readonly node: TSESTree.
|
|
575
|
+
readonly node: TSESTree.Expression | TSESTree.JSXEmptyExpression;
|
|
576
576
|
readonly toStatic: () => unknown;
|
|
577
577
|
} | {
|
|
578
578
|
readonly kind: "element";
|
|
@@ -580,7 +580,7 @@ declare function resolveJsxAttributeValue(context: RuleContext, attribute: AST.T
|
|
|
580
580
|
readonly toStatic: () => undefined;
|
|
581
581
|
} | {
|
|
582
582
|
readonly kind: "spreadChild";
|
|
583
|
-
readonly node: TSESTree.
|
|
583
|
+
readonly node: TSESTree.Expression | TSESTree.JSXEmptyExpression;
|
|
584
584
|
readonly toStatic: () => undefined;
|
|
585
585
|
} | {
|
|
586
586
|
readonly kind: "spreadProps";
|
|
@@ -725,7 +725,7 @@ declare function stringifyJsx(node: TSESTree$1.JSXIdentifier | TSESTree$1.JSXNam
|
|
|
725
725
|
* @param prev The previous AST node in the traversal (used for context)
|
|
726
726
|
* @internal
|
|
727
727
|
*/
|
|
728
|
-
declare function getInstanceId(node: TSESTree.Node, prev?: TSESTree.Node): TSESTree.ArrayExpression | TSESTree.ArrayPattern | TSESTree.ArrowFunctionExpression | TSESTree.AssignmentExpression | TSESTree.AwaitExpression | TSESTree.PrivateInExpression | TSESTree.SymmetricBinaryExpression | TSESTree.CallExpression | TSESTree.ChainExpression | TSESTree.ClassExpression | TSESTree.ConditionalExpression | TSESTree.FunctionExpression | TSESTree.Identifier | TSESTree.ImportExpression | TSESTree.
|
|
728
|
+
declare function getInstanceId(node: TSESTree.Node, prev?: TSESTree.Node): TSESTree.JSXElement | TSESTree.ArrayExpression | TSESTree.ArrayPattern | TSESTree.ArrowFunctionExpression | TSESTree.AssignmentExpression | TSESTree.AwaitExpression | TSESTree.PrivateInExpression | TSESTree.SymmetricBinaryExpression | TSESTree.CallExpression | TSESTree.ChainExpression | TSESTree.ClassExpression | TSESTree.ConditionalExpression | TSESTree.FunctionExpression | TSESTree.Identifier | TSESTree.ImportExpression | TSESTree.JSXFragment | TSESTree.BigIntLiteral | TSESTree.BooleanLiteral | TSESTree.NullLiteral | TSESTree.NumberLiteral | TSESTree.RegExpLiteral | TSESTree.StringLiteral | TSESTree.TemplateLiteral | TSESTree.LogicalExpression | TSESTree.MemberExpressionComputedName | TSESTree.MemberExpressionNonComputedName | TSESTree.MetaProperty | TSESTree.NewExpression | TSESTree.ObjectExpression | TSESTree.ObjectPattern | TSESTree.SequenceExpression | TSESTree.Super | TSESTree.TaggedTemplateExpression | TSESTree.ThisExpression | TSESTree.TSAsExpression | TSESTree.TSInstantiationExpression | TSESTree.TSNonNullExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion | TSESTree.UnaryExpressionBitwiseNot | TSESTree.UnaryExpressionDelete | TSESTree.UnaryExpressionMinus | TSESTree.UnaryExpressionNot | TSESTree.UnaryExpressionPlus | TSESTree.UnaryExpressionTypeof | TSESTree.UnaryExpressionVoid | TSESTree.UpdateExpression | TSESTree.YieldExpression | TSESTree.PrivateIdentifier | undefined;
|
|
729
729
|
//#endregion
|
|
730
730
|
//#region src/utils/is-from-react.d.ts
|
|
731
731
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "2.4.0-next.
|
|
3
|
+
"version": "2.4.0-next.4",
|
|
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": {
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
"@typescript-eslint/utils": "^8.49.0",
|
|
36
36
|
"birecord": "^0.1.1",
|
|
37
37
|
"ts-pattern": "^5.9.0",
|
|
38
|
-
"@eslint-react/ast": "2.4.0-next.
|
|
39
|
-
"@eslint-react/eff": "2.4.0-next.
|
|
40
|
-
"@eslint-react/shared": "2.4.0-next.
|
|
41
|
-
"@eslint-react/var": "2.4.0-next.
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"eslint": "^8.57.0 || ^9.0.0",
|
|
45
|
-
"typescript": ">=4.8.4 <6.0.0"
|
|
38
|
+
"@eslint-react/ast": "2.4.0-next.4",
|
|
39
|
+
"@eslint-react/eff": "2.4.0-next.4",
|
|
40
|
+
"@eslint-react/shared": "2.4.0-next.4",
|
|
41
|
+
"@eslint-react/var": "2.4.0-next.4"
|
|
46
42
|
},
|
|
47
43
|
"devDependencies": {
|
|
48
44
|
"tsdown": "^0.17.3",
|
|
49
45
|
"@local/configs": "0.0.0"
|
|
50
46
|
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"eslint": "^8.57.0 || ^9.0.0",
|
|
49
|
+
"typescript": ">=4.8.4 <6.0.0"
|
|
50
|
+
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=20.19.0"
|
|
53
53
|
},
|