@eslint-react/kit 1.39.0-next.3 → 1.40.0-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 CHANGED
@@ -1,29 +1,7 @@
1
1
  import { _ } from '@eslint-react/eff';
2
2
  import * as tseslint from '@typescript-eslint/utils/ts-eslint';
3
3
  import { ReportDescriptor } from '@typescript-eslint/utils/ts-eslint';
4
-
5
- /**
6
- * Regular expression for matching a PascalCase string.
7
- */
8
- declare const RE_PASCAL_CASE: RegExp;
9
- /**
10
- * Regular expression for matching a camelCase string.
11
- */
12
- declare const RE_CAMEL_CASE: RegExp;
13
- /**
14
- * Regular expression for matching a kebab-case string.
15
- */
16
- declare const RE_KEBAB_CASE: RegExp;
17
- /**
18
- * Regular expression for matching a snake_case string.
19
- */
20
- declare const RE_SNAKE_CASE: RegExp;
21
- /**
22
- * Regular expression for matching a CONSTANT_CASE string.
23
- */
24
- declare const RE_CONSTANT_CASE: RegExp;
25
- declare const RE_JAVASCRIPT_PROTOCOL: RegExp;
26
- declare const REACT_BUILD_IN_HOOKS: readonly ["use", "useActionState", "useCallback", "useContext", "useDebugValue", "useDeferredValue", "useEffect", "useFormStatus", "useId", "useImperativeHandle", "useInsertionEffect", "useLayoutEffect", "useMemo", "useOptimistic", "useReducer", "useRef", "useState", "useSyncExternalStore", "useTransition"];
4
+ import { TsConfigJson } from 'get-tsconfig';
27
5
 
28
6
  /**
29
7
  * Rule severity.
@@ -51,7 +29,6 @@ type RuleContext<MessageIds extends string = string, Options extends readonly un
51
29
  * @since 1.20.0
52
30
  */
53
31
  type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
54
-
55
32
  /**
56
33
  * Creates a report function that can conditionally report a descriptor.
57
34
  * @param context - The context of the rule
@@ -59,6 +36,68 @@ type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
59
36
  */
60
37
  declare function createReport<MessageID extends string>(context: RuleContext): (descriptor: _ | null | ReportDescriptor<MessageID>) => void;
61
38
 
