@2digits/eslint-config 5.13.0 → 5.13.1

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 +27 -1
  2. package/package.json +8 -8
package/dist/index.d.mts CHANGED
@@ -1125,7 +1125,7 @@ Backward pagination arguments
1125
1125
  * Reports if JSDoc `import()` statements point to a package which is not listed in `dependencies` or `devDependencies`
1126
1126
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/imports-as-dependencies.md#repos-sticky-header
1127
1127
  */
1128
- 'jsdoc/imports-as-dependencies'?: Linter.RuleEntry<[]>;
1128
+ 'jsdoc/imports-as-dependencies'?: Linter.RuleEntry<JsdocImportsAsDependencies>;
1129
1129
  /**
1130
1130
  * This rule reports doc comments that only restate their attached name.
1131
1131
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header
@@ -11654,6 +11654,13 @@ type JsdocImplementsOnClasses = [] | [{
11654
11654
  comment?: string;
11655
11655
  context?: string;
11656
11656
  })[];
11657
+ fix?: ("remove" | "type");
11658
+ }];
11659
+ // ----- jsdoc/imports-as-dependencies -----
11660
+ type JsdocImportsAsDependencies = [] | [{
11661
+ dependencies?: boolean;
11662
+ devDependencies?: boolean;
11663
+ peerDependencies?: boolean;
11657
11664
  }];
11658
11665
  // ----- jsdoc/informative-docs -----
11659
11666
  type JsdocInformativeDocs = [] | [{
@@ -11809,6 +11816,12 @@ type JsdocRequireDescription = [] | [{
11809
11816
  })[];
11810
11817
  descriptionStyle?: ("body" | "tag" | "any");
11811
11818
  exemptedBy?: string[];
11819
+ publicOnly?: (boolean | {
11820
+ ancestorsOnly?: boolean;
11821
+ cjs?: boolean;
11822
+ esm?: boolean;
11823
+ window?: boolean;
11824
+ });
11812
11825
  }];
11813
11826
  // ----- jsdoc/require-description-complete-sentence -----
11814
11827
  type JsdocRequireDescriptionCompleteSentence = [] | [{
@@ -11900,6 +11913,7 @@ type JsdocRequireParam = [] | [{
11900
11913
  interfaceExemptsParamsCheck?: boolean;
11901
11914
  unnamedRootBase?: string[];
11902
11915
  useDefaultObjectProperties?: boolean;
11916
+ useObjectTypeForDestructuredRoots?: boolean;
11903
11917
  }];
11904
11918
  // ----- jsdoc/require-param-description -----
11905
11919
  type JsdocRequireParamDescription = [] | [{
@@ -11908,6 +11922,12 @@ type JsdocRequireParamDescription = [] | [{
11908
11922
  context?: string;
11909
11923
  })[];
11910
11924
  defaultDestructuredRootDescription?: string;
11925
+ publicOnly?: (boolean | {
11926
+ ancestorsOnly?: boolean;
11927
+ cjs?: boolean;
11928
+ esm?: boolean;
11929
+ window?: boolean;
11930
+ });
11911
11931
  setDefaultDestructuredRootDescription?: boolean;
11912
11932
  }];
11913
11933
  // ----- jsdoc/require-param-name -----
@@ -11967,6 +11987,12 @@ type JsdocRequireReturnsDescription = [] | [{
11967
11987
  comment?: string;
11968
11988
  context?: string;
11969
11989
  })[];
11990
+ publicOnly?: (boolean | {
11991
+ ancestorsOnly?: boolean;
11992
+ cjs?: boolean;
11993
+ esm?: boolean;
11994
+ window?: boolean;
11995
+ });
11970
11996
  }];
11971
11997
  // ----- jsdoc/require-returns-type -----
11972
11998
  type JsdocRequireReturnsType = [] | [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/eslint-config",
3
- "version": "5.13.0",
3
+ "version": "5.13.1",
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"
@@ -30,17 +30,17 @@
30
30
  "@2digits/constants": "1.1.21",
31
31
  "@2digits/eslint-plugin": "4.1.2",
32
32
  "@eslint-community/eslint-plugin-eslint-comments": "4.8.1",
33
- "@eslint-react/eslint-plugin": "5.30.3",
34
- "@eslint-react/kit": "5.30.3",
33
+ "@eslint-react/eslint-plugin": "5.30.5",
34
+ "@eslint-react/kit": "5.30.5",
35
35
  "@eslint/compat": "2.1.1",
36
36
  "@eslint/css": "2.0.1",
37
37
  "@eslint/js": "10.0.1",
38
- "@eslint/markdown": "8.0.3",
38
+ "@eslint/markdown": "9.0.0",
39
39
  "@eslint/shell": "0.1.2",
40
40
  "@graphql-eslint/eslint-plugin": "4.4.2",
41
41
  "@next/eslint-plugin-next": "16.4.6",
42
42
  "@stylistic/eslint-plugin": "6.0.1",
43
- "@tanstack/eslint-plugin-query": "5.107.1",
43
+ "@tanstack/eslint-plugin-query": "5.108.1",
44
44
  "@tanstack/eslint-plugin-router": "1.162.0",
45
45
  "@typescript-eslint/parser": "8.73.0",
46
46
  "@typescript-eslint/utils": "8.73.0",
@@ -55,7 +55,7 @@
55
55
  "eslint-plugin-depend": "1.5.0",
56
56
  "eslint-plugin-drizzle": "1.0.0-rc.5",
57
57
  "eslint-plugin-github-action": "0.5.0",
58
- "eslint-plugin-jsdoc": "65.4.10",
58
+ "eslint-plugin-jsdoc": "65.5.0",
59
59
  "eslint-plugin-jsonc": "3.4.2",
60
60
  "eslint-plugin-n": "18.5.0",
61
61
  "eslint-plugin-pnpm": "1.9.1",
@@ -65,7 +65,7 @@
65
65
  "eslint-plugin-storybook": "10.6.7",
66
66
  "eslint-plugin-tailwindcss": "4.4.0",
67
67
  "eslint-plugin-toml": "1.5.0",
68
- "eslint-plugin-turbo": "2.11.11",
68
+ "eslint-plugin-turbo": "2.11.13",
69
69
  "eslint-plugin-unicorn": "80.0.0",
70
70
  "eslint-plugin-yml": "3.10.0",
71
71
  "eslint-plugin-zod": "5.3.0",
@@ -96,7 +96,7 @@
96
96
  "tsrs": "0.25.0-ts7.1.0-beta",
97
97
  "typescript": "6.0.3",
98
98
  "vite-plus": "1.7.0",
99
- "vitest": "5.1.0",
99
+ "vitest": "5.1.1",
100
100
  "zod": "4.6.7"
101
101
  },
102
102
  "peerDependencies": {