@2digits/eslint-config 2.7.4 → 2.7.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.3/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.4/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -5241,6 +5241,7 @@ type CommentsRequireDescription = []|[{
5241
5241
  type Complexity = []|[(number | {
5242
5242
  maximum?: number
5243
5243
  max?: number
5244
+ variant?: ("classic" | "modified")
5244
5245
  })]
5245
5246
  // ----- computed-property-spacing -----
5246
5247
  type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
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.3/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.4/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -5241,6 +5241,7 @@ type CommentsRequireDescription = []|[{
5241
5241
  type Complexity = []|[(number | {
5242
5242
  maximum?: number
5243
5243
  max?: number
5244
+ variant?: ("classic" | "modified")
5244
5245
  })]
5245
5246
  // ----- computed-property-spacing -----
5246
5247
  type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
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.7.4",
4
+ "version": "2.7.5",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "public": true,
@@ -30,11 +30,11 @@
30
30
  "dependencies": {
31
31
  "@eslint-community/eslint-plugin-eslint-comments": "4.4.0",
32
32
  "@eslint-react/eslint-plugin": "1.14.3",
33
- "@eslint/compat": "1.1.1",
34
- "@eslint/js": "9.11.1",
33
+ "@eslint/compat": "1.2.0",
34
+ "@eslint/js": "9.12.0",
35
35
  "@graphql-eslint/eslint-plugin": "3.20.1",
36
36
  "@next/eslint-plugin-next": "14.2.14",
37
- "@tanstack/eslint-plugin-query": "5.58.1",
37
+ "@tanstack/eslint-plugin-query": "5.59.1",
38
38
  "@typescript-eslint/parser": "8.8.0",
39
39
  "eslint-config-flat-gitignore": "0.3.0",
40
40
  "eslint-config-prettier": "9.1.0",
@@ -54,13 +54,13 @@
54
54
  "local-pkg": "0.5.0",
55
55
  "typescript-eslint": "8.8.0",
56
56
  "@2digits/constants": "0.3.1",
57
- "@2digits/eslint-plugin": "2.3.3"
57
+ "@2digits/eslint-plugin": "2.3.4"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/eslint__js": "8.42.3",
61
61
  "@types/node": "20.16.10",
62
62
  "@typescript-eslint/utils": "8.8.0",
63
- "eslint": "9.11.1",
63
+ "eslint": "9.12.0",
64
64
  "eslint-typegen": "0.3.2",
65
65
  "tsup": "8.3.0",
66
66
  "typescript": "5.6.2",