39
+ type JsxRuntimeOptions = Pick<TsConfigJson.CompilerOptions, "reactNamespace" | "jsx" | "jsxFactory" | "jsxFragmentFactory" | "jsxImportSource">;
40
+ declare const defaultJsxRuntimeOptions: {
41
+ readonly jsx: "react-jsx";
42
+ readonly jsxFactory: "React.createElement";
43
+ readonly jsxFragmentFactory: "React.Fragment";
44
+ readonly jsxImportSource: "react";
45
+ readonly reactNamespace: "React";
46
+ };
47
+ declare function getJsxRuntimeOptionsFromContext(context: RuleContext): {
48
+ readonly jsx: "react-jsx";
49
+ readonly jsxFactory: "React.createElement";
50
+ readonly jsxFragmentFactory: "React.Fragment";
51
+ readonly jsxImportSource: "react";
52
+ readonly reactNamespace: "React";
53
+ } | {
54
+ jsx: TsConfigJson.CompilerOptions.JSX;
55
+ jsxFactory: string;
56
+ jsxFragmentFactory: string;
57
+ jsxImportSource: string;
58
+ reactNamespace: string;
59
+ };
60
+
61
+ type index_JsxRuntimeOptions = JsxRuntimeOptions;
62
+ declare const index_defaultJsxRuntimeOptions: typeof defaultJsxRuntimeOptions;
63
+ declare const index_getJsxRuntimeOptionsFromContext: typeof getJsxRuntimeOptionsFromContext;
64
+ declare namespace index {
65
+ export { type index_JsxRuntimeOptions as JsxRuntimeOptions, index_defaultJsxRuntimeOptions as defaultJsxRuntimeOptions, index_getJsxRuntimeOptionsFromContext as getJsxRuntimeOptionsFromContext };
66
+ }
67
+
68
+ /**
69
+ * Regular expression for matching a TypeScript file extension.
70
+ */
71
+ declare const RE_TS_EXT: RegExp;
72
+ /**
73
+ * Regular expression for matching a JavaScript file extension.
74
+ */
75
+ declare const RE_JS_EXT: RegExp;
76
+ /**
77
+ * Regular expression for matching a PascalCase string.
78
+ */
79
+ declare const RE_PASCAL_CASE: RegExp;
80
+ /**
81
+ * Regular expression for matching a camelCase string.
82
+ */
83
+ declare const RE_CAMEL_CASE: RegExp;
84
+ /**
85
+ * Regular expression for matching a kebab-case string.
86
+ */
87
+ declare const RE_KEBAB_CASE: RegExp;
88
+ /**
89
+ * Regular expression for matching a snake_case string.
90
+ */
91
+ declare const RE_SNAKE_CASE: RegExp;
92
+ /**
93
+ * Regular expression for matching a CONSTANT_CASE string.
94
+ */
95
+ declare const RE_CONSTANT_CASE: RegExp;
96
+ declare const RE_JAVASCRIPT_PROTOCOL: RegExp;
97
+ /**
98
+ * Regular expression for matching a RegExp string.
99
+ */
100
+ declare const RE_REGEXP_STR: RegExp;
62
101
  /**
63
102
  * Convert a string to the `RegExp`.
64
103
  * Normal strings (e.g. `"foo"`) is converted to `/^foo$/` of `RegExp`.
@@ -77,4 +116,4 @@ declare function toRegExp(string: string): {
77
116
  */
78
117
  declare function isRegExp(string: string): boolean;
79
118
 
80
- export { REACT_BUILD_IN_HOOKS, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePreset, type RuleSeverity, createReport, isRegExp, toRegExp };
119
+ export { index as JsxRuntime, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JS_EXT, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePreset, type RuleSeverity, createReport, isRegExp, toRegExp };
package/dist/index.d.ts CHANGED
@@ -1,29 +1,7 @@
1
1
  import { _ } from '@eslint-react/eff';
2
2
  import * as tseslint from '@typescript-eslint/utils/ts-eslint';
3
3
  import { ReportDescriptor } from '@typescript-eslint/utils/ts-eslint';
4
-
5
- /**
6
- * Regular expression for matching a PascalCase string.
7
- */
8
- declare const RE_PASCAL_CASE: RegExp;
9
- /**
10
- * Regular expression for matching a camelCase string.
11
- */
12
- declare const RE_CAMEL_CASE: RegExp;
13
- /**
14
- * Regular expression for matching a kebab-case string.
15
- */
16
- declare const RE_KEBAB_CASE: RegExp;
17
- /**
18
- * Regular expression for matching a snake_case string.
19
- */
20
- declare const RE_SNAKE_CASE: RegExp;
21
- /**
22
- * Regular expression for matching a CONSTANT_CASE string.
23
- */
24
- declare const RE_CONSTANT_CASE: RegExp;
25
- declare const RE_JAVASCRIPT_PROTOCOL: RegExp;
26
- declare const REACT_BUILD_IN_HOOKS: readonly ["use", "useActionState", "useCallback", "useContext", "useDebugValue", "useDeferredValue", "useEffect", "useFormStatus", "useId", "useImperativeHandle", "useInsertionEffect", "useLayoutEffect", "useMemo", "useOptimistic", "useReducer", "useRef", "useState", "useSyncExternalStore", "useTransition"];
4
+ import { TsConfigJson } from 'get-tsconfig';
27
5
 
28
6
  /**
29
7
  * Rule severity.
@@ -51,7 +29,6 @@ type RuleContext<MessageIds extends string = string, Options extends readonly un
51
29
  * @since 1.20.0
52
30
  */
53
31
  type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
