eslint-plugin-jsdoc 65.4.2 → 65.4.4
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/package.json +14 -14
- package/src/rules/requireParam.js +9 -0
- package/src/rules/validTypes.js +1 -0
package/package.json
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@es-joy/escodegen": "^4.2.0",
|
|
9
|
-
"@es-joy/jsdoccomment": "~1.
|
|
9
|
+
"@es-joy/jsdoccomment": "~1.1.0",
|
|
10
10
|
"@es-joy/resolve.exports": "1.2.0",
|
|
11
|
-
"@typescript-eslint/utils": "^8.72.
|
|
11
|
+
"@typescript-eslint/utils": "^8.72.1",
|
|
12
12
|
"are-docs-informative": "^0.1.1",
|
|
13
13
|
"comment-parser": "1.4.9",
|
|
14
14
|
"debug": "^4.4.3",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"html-entities": "^2.6.0",
|
|
19
19
|
"object-deep-merge": "^2.0.1",
|
|
20
20
|
"parse-imports-exports": "^0.2.4",
|
|
21
|
-
"semver": "^7.8.
|
|
21
|
+
"semver": "^7.8.6",
|
|
22
22
|
"spdx-expression-parse": "^5.0.0",
|
|
23
23
|
"to-valid-identifier": "^1.0.0"
|
|
24
24
|
},
|
|
25
25
|
"description": "JSDoc linting rules for ESLint.",
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
28
|
-
"@babel/core": "8.0
|
|
28
|
+
"@babel/core": "8.1.0",
|
|
29
29
|
"@babel/eslint-parser": "8.0.7",
|
|
30
30
|
"@babel/plugin-transform-flow-strip-types": "8.0.1",
|
|
31
31
|
"@babel/preset-env": "8.0.7",
|
|
@@ -38,27 +38,27 @@
|
|
|
38
38
|
"@types/chai": "^5.2.3",
|
|
39
39
|
"@types/debug": "^4.1.13",
|
|
40
40
|
"@types/esquery": "^1.5.4",
|
|
41
|
-
"@types/estree": "^1.0.
|
|
41
|
+
"@types/estree": "^1.0.10",
|
|
42
42
|
"@types/json-schema": "^7.0.15",
|
|
43
43
|
"@types/mocha": "^10.0.10",
|
|
44
|
-
"@types/node": "^26.6.
|
|
44
|
+
"@types/node": "^26.6.6",
|
|
45
45
|
"@types/semver": "^7.8.0",
|
|
46
46
|
"@types/spdx-expression-parse": "^4.0.0",
|
|
47
|
-
"@typescript-eslint/types": "8.72.
|
|
47
|
+
"@typescript-eslint/types": "8.72.1",
|
|
48
48
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
49
49
|
"babel-plugin-transform-import-meta": "^3.1.0",
|
|
50
50
|
"c8": "^12.0.0",
|
|
51
51
|
"camelcase": "^10.0.0",
|
|
52
52
|
"chai": "^6.3.0",
|
|
53
53
|
"decamelize": "^7.0.0",
|
|
54
|
-
"eslint": "10.
|
|
54
|
+
"eslint": "10.14.0",
|
|
55
55
|
"eslint-config-canonical": "^47.4.2",
|
|
56
56
|
"eslint-plugin-eslint-plugin": "^7.6.2",
|
|
57
57
|
"gitdown": "^4.1.1",
|
|
58
|
-
"glob": "^
|
|
59
|
-
"globals": "^17.
|
|
58
|
+
"glob": "^14.0.3",
|
|
59
|
+
"globals": "^17.14.0",
|
|
60
60
|
"husky": "^9.1.7",
|
|
61
|
-
"jsdoc-type-pratt-parser": "^9.
|
|
61
|
+
"jsdoc-type-pratt-parser": "^9.5.0",
|
|
62
62
|
"json-schema": "^0.4.0",
|
|
63
63
|
"json-schema-to-typescript": "^16.0.0",
|
|
64
64
|
"lint-staged": "^17.6.0",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
"open-editor": "^6.0.0",
|
|
67
67
|
"playwright": "^1.64.1",
|
|
68
68
|
"replace": "^1.2.2",
|
|
69
|
-
"rimraf": "^6.1.
|
|
69
|
+
"rimraf": "^6.1.4",
|
|
70
70
|
"semantic-release": "^25.0.9",
|
|
71
71
|
"sinon": "^22.1.0",
|
|
72
72
|
"ts-api-utils": "^2.5.0",
|
|
73
73
|
"typescript": "6.0.3",
|
|
74
|
-
"typescript-eslint": "8.72.
|
|
74
|
+
"typescript-eslint": "8.72.1"
|
|
75
75
|
},
|
|
76
76
|
"engines": {
|
|
77
77
|
"node": "^22.22.2 || >=24.15.0"
|
|
@@ -164,5 +164,5 @@
|
|
|
164
164
|
"test-cov": "TIMING=1 c8 --reporter text pnpm run test-no-cov",
|
|
165
165
|
"test-index": "pnpm run test-no-cov test/rules/index.js"
|
|
166
166
|
},
|
|
167
|
-
"version": "65.4.
|
|
167
|
+
"version": "65.4.4"
|
|
168
168
|
}
|
|
@@ -511,10 +511,19 @@ export default iterateJsdoc(({
|
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
513
|
|
|
514
|
+
let fixed = false;
|
|
515
|
+
|
|
514
516
|
/**
|
|
515
517
|
* @returns {void}
|
|
516
518
|
*/
|
|
517
519
|
const fixer = () => {
|
|
520
|
+
// Every report shares this fixer and `jsdoc`, so only add the tags once;
|
|
521
|
+
// each report then gets the same, complete fix
|
|
522
|
+
if (fixed) {
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
fixed = true;
|
|
518
527
|
for (const missingTag of missingTags) {
|
|
519
528
|
fix(missingTag);
|
|
520
529
|
}
|