@2digits/eslint-config 4.13.4 → 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.
- package/dist/index.d.mts +14 -0
- package/package.json +9 -9
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
|
|
@@ -8782,6 +8787,7 @@ type JsdocCheckExamples = [] | [{
|
|
|
8782
8787
|
}];
|
|
8783
8788
|
// ----- jsdoc/check-indentation -----
|
|
8784
8789
|
type JsdocCheckIndentation = [] | [{
|
|
8790
|
+
allowIndentedSections?: boolean;
|
|
8785
8791
|
excludeTags?: string[];
|
|
8786
8792
|
}];
|
|
8787
8793
|
// ----- jsdoc/check-line-alignment -----
|
|
@@ -9128,6 +9134,14 @@ type JsdocRequireParamType = [] | [{
|
|
|
9128
9134
|
defaultDestructuredRootType?: string;
|
|
9129
9135
|
setDefaultDestructuredRootType?: boolean;
|
|
9130
9136
|
}];
|
|
9137
|
+
// ----- jsdoc/require-rejects -----
|
|
9138
|
+
type JsdocRequireRejects = [] | [{
|
|
9139
|
+
contexts?: (string | {
|
|
9140
|
+
comment?: string;
|
|
9141
|
+
context?: string;
|
|
9142
|
+
})[];
|
|
9143
|
+
exemptedBy?: string[];
|
|
9144
|
+
}];
|
|
9131
9145
|
// ----- jsdoc/require-returns -----
|
|
9132
9146
|
type JsdocRequireReturns = [] | [{
|
|
9133
9147
|
checkConstructors?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/eslint-config",
|
|
3
|
-
"version": "4.13.
|
|
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,16 +27,16 @@
|
|
|
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.
|
|
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",
|
|
34
34
|
"@eslint/markdown": "7.5.1",
|
|
35
35
|
"@graphql-eslint/eslint-plugin": "4.4.0",
|
|
36
36
|
"@next/eslint-plugin-next": "16.0.3",
|
|
37
|
-
"@stylistic/eslint-plugin": "5.
|
|
37
|
+
"@stylistic/eslint-plugin": "5.6.1",
|
|
38
38
|
"@tanstack/eslint-plugin-query": "5.91.2",
|
|
39
|
-
"@tanstack/eslint-plugin-router": "1.
|
|
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.
|
|
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.
|
|
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",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"@2digits/eslint-plugin": "3.2.5"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@eslint/config-inspector": "1.
|
|
79
|
-
"@types/react": "19.2.
|
|
78
|
+
"@eslint/config-inspector": "1.4.1",
|
|
79
|
+
"@types/react": "19.2.6",
|
|
80
80
|
"dedent": "1.7.0",
|
|
81
81
|
"eslint": "9.39.1",
|
|
82
82
|
"eslint-typegen": "2.3.0",
|
|
@@ -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.
|
|
88
|
+
"vitest": "4.0.13",
|
|
89
89
|
"@2digits/tsconfig": "0.8.4"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|