@2digits/eslint-config 4.3.6 → 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 CHANGED
@@ -2907,7 +2907,7 @@ Backward pagination arguments
2907
2907
  */
2908
2908
  'react-extra/jsx-no-undef'?: Linter.RuleEntry<[]>
2909
2909
  /**
2910
- * Marks React variables as used when JSX is used in the file.
2910
+ * Marks React variables as used when JSX is used.
2911
2911
  * @see https://eslint-react.xyz/docs/rules/jsx-uses-react
2912
2912
  */
2913
2913
  'react-extra/jsx-uses-react'?: Linter.RuleEntry<[]>
@@ -7401,6 +7401,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
7401
7401
  type ClassMethodsUseThis = []|[{
7402
7402
  exceptMethods?: string[]
7403
7403
  enforceForClassFields?: boolean
7404
+ ignoreOverrideMethods?: boolean
7405
+ ignoreClassesWithImplements?: ("all" | "public-fields")
7404
7406
  }]
7405
7407
  // ----- comma-dangle -----
7406
7408
  type CommaDangle = []|[(_CommaDangleValue | {
package/dist/index.d.ts CHANGED
@@ -2907,7 +2907,7 @@ Backward pagination arguments
2907
2907
  */
2908
2908
  'react-extra/jsx-no-undef'?: Linter.RuleEntry<[]>
2909
2909
  /**
2910
- * Marks React variables as used when JSX is used in the file.
2910
+ * Marks React variables as used when JSX is used.
2911
2911
  * @see https://eslint-react.xyz/docs/rules/jsx-uses-react
2912
2912
  */
2913
2913
  'react-extra/jsx-uses-react'?: Linter.RuleEntry<[]>
@@ -7401,6 +7401,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
7401
7401
  type ClassMethodsUseThis = []|[{
7402
7402
  exceptMethods?: string[]
7403
7403
  enforceForClassFields?: boolean
7404
+ ignoreOverrideMethods?: boolean
7405
+ ignoreClassesWithImplements?: ("all" | "public-fields")
7404
7406
  }]
7405
7407
  // ----- comma-dangle -----
7406
7408
  type CommaDangle = []|[(_CommaDangleValue | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "4.3.6",
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,15 +35,15 @@
35
35
  "public": true,
36
36
  "dependencies": {
37
37
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
38
- "@eslint-react/eslint-plugin": "1.40.1",
39
- "@eslint/compat": "1.2.7",
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.23.0",
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.68.0",
46
+ "@tanstack/eslint-plugin-query": "5.71.5",
47
47
  "@typescript-eslint/parser": "8.29.0",
48
48
  "eslint-config-flat-gitignore": "2.1.0",
49
49
  "eslint-config-prettier": "10.1.1",
@@ -62,7 +62,7 @@
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.4.4",
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",
@@ -72,24 +72,24 @@
72
72
  "local-pkg": "1.1.1",
73
73
  "typescript-eslint": "8.29.0",
74
74
  "yaml-eslint-parser": "1.3.0",
75
- "@2digits/constants": "0.3.7",
76
- "@2digits/eslint-plugin": "2.3.47"
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.13.17",
81
- "@types/react": "19.0.12",
80
+ "@types/node": "22.14.0",
81
+ "@types/react": "19.1.0",
82
82
  "@typescript-eslint/utils": "8.29.0",
83
83
  "dedent": "1.5.3",
84
- "eslint": "9.23.0",
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.2",
90
+ "typescript": "5.8.3",
91
91
  "vitest": "3.1.1",
92
- "@2digits/tsconfig": "0.7.0"
92
+ "@2digits/tsconfig": "0.7.1"
93
93
  },
94
94
  "scripts": {
95
95
  "build": "tsup",