@eslint-react/core 2.9.5-next.0 → 2.10.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.
- package/dist/index.d.ts +2 -2
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { TSESTree } from "@typescript-eslint/types";
|
|
|
4
4
|
import { RegExpLike, RuleContext } from "@eslint-react/shared";
|
|
5
5
|
import { ESLintUtils, TSESTree as TSESTree$1 } from "@typescript-eslint/utils";
|
|
6
6
|
import { Scope } from "@typescript-eslint/scope-manager";
|
|
7
|
-
import * as
|
|
7
|
+
import * as typescript from "typescript";
|
|
8
8
|
|
|
9
9
|
//#region src/api/is-from-react.d.ts
|
|
10
10
|
/**
|
|
@@ -796,7 +796,7 @@ interface JsxConfig {
|
|
|
796
796
|
* @returns JsxConfig derived from compiler options
|
|
797
797
|
*/
|
|
798
798
|
declare function getJsxConfigFromContext(context: RuleContext): {
|
|
799
|
-
jsx: 4 |
|
|
799
|
+
jsx: 4 | typescript.JsxEmit;
|
|
800
800
|
jsxFactory: string;
|
|
801
801
|
jsxFragmentFactory: string;
|
|
802
802
|
jsxImportSource: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.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,13 +34,13 @@
|
|
|
34
34
|
"@typescript-eslint/types": "^8.54.0",
|
|
35
35
|
"@typescript-eslint/utils": "^8.54.0",
|
|
36
36
|
"ts-pattern": "^5.9.0",
|
|
37
|
-
"@eslint-react/ast": "2.
|
|
38
|
-
"@eslint-react/
|
|
39
|
-
"@eslint-react/shared": "2.
|
|
40
|
-
"@eslint-react/
|
|
37
|
+
"@eslint-react/ast": "2.10.0",
|
|
38
|
+
"@eslint-react/var": "2.10.0",
|
|
39
|
+
"@eslint-react/shared": "2.10.0",
|
|
40
|
+
"@eslint-react/eff": "2.10.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"tsdown": "^0.20.
|
|
43
|
+
"tsdown": "^0.20.3",
|
|
44
44
|
"@local/configs": "0.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|