54
-
55
32
  /**
56
33
  * Creates a report function that can conditionally report a descriptor.
57
34
  * @param context - The context of the rule
@@ -59,6 +36,68 @@ type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
59
36
  */
60
37
  declare function createReport<MessageID extends string>(context: RuleContext): (descriptor: _ | null | ReportDescriptor<MessageID>) => void;
61
38
 
39
+ type JsxRuntimeOptions = Pick<TsConfigJson.CompilerOptions, "reactNamespace" | "jsx" | "jsxFactory" | "jsxFragmentFactory" | "jsxImportSource">;
40
+ declare const defaultJsxRuntimeOptions: {
41
+ readonly jsx: "react-jsx";
42
+ readonly jsxFactory: "React.createElement";
43
+ readonly jsxFragmentFactory: "React.Fragment";
44
+ readonly jsxImportSource: "react";
45
+ readonly reactNamespace: "React";
46
+ };
47
+ declare function getJsxRuntimeOptionsFromContext(context: RuleContext): {
48
+ readonly jsx: "react-jsx";
49
+ readonly jsxFactory: "React.createElement";
50
+ readonly jsxFragmentFactory: "React.Fragment";
51
+ readonly jsxImportSource: "react";
52
+ readonly reactNamespace: "React";
53
+ } | {
54
+ jsx: TsConfigJson.CompilerOptions.JSX;
55
+ jsxFactory: string;
56
+ jsxFragmentFactory: string;
57
+ jsxImportSource: string;
58
+ reactNamespace: string;
59
+ };
60
+
61
+ type index_JsxRuntimeOptions = JsxRuntimeOptions;
62
+ declare const index_defaultJsxRuntimeOptions: typeof defaultJsxRuntimeOptions;
63
+ declare const index_getJsxRuntimeOptionsFromContext: typeof getJsxRuntimeOptionsFromContext;
64
+ declare namespace index {
65
+ export { type index_JsxRuntimeOptions as JsxRuntimeOptions, index_defaultJsxRuntimeOptions as defaultJsxRuntimeOptions, index_getJsxRuntimeOptionsFromContext as getJsxRuntimeOptionsFromContext };
66
+ }
67
+
68
+ /**
69
+ * Regular expression for matching a TypeScript file extension.
70
+ */
71
+ declare const RE_TS_EXT: RegExp;
72
+ /**
73
+ * Regular expression for matching a JavaScript file extension.
74
+ */
75
+ declare const RE_JS_EXT: RegExp;
76
+ /**
77
+ * Regular expression for matching a PascalCase string.
78
+ */
79
+ declare const RE_PASCAL_CASE: RegExp;
80
+ /**
81
+ * Regular expression for matching a camelCase string.
82
+ */
83
+ declare const RE_CAMEL_CASE: RegExp;
84
+ /**
85
+ * Regular expression for matching a kebab-case string.
86
+ */
87
+ declare const RE_KEBAB_CASE: RegExp;
88
+ /**
89
+ * Regular expression for matching a snake_case string.
90
+ */
91
+ declare const RE_SNAKE_CASE: RegExp;
92
+ /**
93
+ * Regular expression for matching a CONSTANT_CASE string.
94
+ */
95
+ declare const RE_CONSTANT_CASE: RegExp;
96
+ declare const RE_JAVASCRIPT_PROTOCOL: RegExp;
97
+ /**
98
+ * Regular expression for matching a RegExp string.
99
+ */
100
+ declare const RE_REGEXP_STR: RegExp;
62
101
  /**
63
102
  * Convert a string to the `RegExp`.
64
103
  * Normal strings (e.g. `"foo"`) is converted to `/^foo$/` of `RegExp`.
@@ -77,4 +116,4 @@ declare function toRegExp(string: string): {
77
116
  */
78
117
  declare function isRegExp(string: string): boolean;
79
118
 
