@2digits/eslint-config 4.4.9 → 4.4.10

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
@@ -2210,7 +2210,7 @@ Backward pagination arguments
2210
2210
  * Disallow identifiers from shadowing restricted names
2211
2211
  * @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
2212
2212
  */
2213
- 'no-shadow-restricted-names'?: Linter.RuleEntry<[]>
2213
+ 'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
2214
2214
  /**
2215
2215
  * Disallow spacing between function identifiers and their applications (deprecated)
2216
2216
  * @see https://eslint.org/docs/latest/rules/no-spaced-func
@@ -9412,6 +9412,10 @@ type NoShadow = []|[{
9412
9412
  allow?: string[]
9413
9413
  ignoreOnInitialization?: boolean
9414
9414
  }]
9415
+ // ----- no-shadow-restricted-names -----
9416
+ type NoShadowRestrictedNames = []|[{
9417
+ reportGlobalThis?: boolean
9418
+ }]
9415
9419
  // ----- no-sync -----
9416
9420
  type NoSync = []|[{
9417
9421
  allowAtRootLevel?: boolean
@@ -9463,6 +9467,7 @@ type NoUnusedExpressions = []|[{
9463
9467
  allowTernary?: boolean
9464
9468
  allowTaggedTemplates?: boolean
9465
9469
  enforceForJSX?: boolean
9470
+ ignoreDirectives?: boolean
9466
9471
  }]
9467
9472
  // ----- no-unused-vars -----
9468
9473
  type NoUnusedVars = []|[(("all" | "local") | {
@@ -12557,6 +12562,7 @@ type TsNoUnusedExpressions = []|[{
12557
12562
  allowTernary?: boolean
12558
12563
  allowTaggedTemplates?: boolean
12559
12564
  enforceForJSX?: boolean
12565
+ ignoreDirectives?: boolean
12560
12566
  }]
12561
12567
  // ----- ts/no-unused-vars -----
12562
12568
  type TsNoUnusedVars = []|[(("all" | "local") | {
package/dist/index.d.ts CHANGED
@@ -2210,7 +2210,7 @@ Backward pagination arguments
2210
2210
  * Disallow identifiers from shadowing restricted names
2211
2211
  * @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
2212
2212
  */
2213
- 'no-shadow-restricted-names'?: Linter.RuleEntry<[]>
2213
+ 'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
2214
2214
  /**
2215
2215
  * Disallow spacing between function identifiers and their applications (deprecated)
2216
2216
  * @see https://eslint.org/docs/latest/rules/no-spaced-func
@@ -9412,6 +9412,10 @@ type NoShadow = []|[{
9412
9412
  allow?: string[]
9413
9413
  ignoreOnInitialization?: boolean
9414
9414
  }]
9415
+ // ----- no-shadow-restricted-names -----
9416
+ type NoShadowRestrictedNames = []|[{
9417
+ reportGlobalThis?: boolean
9418
+ }]
9415
9419
  // ----- no-sync -----
9416
9420
  type NoSync = []|[{
9417
9421
  allowAtRootLevel?: boolean
@@ -9463,6 +9467,7 @@ type NoUnusedExpressions = []|[{
9463
9467
  allowTernary?: boolean
9464
9468
  allowTaggedTemplates?: boolean
9465
9469
  enforceForJSX?: boolean
9470
+ ignoreDirectives?: boolean
9466
9471
  }]
9467
9472
  // ----- no-unused-vars -----
9468
9473
  type NoUnusedVars = []|[(("all" | "local") | {
@@ -12557,6 +12562,7 @@ type TsNoUnusedExpressions = []|[{
12557
12562
  allowTernary?: boolean
12558
12563
  allowTaggedTemplates?: boolean
12559
12564
  enforceForJSX?: boolean
12565
+ ignoreDirectives?: boolean
12560
12566
  }]
12561
12567
  // ----- ts/no-unused-vars -----
12562
12568
  type TsNoUnusedVars = []|[(("all" | "local") | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "4.4.9",
3
+ "version": "4.4.10",
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": {
@@ -30,9 +30,9 @@
30
30
  "dependencies": {
31
31
  "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
32
32
  "@eslint-react/eslint-plugin": "1.48.5",
33
- "@eslint/compat": "1.2.8",
33
+ "@eslint/compat": "1.2.9",
34
34
  "@eslint/css": "0.7.0",
35
- "@eslint/js": "9.25.1",
35
+ "@eslint/js": "9.26.0",
36
36
  "@eslint/markdown": "6.4.0",
37
37
  "@graphql-eslint/eslint-plugin": "4.4.0",
38
38
  "@next/eslint-plugin-next": "15.3.1",
@@ -68,14 +68,14 @@
68
68
  "typescript-eslint": "8.31.1",
69
69
  "yaml-eslint-parser": "1.3.0",
70
70
  "@2digits/constants": "1.0.0",
71
- "@2digits/eslint-plugin": "3.0.4"
71
+ "@2digits/eslint-plugin": "3.0.5"
72
72
  },
73
73
  "devDependencies": {
74
74
  "@eslint/config-inspector": "1.0.2",
75
75
  "@types/node": "22.15.3",
76
76
  "@types/react": "19.1.2",
77
- "dedent": "1.5.3",
78
- "eslint": "9.25.1",
77
+ "dedent": "1.6.0",
78
+ "eslint": "9.26.0",
79
79
  "eslint-typegen": "2.1.0",
80
80
  "execa": "9.5.2",
81
81
  "react": "19.1.0",