@2digits/eslint-config 5.8.6 → 5.8.8

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 +6 -1
  2. package/package.json +9 -9
package/dist/index.d.mts CHANGED
@@ -3294,7 +3294,7 @@ Backward pagination arguments
3294
3294
  * Disallows 'target="_blank"' without 'rel="noreferrer noopener"'.
3295
3295
  * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
3296
3296
  */
3297
- 'react-extra/dom-no-unsafe-target-blank'?: Linter.RuleEntry<[]>;
3297
+ 'react-extra/dom-no-unsafe-target-blank'?: Linter.RuleEntry<ReactExtraDomNoUnsafeTargetBlank>;
3298
3298
  /**
3299
3299
  * Replaces usage of 'useFormState' with 'useActionState'.
3300
3300
  * @see https://eslint-react.xyz/docs/rules/dom-no-use-form-state
@@ -11638,6 +11638,7 @@ type JsdocNoUndefinedTypes = [] | [{
11638
11638
  type JsdocNoUnnecessaryTypeAssertion = [] | [{
11639
11639
  checkLiteralConstAssertions?: boolean;
11640
11640
  enableFixer?: boolean;
11641
+ fixTypeChangingCasts?: boolean;
11641
11642
  preferConstToLiteralTuples?: boolean;
11642
11643
  treatAnyAsRedundant?: boolean;
11643
11644
  typesToIgnore?: string[];
@@ -13729,6 +13730,10 @@ type ReactExtraDomNoUnknownProperty = [] | [{
13729
13730
  ignore?: string[];
13730
13731
  requireDataLowercase?: boolean;
13731
13732
  }];
13733
+ // ----- react-extra/dom-no-unsafe-target-blank -----
13734
+ type ReactExtraDomNoUnsafeTargetBlank = [] | [{
13735
+ allowReferrer?: boolean;
13736
+ }];
13732
13737
  // ----- react-extra/exhaustive-deps -----
13733
13738
  type ReactExtraExhaustiveDeps = [] | [{
13734
13739
  additionalHooks?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "5.8.6",
3
+ "version": "5.8.8",
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"
@@ -29,8 +29,8 @@
29
29
  "@2digits/constants": "1.1.20",
30
30
  "@2digits/eslint-plugin": "4.0.33",
31
31
  "@eslint-community/eslint-plugin-eslint-comments": "4.8.1",
32
- "@eslint-react/eslint-plugin": "5.24.8",
33
- "@eslint-react/kit": "5.24.8",
32
+ "@eslint-react/eslint-plugin": "5.26.1",
33
+ "@eslint-react/kit": "5.26.1",
34
34
  "@eslint/compat": "2.1.1",
35
35
  "@eslint/css": "2.0.0",
36
36
  "@eslint/js": "10.0.1",
@@ -38,7 +38,7 @@
38
38
  "@graphql-eslint/eslint-plugin": "4.4.1",
39
39
  "@next/eslint-plugin-next": "16.4.0",
40
40
  "@stylistic/eslint-plugin": "5.10.0",
41
- "@tanstack/eslint-plugin-query": "5.104.1",
41
+ "@tanstack/eslint-plugin-query": "5.104.2",
42
42
  "@tanstack/eslint-plugin-router": "1.162.0",
43
43
  "@typescript-eslint/parser": "8.71.1",
44
44
  "@typescript-eslint/utils": "8.71.1",
@@ -49,11 +49,11 @@
49
49
  "eslint-flat-config-utils": "3.2.0",
50
50
  "eslint-merge-processors": "2.0.0",
51
51
  "eslint-plugin-antfu": "3.2.3",
52
- "eslint-plugin-de-morgan": "2.2.0",
52
+ "eslint-plugin-de-morgan": "2.2.1",
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": "65.2.0",
56
+ "eslint-plugin-jsdoc": "65.3.1",
57
57
  "eslint-plugin-jsonc": "3.4.2",
58
58
  "eslint-plugin-n": "18.4.1",
59
59
  "eslint-plugin-pnpm": "1.9.1",
@@ -65,7 +65,7 @@
65
65
  "eslint-plugin-toml": "1.5.0",
66
66
  "eslint-plugin-turbo": "2.11.7",
67
67
  "eslint-plugin-unicorn": "77.0.0",
68
- "eslint-plugin-yml": "3.8.1",
68
+ "eslint-plugin-yml": "3.9.0",
69
69
  "eslint-plugin-zod": "5.0.0",
70
70
  "globals": "17.13.0",
71
71
  "graphql-config": "5.1.8",
@@ -92,8 +92,8 @@
92
92
  "tinyglobby": "0.2.17",
93
93
  "typescript": "6.0.3",
94
94
  "vite-plus": "1.1.0",
95
- "vitest": "5.0.3",
96
- "zod": "4.6.5"
95
+ "vitest": "5.0.4",
96
+ "zod": "4.6.6"
97
97
  },
98
98
  "peerDependencies": {
99
99
  "eslint": "10.12.0"