@2digits/eslint-config 5.7.1 → 5.7.2

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +3 -2
  2. package/package.json +9 -9
package/dist/index.d.mts CHANGED
@@ -3316,7 +3316,7 @@ Backward pagination arguments
3316
3316
  */
3317
3317
  'react-extra/globals'?: Linter.RuleEntry<[]>;
3318
3318
  /**
3319
- * Validates against passing functions that mutate captured local variables into frozen contexts such as JSX props, hook arguments, and hook return values.
3319
+ * Validates against mutating props, state, and other immutable values, including through functions passed into frozen contexts such as JSX props, hook arguments, and hook return values.
3320
3320
  * @see https://eslint-react.xyz/docs/rules/immutability
3321
3321
  */
3322
3322
  'react-extra/immutability'?: Linter.RuleEntry<[]>;
@@ -3675,7 +3675,7 @@ Backward pagination arguments
3675
3675
  */
3676
3676
  'react-extra/x-globals'?: Linter.RuleEntry<[]>;
3677
3677
  /**
3678
- * Validates against passing functions that mutate captured local variables into frozen contexts such as JSX props, hook arguments, and hook return values.
3678
+ * Validates against mutating props, state, and other immutable values, including through functions passed into frozen contexts such as JSX props, hook arguments, and hook return values.
3679
3679
  * @see https://eslint-react.xyz/docs/rules/immutability
3680
3680
  */
3681
3681
  'react-extra/x-immutability'?: Linter.RuleEntry<[]>;
@@ -11270,6 +11270,7 @@ type JsdocNoUndefinedTypes = [] | [{
11270
11270
  type JsdocNoUnnecessaryTypeAssertion = [] | [{
11271
11271
  checkLiteralConstAssertions?: boolean;
11272
11272
  enableFixer?: boolean;
11273
+ preferConstToLiteralTuples?: boolean;
11273
11274
  treatAnyAsRedundant?: boolean;
11274
11275
  typesToIgnore?: string[];
11275
11276
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "5.7.1",
3
+ "version": "5.7.2",
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
  "keywords": [
6
6
  "eslint-config"
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@2digits/constants": "1.1.18",
30
- "@2digits/eslint-plugin": "4.0.27",
30
+ "@2digits/eslint-plugin": "4.0.28",
31
31
  "@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
32
- "@eslint-react/eslint-plugin": "5.18.7",
33
- "@eslint-react/kit": "5.18.7",
34
- "@eslint/compat": "2.1.0",
32
+ "@eslint-react/eslint-plugin": "5.19.0",
33
+ "@eslint-react/kit": "5.19.0",
34
+ "@eslint/compat": "2.1.1",
35
35
  "@eslint/css": "2.0.0",
36
36
  "@eslint/js": "10.0.1",
37
37
  "@eslint/markdown": "8.0.3",
@@ -53,12 +53,12 @@
53
53
  "eslint-plugin-depend": "1.5.0",
54
54
  "eslint-plugin-drizzle": "0.2.3",
55
55
  "eslint-plugin-github-action": "0.4.0",
56
- "eslint-plugin-jsdoc": "64.3.4",
56
+ "eslint-plugin-jsdoc": "64.3.6",
57
57
  "eslint-plugin-jsonc": "3.4.2",
58
58
  "eslint-plugin-n": "18.3.0",
59
59
  "eslint-plugin-pnpm": "1.9.1",
60
60
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
61
- "eslint-plugin-regexp": "3.2.0",
61
+ "eslint-plugin-regexp": "3.3.0",
62
62
  "eslint-plugin-sonarjs": "4.2.0",
63
63
  "eslint-plugin-storybook": "10.6.0",
64
64
  "eslint-plugin-tailwindcss": "3.18.2",
@@ -84,7 +84,7 @@
84
84
  "@typescript-eslint/scope-manager": "8.69.0",
85
85
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
86
86
  "dedent": "1.7.2",
87
- "eslint": "10.9.1",
87
+ "eslint": "10.10.0",
88
88
  "eslint-typegen": "2.3.1",
89
89
  "publint": "0.3.24",
90
90
  "react": "19.2.8",
@@ -96,7 +96,7 @@
96
96
  "zod": "4.5.4"
97
97
  },
98
98
  "peerDependencies": {
99
- "eslint": "10.9.1"
99
+ "eslint": "10.10.0"
100
100
  },
101
101
  "engines": {
102
102
  "node": "24.20.0"