@2digits/eslint-config 4.13.5 → 4.13.6

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 +13 -0
  2. package/package.json +6 -6
package/dist/index.d.mts CHANGED
@@ -1237,6 +1237,11 @@ interface RuleOptions {
1237
1237
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
1238
1238
  */
1239
1239
  'jsdoc/require-property-type'?: Linter.RuleEntry<[]>;
1240
+ /**
1241
+ * Requires that Promise rejections are documented with `@rejects` tags.
1242
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-rejects.md#repos-sticky-header
1243
+ */
1244
+ 'jsdoc/require-rejects'?: Linter.RuleEntry<JsdocRequireRejects>;
1240
1245
  /**
1241
1246
  * Requires that returns are documented with `@returns`.
1242
1247
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
@@ -9129,6 +9134,14 @@ type JsdocRequireParamType = [] | [{
9129
9134
  defaultDestructuredRootType?: string;
9130
9135
  setDefaultDestructuredRootType?: boolean;
9131
9136
  }];
9137
+ // ----- jsdoc/require-rejects -----
9138
+ type JsdocRequireRejects = [] | [{
9139
+ contexts?: (string | {
9140
+ comment?: string;
9141
+ context?: string;
9142
+ })[];
9143
+ exemptedBy?: string[];
9144
+ }];
9132
9145
  // ----- jsdoc/require-returns -----
9133
9146
  type JsdocRequireReturns = [] | [{
9134
9147
  checkConstructors?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "4.13.5",
3
+ "version": "4.13.6",
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
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "public": true,
28
28
  "dependencies": {
29
29
  "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
30
- "@eslint-react/eslint-plugin": "2.3.5",
30
+ "@eslint-react/eslint-plugin": "2.3.7",
31
31
  "@eslint/compat": "2.0.0",
32
32
  "@eslint/css": "0.14.1",
33
33
  "@eslint/js": "9.39.1",
@@ -36,7 +36,7 @@
36
36
  "@next/eslint-plugin-next": "16.0.3",
37
37
  "@stylistic/eslint-plugin": "5.6.1",
38
38
  "@tanstack/eslint-plugin-query": "5.91.2",
39
- "@tanstack/eslint-plugin-router": "1.133.19",
39
+ "@tanstack/eslint-plugin-router": "1.139.0",
40
40
  "@typescript-eslint/parser": "8.47.0",
41
41
  "@typescript-eslint/utils": "8.47.0",
42
42
  "empathic": "2.0.0",
@@ -49,7 +49,7 @@
49
49
  "eslint-plugin-depend": "1.4.0",
50
50
  "eslint-plugin-drizzle": "0.2.3",
51
51
  "eslint-plugin-github-action": "0.0.16",
52
- "eslint-plugin-jsdoc": "61.3.0",
52
+ "eslint-plugin-jsdoc": "61.4.0",
53
53
  "eslint-plugin-jsonc": "2.21.0",
54
54
  "eslint-plugin-n": "17.23.1",
55
55
  "eslint-plugin-pnpm": "1.3.0",
@@ -62,7 +62,7 @@
62
62
  "eslint-plugin-turbo": "2.6.1",
63
63
  "eslint-plugin-unicorn": "62.0.0",
64
64
  "eslint-plugin-yml": "1.19.0",
65
- "eslint-plugin-zod-x": "1.9.0",
65
+ "eslint-plugin-zod-x": "1.10.0",
66
66
  "globals": "16.5.0",
67
67
  "graphql-config": "5.1.5",
68
68
  "jsonc-eslint-parser": "2.4.1",
@@ -85,7 +85,7 @@
85
85
  "tinyglobby": "0.2.15",
86
86
  "tsdown": "0.16.1",
87
87
  "typescript": "5.9.3",
88
- "vitest": "4.0.12",
88
+ "vitest": "4.0.13",
89
89
  "@2digits/tsconfig": "0.8.4"
90
90
  },
91
91
  "scripts": {