@eslint-react/core 1.34.0-next.0 → 1.34.0-next.2

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 CHANGED
@@ -4,7 +4,6 @@ import { RuleContext } from '@eslint-react/shared';
4
4
  import { TSESTree } from '@typescript-eslint/types';
5
5
  import { ESLintUtils, TSESTree as TSESTree$1 } from '@typescript-eslint/utils';
6
6
  import * as birecord from 'birecord';
7
- import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
8
7
  import { Scope } from '@typescript-eslint/scope-manager';
9
8
 
10
9
  type ERComponentHint = bigint;
@@ -297,21 +296,21 @@ declare function isReactHookCallWithName(context: RuleContext, node: TSESTree.Ca
297
296
  declare function isReactHookCallWithNameLoose(node: TSESTree.CallExpression | _): (name: string) => boolean;
298
297
  declare function isReactHookCallWithNameAlias(context: RuleContext, name: string, alias?: _ | string[]): (node: TSESTree.CallExpression) => boolean;
299
298
  declare function isUseEffectCallLoose(node: TSESTree.Node | _): boolean;
300
- declare const isUseCallbackCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
301
- declare const isUseContextCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
302
- declare const isUseDebugValueCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
303
- declare const isUseDeferredValueCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
304
- declare const isUseEffectCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
305
- declare const isUseIdCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
306
- declare const isUseImperativeHandleCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
307
- declare const isUseInsertionEffectCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
308
- declare const isUseLayoutEffectCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
309
- declare const isUseMemoCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
310
- declare const isUseReducerCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
311
- declare const isUseRefCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
312
- declare const isUseStateCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
313
- declare const isUseSyncExternalStoreCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
314
- declare const isUseTransitionCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
299
+ declare const isUseCallbackCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
300
+ declare const isUseContextCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
301
+ declare const isUseDebugValueCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
302
+ declare const isUseDeferredValueCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
303
+ declare const isUseEffectCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
304
+ declare const isUseIdCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
305
+ declare const isUseImperativeHandleCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
306
+ declare const isUseInsertionEffectCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
307
+ declare const isUseLayoutEffectCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
308
+ declare const isUseMemoCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
309
+ declare const isUseReducerCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
310
+ declare const isUseRefCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
311
+ declare const isUseStateCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
312
+ declare const isUseSyncExternalStoreCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
313
+ declare const isUseTransitionCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
315
314
 
316
315
  interface ERSemanticEntry {
317
316
  node: TSESTree.Node;
package/dist/index.d.ts CHANGED
@@ -4,7 +4,6 @@ import { RuleContext } from '@eslint-react/shared';
4
4
  import { TSESTree } from '@typescript-eslint/types';
5
5
  import { ESLintUtils, TSESTree as TSESTree$1 } from '@typescript-eslint/utils';
6
6
  import * as birecord from 'birecord';
7
- import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
8
7
  import { Scope } from '@typescript-eslint/scope-manager';
9
8
 
10
9
  type ERComponentHint = bigint;
@@ -297,21 +296,21 @@ declare function isReactHookCallWithName(context: RuleContext, node: TSESTree.Ca
297
296
  declare function isReactHookCallWithNameLoose(node: TSESTree.CallExpression | _): (name: string) => boolean;
298
297
  declare function isReactHookCallWithNameAlias(context: RuleContext, name: string, alias?: _ | string[]): (node: TSESTree.CallExpression) => boolean;
299
298
  declare function isUseEffectCallLoose(node: TSESTree.Node | _): boolean;
300
- declare const isUseCallbackCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
301
- declare const isUseContextCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
302
- declare const isUseDebugValueCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
303
- declare const isUseDeferredValueCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
304
- declare const isUseEffectCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
305
- declare const isUseIdCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
306
- declare const isUseImperativeHandleCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
307
- declare const isUseInsertionEffectCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
308
- declare const isUseLayoutEffectCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
309
- declare const isUseMemoCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
310
- declare const isUseReducerCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
311
- declare const isUseRefCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
312
- declare const isUseStateCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
313
- declare const isUseSyncExternalStoreCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
314
- declare const isUseTransitionCall: (context: Readonly<_typescript_eslint_utils_ts_eslint.RuleContext<string, readonly unknown[]>>, node: TSESTree.CallExpression | undefined) => boolean;
299
+ declare const isUseCallbackCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
300
+ declare const isUseContextCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
301
+ declare const isUseDebugValueCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
302
+ declare const isUseDeferredValueCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
303
+ declare const isUseEffectCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
304
+ declare const isUseIdCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
305
+ declare const isUseImperativeHandleCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
306
+ declare const isUseInsertionEffectCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
307
+ declare const isUseLayoutEffectCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
308
+ declare const isUseMemoCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
309
+ declare const isUseReducerCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
310
+ declare const isUseRefCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
311
+ declare const isUseStateCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
312
+ declare const isUseSyncExternalStoreCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
313
+ declare const isUseTransitionCall: (context: RuleContext, node: TSESTree.CallExpression | undefined) => boolean;
315
314
 
316
315
  interface ERSemanticEntry {
317
316
  node: TSESTree.Node;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "1.34.0-next.0",
3
+ "version": "1.34.0-next.2",
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": {
@@ -41,11 +41,11 @@
41
41
  "@typescript-eslint/utils": "^8.26.1",
42
42
  "birecord": "^0.1.1",
43
43
  "ts-pattern": "^5.6.2",
44
- "@eslint-react/ast": "1.34.0-next.0",
45
- "@eslint-react/eff": "1.34.0-next.0",
46
- "@eslint-react/jsx": "1.34.0-next.0",
47
- "@eslint-react/shared": "1.34.0-next.0",
48
- "@eslint-react/var": "1.34.0-next.0"
44
+ "@eslint-react/ast": "1.34.0-next.2",
45
+ "@eslint-react/eff": "1.34.0-next.2",
46
+ "@eslint-react/jsx": "1.34.0-next.2",
47
+ "@eslint-react/shared": "1.34.0-next.2",
48
+ "@eslint-react/var": "1.34.0-next.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "tsup": "^8.4.0",