@2digits/eslint-config 4.13.5 → 4.13.7
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 +13 -0
- package/package.json +14 -14
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.
|
|
3
|
+
"version": "4.13.7",
|
|
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,18 +27,18 @@
|
|
|
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
|
-
"@next/eslint-plugin-next": "16.0.
|
|
36
|
+
"@next/eslint-plugin-next": "16.0.4",
|
|
37
37
|
"@stylistic/eslint-plugin": "5.6.1",
|
|
38
38
|
"@tanstack/eslint-plugin-query": "5.91.2",
|
|
39
|
-
"@tanstack/eslint-plugin-router": "1.
|
|
40
|
-
"@typescript-eslint/parser": "8.
|
|
41
|
-
"@typescript-eslint/utils": "8.
|
|
39
|
+
"@tanstack/eslint-plugin-router": "1.139.0",
|
|
40
|
+
"@typescript-eslint/parser": "8.48.0",
|
|
41
|
+
"@typescript-eslint/utils": "8.48.0",
|
|
42
42
|
"empathic": "2.0.0",
|
|
43
43
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
44
44
|
"eslint-config-prettier": "10.1.8",
|
|
@@ -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.1",
|
|
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,21 +62,21 @@
|
|
|
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",
|
|
69
69
|
"local-pkg": "1.1.2",
|
|
70
70
|
"pkg-types": "2.3.0",
|
|
71
71
|
"tailwind-csstree": "0.1.4",
|
|
72
|
-
"typescript-eslint": "8.
|
|
73
|
-
"yaml-eslint-parser": "1.3.
|
|
72
|
+
"typescript-eslint": "8.48.0",
|
|
73
|
+
"yaml-eslint-parser": "1.3.1",
|
|
74
74
|
"@2digits/constants": "1.1.10",
|
|
75
|
-
"@2digits/eslint-plugin": "3.2.
|
|
75
|
+
"@2digits/eslint-plugin": "3.2.6"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@eslint/config-inspector": "1.4.
|
|
79
|
-
"@types/react": "19.2.
|
|
78
|
+
"@eslint/config-inspector": "1.4.2",
|
|
79
|
+
"@types/react": "19.2.7",
|
|
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.14",
|
|
89
89
|
"@2digits/tsconfig": "0.8.4"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|