80
- export { REACT_BUILD_IN_HOOKS, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePreset, type RuleSeverity, createReport, isRegExp, toRegExp };
119
+ export { index as JsxRuntime, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JS_EXT, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePreset, type RuleSeverity, createReport, isRegExp, toRegExp };
package/dist/index.js CHANGED
@@ -1,59 +1,76 @@
1
1
  'use strict';
2
2
 
3
- // src/constants.ts
3
+ var getTsconfig = require('get-tsconfig');
4
+
5
+ var __defProp = Object.defineProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+
11
+ // src/JsxRuntime/index.ts
12
+ var JsxRuntime_exports = {};
13
+ __export(JsxRuntime_exports, {
14
+ defaultJsxRuntimeOptions: () => defaultJsxRuntimeOptions,
15
+ getJsxRuntimeOptionsFromContext: () => getJsxRuntimeOptionsFromContext
16
+ });
17
+ var defaultJsxRuntimeOptions = {
18
+ jsx: "react-jsx",
19
+ jsxFactory: "React.createElement",
20
+ jsxFragmentFactory: "React.Fragment",
21
+ jsxImportSource: "react",
22
+ reactNamespace: "React"
23
+ };
24
+ var tsconfigCache = /* @__PURE__ */ new Map();
25
+ function getJsxRuntimeOptionsFromContext(context) {
26
+ const tsconfigResult = getTsconfig.getTsconfig(context.cwd, "tsconfig.json", tsconfigCache);
27
+ const compilerOptions = tsconfigResult?.config.compilerOptions;
28
+ if (compilerOptions == null) return defaultJsxRuntimeOptions;
29
+ return {
30
+ jsx: compilerOptions.jsx ?? defaultJsxRuntimeOptions.jsx,
31
+ jsxFactory: compilerOptions.jsxFactory ?? defaultJsxRuntimeOptions.jsxFactory,
32
+ jsxFragmentFactory: compilerOptions.jsxFragmentFactory ?? defaultJsxRuntimeOptions.jsxFragmentFactory,
33
+ jsxImportSource: compilerOptions.jsxImportSource ?? defaultJsxRuntimeOptions.jsxImportSource,
34
+ reactNamespace: compilerOptions.reactNamespace ?? defaultJsxRuntimeOptions.reactNamespace
35
+ };
36
+ }
37
+
38
+ // src/RegExp.ts
39
+ var RE_TS_EXT = /^[cm]?tsx?$/;
40
+ var RE_JS_EXT = /^[cm]?jsx?$/;
4
41
  var RE_PASCAL_CASE = /^[A-Z][\dA-Za-z]*$/u;
5
42
  var RE_CAMEL_CASE = /^[a-z][\dA-Za-z]*$/u;
6
43
  var RE_KEBAB_CASE = /^[a-z][\d\-a-z]*$/u;
7
44
  var RE_SNAKE_CASE = /^[a-z][\d_a-z]*$/u;
8
45
  var RE_CONSTANT_CASE = /^[A-Z][\d_A-Z]*$/u;
9
46
  var RE_JAVASCRIPT_PROTOCOL = /^[\u0000-\u001F ]*j[\t\n\r]*a[\t\n\r]*v[\t\n\r]*a[\t\n\r]*s[\t\n\r]*c[\t\n\r]*r[\t\n\r]*i[\t\n\r]*p[\t\n\r]*t[\t\n\r]*:/iu;
10
- var REACT_BUILD_IN_HOOKS = [
11
- "use",
12
- "useActionState",
13
- "useCallback",
14
- "useContext",
15
- "useDebugValue",
16
- "useDeferredValue",
17
- "useEffect",
18
- "useFormStatus",
19
- "useId",
20
- "useImperativeHandle",
21
- "useInsertionEffect",
22
- "useLayoutEffect",
23
- "useMemo",
24
- "useOptimistic",
25
- "useReducer",
26
- "useRef",
27
- "useState",
28
- "useSyncExternalStore",
29
- "useTransition"
30
- ];
31
-
32
- // src/create-report.ts
33
- function createReport(context) {
34
- return (descriptor) => {
35
- if (descriptor != null) context.report(descriptor);
36
- };
37
- }
38
-
39
- // src/regexp.ts
40
47
  var RE_REGEXP_STR = /^\/(.+)\/([A-Za-z]*)$/u;
