@eslint-react/core 4.0.1-beta.0 → 4.0.2-beta.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -515,6 +515,8 @@ interface HookSemanticNode extends SemanticNode {
515
515
  node: ast.TSESTreeFunction;
516
516
  /** The name of the hook */
517
517
  name: string;
518
+ /** The kind of hook */
519
+ kind: "hook";
518
520
  /** The other hooks called by the hook */
519
521
  hookCalls: TSESTree.CallExpression[];
520
522
  /** The directives used in the function (ex: "use strict", "use client", etc.) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "4.0.1-beta.0",
3
+ "version": "4.0.2-beta.0",
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": {
@@ -34,10 +34,10 @@
34
34
  "@typescript-eslint/types": "^8.57.2",
35
35
  "@typescript-eslint/utils": "^8.57.2",
36
36
  "ts-pattern": "^5.9.0",
37
- "@eslint-react/ast": "4.0.1-beta.0",
38
- "@eslint-react/jsx": "4.0.1-beta.0",
39
- "@eslint-react/shared": "4.0.1-beta.0",
40
- "@eslint-react/var": "4.0.1-beta.0"
37
+ "@eslint-react/ast": "4.0.2-beta.0",
38
+ "@eslint-react/jsx": "4.0.2-beta.0",
39
+ "@eslint-react/var": "4.0.2-beta.0",
40
+ "@eslint-react/shared": "4.0.2-beta.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "tsdown": "^0.21.6",