@2digits/eslint-config 4.3.4 → 4.3.6
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.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/package.json +10 -10
package/dist/index.d.cts
CHANGED
|
@@ -2906,6 +2906,11 @@ Backward pagination arguments
|
|
|
2906
2906
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
2907
2907
|
*/
|
|
2908
2908
|
'react-extra/jsx-no-undef'?: Linter.RuleEntry<[]>
|
|
2909
|
+
/**
|
|
2910
|
+
* Marks React variables as used when JSX is used in the file.
|
|
2911
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
2912
|
+
*/
|
|
2913
|
+
'react-extra/jsx-uses-react'?: Linter.RuleEntry<[]>
|
|
2909
2914
|
/**
|
|
2910
2915
|
* Marks variables used in JSX elements as used.
|
|
2911
2916
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
@@ -12622,6 +12627,8 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12622
12627
|
|
|
12623
12628
|
ignoreConditionalTests?: boolean
|
|
12624
12629
|
|
|
12630
|
+
ignoreIfStatements?: boolean
|
|
12631
|
+
|
|
12625
12632
|
ignoreMixedLogicalExpressions?: boolean
|
|
12626
12633
|
|
|
12627
12634
|
ignorePrimitives?: ({
|
package/dist/index.d.ts
CHANGED
|
@@ -2906,6 +2906,11 @@ Backward pagination arguments
|
|
|
2906
2906
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
2907
2907
|
*/
|
|
2908
2908
|
'react-extra/jsx-no-undef'?: Linter.RuleEntry<[]>
|
|
2909
|
+
/**
|
|
2910
|
+
* Marks React variables as used when JSX is used in the file.
|
|
2911
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-react
|
|
2912
|
+
*/
|
|
2913
|
+
'react-extra/jsx-uses-react'?: Linter.RuleEntry<[]>
|
|
2909
2914
|
/**
|
|
2910
2915
|
* Marks variables used in JSX elements as used.
|
|
2911
2916
|
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
@@ -12622,6 +12627,8 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12622
12627
|
|
|
12623
12628
|
ignoreConditionalTests?: boolean
|
|
12624
12629
|
|
|
12630
|
+
ignoreIfStatements?: boolean
|
|
12631
|
+
|
|
12625
12632
|
ignoreMixedLogicalExpressions?: boolean
|
|
12626
12633
|
|
|
12627
12634
|
ignorePrimitives?: ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/eslint-config",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.6",
|
|
4
4
|
"description": "Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.",
|
|
5
5
|
"homepage": "https://2d-configs.vercel.app/",
|
|
6
6
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"public": true,
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
38
|
-
"@eslint-react/eslint-plugin": "1.
|
|
38
|
+
"@eslint-react/eslint-plugin": "1.40.1",
|
|
39
39
|
"@eslint/compat": "1.2.7",
|
|
40
40
|
"@eslint/css": "0.6.0",
|
|
41
41
|
"@eslint/js": "9.23.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@next/eslint-plugin-next": "15.2.4",
|
|
45
45
|
"@stylistic/eslint-plugin": "4.2.0",
|
|
46
46
|
"@tanstack/eslint-plugin-query": "5.68.0",
|
|
47
|
-
"@typescript-eslint/parser": "8.
|
|
47
|
+
"@typescript-eslint/parser": "8.29.0",
|
|
48
48
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
49
49
|
"eslint-config-prettier": "10.1.1",
|
|
50
50
|
"eslint-flat-config-utils": "2.0.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"eslint-plugin-jsonc": "2.20.0",
|
|
57
57
|
"eslint-plugin-n": "17.17.0",
|
|
58
58
|
"eslint-plugin-pnpm": "0.3.1",
|
|
59
|
-
"eslint-plugin-react-compiler": "19.0.0-beta-
|
|
59
|
+
"eslint-plugin-react-compiler": "19.0.0-beta-e993439-20250328",
|
|
60
60
|
"eslint-plugin-react-hooks": "5.2.0",
|
|
61
61
|
"eslint-plugin-regexp": "2.7.0",
|
|
62
62
|
"eslint-plugin-sonarjs": "3.0.2",
|
|
@@ -70,25 +70,25 @@
|
|
|
70
70
|
"graphql-config": "5.1.3",
|
|
71
71
|
"jsonc-eslint-parser": "2.4.0",
|
|
72
72
|
"local-pkg": "1.1.1",
|
|
73
|
-
"typescript-eslint": "8.
|
|
73
|
+
"typescript-eslint": "8.29.0",
|
|
74
74
|
"yaml-eslint-parser": "1.3.0",
|
|
75
75
|
"@2digits/constants": "0.3.7",
|
|
76
|
-
"@2digits/eslint-plugin": "2.3.
|
|
76
|
+
"@2digits/eslint-plugin": "2.3.47"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@eslint/config-inspector": "1.0.2",
|
|
80
|
-
"@types/node": "22.13.
|
|
80
|
+
"@types/node": "22.13.17",
|
|
81
81
|
"@types/react": "19.0.12",
|
|
82
|
-
"@typescript-eslint/utils": "8.
|
|
82
|
+
"@typescript-eslint/utils": "8.29.0",
|
|
83
83
|
"dedent": "1.5.3",
|
|
84
84
|
"eslint": "9.23.0",
|
|
85
85
|
"eslint-typegen": "2.1.0",
|
|
86
86
|
"execa": "9.5.2",
|
|
87
|
-
"react": "19.
|
|
87
|
+
"react": "19.1.0",
|
|
88
88
|
"tinyglobby": "0.2.12",
|
|
89
89
|
"tsup": "8.4.0",
|
|
90
90
|
"typescript": "5.8.2",
|
|
91
|
-
"vitest": "3.
|
|
91
|
+
"vitest": "3.1.1",
|
|
92
92
|
"@2digits/tsconfig": "0.7.0"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|