41
48
  function toRegExp(string) {
42
49
  const [, pattern, flags = "u"] = RE_REGEXP_STR.exec(string) ?? [];
43
- if (pattern) return new RegExp(pattern, flags);
50
+ if (pattern != null) return new RegExp(pattern, flags);
44
51
  return { test: (s) => s === string };
45
52
  }
46
53
  function isRegExp(string) {
47
54
  return Boolean(RE_REGEXP_STR.test(string));
48
55
  }
49
56
 
50
- exports.REACT_BUILD_IN_HOOKS = REACT_BUILD_IN_HOOKS;
57
+ // src/Rule.ts
58
+ function createReport(context) {
59
+ return (descriptor) => {
60
+ if (descriptor != null) context.report(descriptor);
61
+ };
62
+ }
63
+
64
+ exports.JsxRuntime = JsxRuntime_exports;
51
65
  exports.RE_CAMEL_CASE = RE_CAMEL_CASE;
52
66
  exports.RE_CONSTANT_CASE = RE_CONSTANT_CASE;
53
67
  exports.RE_JAVASCRIPT_PROTOCOL = RE_JAVASCRIPT_PROTOCOL;
68
+ exports.RE_JS_EXT = RE_JS_EXT;
54
69
  exports.RE_KEBAB_CASE = RE_KEBAB_CASE;
55
70
  exports.RE_PASCAL_CASE = RE_PASCAL_CASE;
71
+ exports.RE_REGEXP_STR = RE_REGEXP_STR;
56
72
  exports.RE_SNAKE_CASE = RE_SNAKE_CASE;
73
+ exports.RE_TS_EXT = RE_TS_EXT;
57
74
  exports.createReport = createReport;
58
75
  exports.isRegExp = isRegExp;
59
76
  exports.toRegExp = toRegExp;
package/dist/index.mjs CHANGED
@@ -1,48 +1,62 @@
1
- // src/constants.ts
1
+ import { getTsconfig } from 'get-tsconfig';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __export = (target, all) => {
5
+ for (var name in all)
6
+ __defProp(target, name, { get: all[name], enumerable: true });
7
+ };
8
+
9
+ // src/JsxRuntime/index.ts
10
+ var JsxRuntime_exports = {};
11
+ __export(JsxRuntime_exports, {
12
+ defaultJsxRuntimeOptions: () => defaultJsxRuntimeOptions,
13
+ getJsxRuntimeOptionsFromContext: () => getJsxRuntimeOptionsFromContext
14
+ });
15
+ var defaultJsxRuntimeOptions = {
16
+ jsx: "react-jsx",
17
+ jsxFactory: "React.createElement",
18
+ jsxFragmentFactory: "React.Fragment",
19
+ jsxImportSource: "react",
20
+ reactNamespace: "React"
21
+ };
22
+ var tsconfigCache = /* @__PURE__ */ new Map();
23
+ function getJsxRuntimeOptionsFromContext(context) {
24
+ const tsconfigResult = getTsconfig(context.cwd, "tsconfig.json", tsconfigCache);
25
+ const compilerOptions = tsconfigResult?.config.compilerOptions;
26
+ if (compilerOptions == null) return defaultJsxRuntimeOptions;
27
+ return {
28
+ jsx: compilerOptions.jsx ?? defaultJsxRuntimeOptions.jsx,
29
+ jsxFactory: compilerOptions.jsxFactory ?? defaultJsxRuntimeOptions.jsxFactory,
30
+ jsxFragmentFactory: compilerOptions.jsxFragmentFactory ?? defaultJsxRuntimeOptions.jsxFragmentFactory,
31
+ jsxImportSource: compilerOptions.jsxImportSource ?? defaultJsxRuntimeOptions.jsxImportSource,
32
+ reactNamespace: compilerOptions.reactNamespace ?? defaultJsxRuntimeOptions.reactNamespace
33
+ };
34
+ }
35
+
36
+ // src/RegExp.ts
37
+ var RE_TS_EXT = /^[cm]?tsx?$/;
38
+ var RE_JS_EXT = /^[cm]?jsx?$/;
2
39
  var RE_PASCAL_CASE = /^[A-Z][\dA-Za-z]*$/u;
