@2digits/eslint-config 2.10.3 → 2.10.5

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
@@ -10,7 +10,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
10
10
  interface RuleOptions {
11
11
  /**
12
12
  * Enforce giving proper names to type parameters when there are two or more
13
- * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.15/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.16/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -9696,6 +9696,10 @@ type TsPreferOptionalChain = []|[{
9696
9696
  type TsPreferPromiseRejectErrors = []|[{
9697
9697
 
9698
9698
  allowEmptyReject?: boolean
9699
+
9700
+ allowThrowingAny?: boolean
9701
+
9702
+ allowThrowingUnknown?: boolean
9699
9703
  }]
9700
9704
  // ----- ts/prefer-readonly -----
9701
9705
  type TsPreferReadonly = []|[{
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
10
10
  interface RuleOptions {
11
11
  /**
12
12
  * Enforce giving proper names to type parameters when there are two or more
13
- * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.15/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.16/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -9696,6 +9696,10 @@ type TsPreferOptionalChain = []|[{
9696
9696
  type TsPreferPromiseRejectErrors = []|[{
9697
9697
 
9698
9698
  allowEmptyReject?: boolean
9699
+
9700
+ allowThrowingAny?: boolean
9701
+
9702
+ allowThrowingUnknown?: boolean
9699
9703
  }]
9700
9704
  // ----- ts/prefer-readonly -----
9701
9705
  type TsPreferReadonly = []|[{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
3
  "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.",
4
- "version": "2.10.3",
4
+ "version": "2.10.5",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "public": true,
@@ -29,13 +29,13 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
32
- "@eslint-react/eslint-plugin": "1.17.2",
32
+ "@eslint-react/eslint-plugin": "1.17.3",
33
33
  "@eslint/compat": "1.2.3",
34
34
  "@eslint/js": "9.16.0",
35
- "@graphql-eslint/eslint-plugin": "4.2.0",
35
+ "@graphql-eslint/eslint-plugin": "4.2.1",
36
36
  "@next/eslint-plugin-next": "15.0.3",
37
- "@tanstack/eslint-plugin-query": "5.61.6",
38
- "@typescript-eslint/parser": "8.16.0",
37
+ "@tanstack/eslint-plugin-query": "5.62.1",
38
+ "@typescript-eslint/parser": "8.17.0",
39
39
  "eslint-config-flat-gitignore": "0.3.0",
40
40
  "eslint-config-prettier": "9.1.0",
41
41
  "eslint-flat-config-utils": "0.4.0",
@@ -55,14 +55,14 @@
55
55
  "globals": "15.13.0",
56
56
  "graphql-config": "5.1.3",
57
57
  "local-pkg": "0.5.1",
58
- "typescript-eslint": "8.16.0",
58
+ "typescript-eslint": "8.17.0",
59
59
  "@2digits/constants": "0.3.4",
60
- "@2digits/eslint-plugin": "2.3.15"
60
+ "@2digits/eslint-plugin": "2.3.16"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/eslint__js": "8.42.3",
64
64
  "@types/node": "22.10.1",
65
- "@typescript-eslint/utils": "8.16.0",
65
+ "@typescript-eslint/utils": "8.17.0",
66
66
  "eslint": "9.16.0",
67
67
  "eslint-typegen": "0.3.2",
68
68
  "tsup": "8.3.5",