@2digits/eslint-config 4.3.5 → 4.3.7
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 +9 -0
- package/dist/index.d.ts +9 -0
- package/package.json +18 -18
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.
|
|
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
|
|
@@ -7396,6 +7401,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
7396
7401
|
type ClassMethodsUseThis = []|[{
|
|
7397
7402
|
exceptMethods?: string[]
|
|
7398
7403
|
enforceForClassFields?: boolean
|
|
7404
|
+
ignoreOverrideMethods?: boolean
|
|
7405
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
7399
7406
|
}]
|
|
7400
7407
|
// ----- comma-dangle -----
|
|
7401
7408
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -12622,6 +12629,8 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12622
12629
|
|
|
12623
12630
|
ignoreConditionalTests?: boolean
|
|
12624
12631
|
|
|
12632
|
+
ignoreIfStatements?: boolean
|
|
12633
|
+
|
|
12625
12634
|
ignoreMixedLogicalExpressions?: boolean
|
|
12626
12635
|
|
|
12627
12636
|
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.
|
|
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
|
|
@@ -7396,6 +7401,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
7396
7401
|
type ClassMethodsUseThis = []|[{
|
|
7397
7402
|
exceptMethods?: string[]
|
|
7398
7403
|
enforceForClassFields?: boolean
|
|
7404
|
+
ignoreOverrideMethods?: boolean
|
|
7405
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
7399
7406
|
}]
|
|
7400
7407
|
// ----- comma-dangle -----
|
|
7401
7408
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -12622,6 +12629,8 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
12622
12629
|
|
|
12623
12630
|
ignoreConditionalTests?: boolean
|
|
12624
12631
|
|
|
12632
|
+
ignoreIfStatements?: boolean
|
|
12633
|
+
|
|
12625
12634
|
ignoreMixedLogicalExpressions?: boolean
|
|
12626
12635
|
|
|
12627
12636
|
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.7",
|
|
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,16 +35,16 @@
|
|
|
35
35
|
"public": true,
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
38
|
-
"@eslint-react/eslint-plugin": "1.
|
|
39
|
-
"@eslint/compat": "1.2.
|
|
38
|
+
"@eslint-react/eslint-plugin": "1.40.4",
|
|
39
|
+
"@eslint/compat": "1.2.8",
|
|
40
40
|
"@eslint/css": "0.6.0",
|
|
41
|
-
"@eslint/js": "9.
|
|
41
|
+
"@eslint/js": "9.24.0",
|
|
42
42
|
"@eslint/markdown": "6.3.0",
|
|
43
43
|
"@graphql-eslint/eslint-plugin": "4.4.0",
|
|
44
44
|
"@next/eslint-plugin-next": "15.2.4",
|
|
45
45
|
"@stylistic/eslint-plugin": "4.2.0",
|
|
46
|
-
"@tanstack/eslint-plugin-query": "5.
|
|
47
|
-
"@typescript-eslint/parser": "8.
|
|
46
|
+
"@tanstack/eslint-plugin-query": "5.71.5",
|
|
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,13 +56,13 @@
|
|
|
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",
|
|
63
63
|
"eslint-plugin-storybook": "0.12.0",
|
|
64
64
|
"eslint-plugin-tailwindcss": "3.18.0",
|
|
65
|
-
"eslint-plugin-turbo": "2.
|
|
65
|
+
"eslint-plugin-turbo": "2.5.0",
|
|
66
66
|
"eslint-plugin-unicorn": "58.0.0",
|
|
67
67
|
"eslint-plugin-yml": "1.17.0",
|
|
68
68
|
"find-up": "7.0.0",
|
|
@@ -70,26 +70,26 @@
|
|
|
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
|
-
"@2digits/constants": "0.3.
|
|
76
|
-
"@2digits/eslint-plugin": "2.3.
|
|
75
|
+
"@2digits/constants": "0.3.8",
|
|
76
|
+
"@2digits/eslint-plugin": "2.3.48"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@eslint/config-inspector": "1.0.2",
|
|
80
|
-
"@types/node": "22.
|
|
81
|
-
"@types/react": "19.0
|
|
82
|
-
"@typescript-eslint/utils": "8.
|
|
80
|
+
"@types/node": "22.14.0",
|
|
81
|
+
"@types/react": "19.1.0",
|
|
82
|
+
"@typescript-eslint/utils": "8.29.0",
|
|
83
83
|
"dedent": "1.5.3",
|
|
84
|
-
"eslint": "9.
|
|
84
|
+
"eslint": "9.24.0",
|
|
85
85
|
"eslint-typegen": "2.1.0",
|
|
86
86
|
"execa": "9.5.2",
|
|
87
87
|
"react": "19.1.0",
|
|
88
88
|
"tinyglobby": "0.2.12",
|
|
89
89
|
"tsup": "8.4.0",
|
|
90
|
-
"typescript": "5.8.
|
|
91
|
-
"vitest": "3.
|
|
92
|
-
"@2digits/tsconfig": "0.7.
|
|
90
|
+
"typescript": "5.8.3",
|
|
91
|
+
"vitest": "3.1.1",
|
|
92
|
+
"@2digits/tsconfig": "0.7.1"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|
|
95
95
|
"build": "tsup",
|