3
40
  var RE_CAMEL_CASE = /^[a-z][\dA-Za-z]*$/u;
4
41
  var RE_KEBAB_CASE = /^[a-z][\d\-a-z]*$/u;
5
42
  var RE_SNAKE_CASE = /^[a-z][\d_a-z]*$/u;
6
43
  var RE_CONSTANT_CASE = /^[A-Z][\d_A-Z]*$/u;
7
44
  var RE_JAVASCRIPT_PROTOCOL = /^[\u0000-\u001F ]*j[\t\n\r]*a[\t\n\r]*v[\t\n\r]*a[\t\n\r]*s[\t\n\r]*c[\t\n\r]*r[\t\n\r]*i[\t\n\r]*p[\t\n\r]*t[\t\n\r]*:/iu;
8
- var REACT_BUILD_IN_HOOKS = [
9
- "use",
10
- "useActionState",
11
- "useCallback",
12
- "useContext",
13
- "useDebugValue",
14
- "useDeferredValue",
15
- "useEffect",
16
- "useFormStatus",
17
- "useId",
18
- "useImperativeHandle",
19
- "useInsertionEffect",
20
- "useLayoutEffect",
21
- "useMemo",
22
- "useOptimistic",
23
- "useReducer",
24
- "useRef",
25
- "useState",
26
- "useSyncExternalStore",
27
- "useTransition"
28
- ];
29
-
30
- // src/create-report.ts
31
- function createReport(context) {
32
- return (descriptor) => {
33
- if (descriptor != null) context.report(descriptor);
34
- };
35
- }
36
-
37
- // src/regexp.ts
38
45
  var RE_REGEXP_STR = /^\/(.+)\/([A-Za-z]*)$/u;
39
46
  function toRegExp(string) {
40
47
  const [, pattern, flags = "u"] = RE_REGEXP_STR.exec(string) ?? [];
41
- if (pattern) return new RegExp(pattern, flags);
48
+ if (pattern != null) return new RegExp(pattern, flags);
42
49
  return { test: (s) => s === string };
43
50
  }
44
51
  function isRegExp(string) {
45
52
  return Boolean(RE_REGEXP_STR.test(string));
46
53
  }
47
54
 
48
- export { REACT_BUILD_IN_HOOKS, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_SNAKE_CASE, createReport, isRegExp, toRegExp };
55
+ // src/Rule.ts
56
+ function createReport(context) {
57
+ return (descriptor) => {
58
+ if (descriptor != null) context.report(descriptor);
59
+ };
60
+ }
61
+
62
+ export { JsxRuntime_exports as JsxRuntime, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JS_EXT, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, createReport, isRegExp, toRegExp };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/kit",
3
- "version": "1.39.0-next.3",
3
+ "version": "1.40.0-next.1",
4
4
  "description": "ESLint React's Plugin Kit for building plugins and rules.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -35,9 +35,10 @@
35
35
  "./package.json"
36
36
  ],
37
37
  "dependencies": {
38
- "@typescript-eslint/utils": "^8.28.0",
38
+ "@typescript-eslint/utils": "^8.29.0",
39
+ "get-tsconfig": "^4.10.0",
39
40
  "ts-pattern": "^5.7.0",
40
- "@eslint-react/eff": "1.39.0-next.3"
41
+ "@eslint-react/eff": "1.40.0-next.1"
41
42
  },
42
43
  "devDependencies": {
43
44
  "@tsconfig/node22": "^22.0.1",