@2digits/eslint-config 2.14.9 → 2.14.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.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.31/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.32/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -11547,7 +11547,7 @@ type TsNoUnnecessaryBooleanLiteralCompare = []|[{
11547
11547
  // ----- ts/no-unnecessary-condition -----
11548
11548
  type TsNoUnnecessaryCondition = []|[{
11549
11549
 
11550
- allowConstantLoopConditions?: boolean
11550
+ allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
11551
11551
 
11552
11552
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
11553
11553
 
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.31/packages/eslint/src/rules/type-param-names.ts
13
+ * @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.3.32/packages/eslint/src/rules/type-param-names.ts
14
14
  */
15
15
  '@2digits/type-param-names'?: Linter.RuleEntry<[]>
16
16
  /**
@@ -11547,7 +11547,7 @@ type TsNoUnnecessaryBooleanLiteralCompare = []|[{
11547
11547
  // ----- ts/no-unnecessary-condition -----
11548
11548
  type TsNoUnnecessaryCondition = []|[{
11549
11549
 
11550
- allowConstantLoopConditions?: boolean
11550
+ allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
11551
11551
 
11552
11552
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
11553
11553
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "2.14.9",
3
+ "version": "2.14.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
  "type": "module",
@@ -34,9 +34,9 @@
34
34
  "@eslint/compat": "1.2.6",
35
35
  "@eslint/js": "9.20.0",
36
36
  "@graphql-eslint/eslint-plugin": "4.3.0",
37
- "@next/eslint-plugin-next": "15.1.6",
38
- "@tanstack/eslint-plugin-query": "5.66.0",
39
- "@typescript-eslint/parser": "8.23.0",
37
+ "@next/eslint-plugin-next": "15.1.7",
38
+ "@tanstack/eslint-plugin-query": "5.66.1",
39
+ "@typescript-eslint/parser": "8.24.0",
40
40
  "eslint-config-flat-gitignore": "2.0.0",
41
41
  "eslint-config-prettier": "10.0.1",
42
42
  "eslint-flat-config-utils": "2.0.1",
@@ -52,23 +52,23 @@
52
52
  "eslint-plugin-sonarjs": "3.0.1",
53
53
  "eslint-plugin-storybook": "0.11.2",
54
54
  "eslint-plugin-tailwindcss": "3.18.0",
55
- "eslint-plugin-turbo": "2.4.0",
55
+ "eslint-plugin-turbo": "2.4.1",
56
56
  "eslint-plugin-unicorn": "56.0.1",
57
57
  "find-up": "7.0.0",
58
58
  "globals": "15.14.0",
59
59
  "graphql-config": "5.1.3",
60
60
  "jsonc-eslint-parser": "2.4.0",
61
61
  "local-pkg": "1.0.0",
62
- "typescript-eslint": "8.23.0",
62
+ "typescript-eslint": "8.24.0",
63
63
  "@2digits/constants": "0.3.5",
64
- "@2digits/eslint-plugin": "2.3.31"
64
+ "@2digits/eslint-plugin": "2.3.32"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@eslint/config-inspector": "1.0.0",
68
68
  "@types/eslint__js": "8.42.3",
69
69
  "@types/node": "22.13.1",
70
- "@typescript-eslint/utils": "8.23.0",
71
- "eslint": "9.20.0",
70
+ "@typescript-eslint/utils": "8.24.0",
71
+ "eslint": "9.20.1",
72
72
  "eslint-typegen": "1.0.0",
73
73
  "tsup": "8.3.6",
74
74
  "typescript": "5.7.3",