Skip to content

Commit d156896

Browse files
renovate[bot]renovate-botcalebeby
authored
Update dependency eslint-plugin-jsdoc to v39 (#366)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Caleb Eby <caleb.eby01@gmail.com>
1 parent f3b443b commit d156896

File tree

4 files changed

+63
-69
lines changed

4 files changed

+63
-69
lines changed

.changeset/wet-pandas-shop.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@cloudfour/eslint-plugin': major
3+
---
4+
5+
Update dependency `eslint-plugin-jsdoc` to `v39`
6+
7+
No new rules, but there are some parsing and rule enforcement changes.
8+
9+
Node 12 is no longer supported

fixtures/eslint/lib/linter/linter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ function stripDirectiveComment(value) {
300300
* @param {ASTNode} ast The top node of the AST.
301301
* @param {function(string): {create: () => void}} ruleMapper A map from rule IDs to defined rules
302302
* @param {string|null} warnInlineConfig If a string then it should warn directive comments as disabled. The string value is the config name what the setting came from.
303-
* @returns {{configuredRules: Object, enabledGlobals: {value:string,comment:Token}[], exportedVariables: Object, problems: Problem[], disableDirectives: DisableDirective[]}}
303+
* @returns {{configuredRules: object, enabledGlobals: {value: string, comment: Token}[], exportedVariables: object, problems: Problem[], disableDirectives: DisableDirective[]}}
304304
* A collection of the directive comments that were found, along with any problems that occurred when parsing
305305
*/
306306
function getDirectiveComments(filename, ast, ruleMapper, warnInlineConfig) {

package-lock.json

Lines changed: 51 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"!src/rules/**/*.test.js"
2424
],
2525
"engines": {
26-
"node": ">=12.0.0"
26+
"node": ">=14.0.0"
2727
},
2828
"keywords": [
2929
"eslint",
@@ -34,7 +34,7 @@
3434
"@typescript-eslint/eslint-plugin": "^5.0.0",
3535
"@typescript-eslint/parser": "^5.0.0",
3636
"eslint-plugin-import": "^2.25.4",
37-
"eslint-plugin-jsdoc": "^38.0.0",
37+
"eslint-plugin-jsdoc": "^39.0.0",
3838
"eslint-plugin-n": "^15.0.1",
3939
"eslint-plugin-promise": "^6.0.0",
4040
"eslint-plugin-unicorn": "^41.0.0"

0 commit comments

Comments
 (0)