@eslint-react/core 2.3.13-beta.1 → 2.3.13-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.ts +3 -3
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -547,7 +547,7 @@ declare function resolveJsxAttributeValue(context: RuleContext, attribute: AST.T
|
|
|
547
547
|
readonly toStatic: () => string | number | bigint | boolean | RegExp | null;
|
|
548
548
|
} | {
|
|
549
549
|
readonly kind: "expression";
|
|
550
|
-
readonly node: TSESTree.
|
|
550
|
+
readonly node: TSESTree.Expression | TSESTree.JSXEmptyExpression;
|
|
551
551
|
readonly toStatic: () => unknown;
|
|
552
552
|
} | {
|
|
553
553
|
readonly kind: "element";
|
|
@@ -555,7 +555,7 @@ declare function resolveJsxAttributeValue(context: RuleContext, attribute: AST.T
|
|
|
555
555
|
readonly toStatic: () => undefined;
|
|
556
556
|
} | {
|
|
557
557
|
readonly kind: "spreadChild";
|
|
558
|
-
readonly node: TSESTree.
|
|
558
|
+
readonly node: TSESTree.Expression | TSESTree.JSXEmptyExpression;
|
|
559
559
|
readonly toStatic: () => undefined;
|
|
560
560
|
} | {
|
|
561
561
|
readonly kind: "spreadProps";
|
|
@@ -700,7 +700,7 @@ declare function stringifyJsx(node: TSESTree$1.JSXIdentifier | TSESTree$1.JSXNam
|
|
|
700
700
|
* @param prev The previous AST node in the traversal (used for context)
|
|
701
701
|
* @internal
|
|
702
702
|
*/
|
|
703
|
-
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.
|
|
703
|
+
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;
|
|
704
704
|
//#endregion
|
|
705
705
|
//#region src/utils/is-from-react.d.ts
|
|
706
706
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "2.3.13-
|
|
3
|
+
"version": "2.3.13-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": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"@typescript-eslint/utils": "^8.48.1",
|
|
36
36
|
"birecord": "^0.1.1",
|
|
37
37
|
"ts-pattern": "^5.9.0",
|
|
38
|
-
"@eslint-react/ast": "2.3.13-
|
|
39
|
-
"@eslint-react/eff": "2.3.13-
|
|
40
|
-
"@eslint-react/var": "2.3.13-
|
|
41
|
-
"@eslint-react/shared": "2.3.13-
|
|
38
|
+
"@eslint-react/ast": "2.3.13-next.1",
|
|
39
|
+
"@eslint-react/eff": "2.3.13-next.1",
|
|
40
|
+
"@eslint-react/var": "2.3.13-next.1",
|
|
41
|
+
"@eslint-react/shared": "2.3.13-next.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"eslint": "^8.57.0 || ^9.0.0",
|