fix(deps): update dependency eslint-plugin-jsdoc to v37 #115
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^15.3.7->^37.0.0^23.1.0->^37.0.0Release Notes
gajus/eslint-plugin-jsdoc
v37.0.3Compare Source
Bug Fixes
v37.0.2Compare Source
Bug Fixes
v37.0.1Compare Source
Bug Fixes
v37.0.0Compare Source
Features
BREAKING CHANGES
jsdoc/check-examplesrule! We can hopefully restore this rule after https://github.com/eslint/eslint/issues/14745jsdoc-type-pratt-parserandjsdoccommentCo-authored-by: Brett Zamir <brettz9@yahoo.com>
v36.1.1Compare Source
Bug Fixes
check-indentation: ensure decorators in fenced code blocks do not terminate ignoring of indentation in code blocks; fixes #789 (0f4d8e0)v36.1.0Compare Source
Bug Fixes
check-values: avoid capturing carriage return with license check; fixes #783 (98a6d35)Features
ignoreReplacesDocssetting (defaulting to true); fixes #780 (#781) (f8297aa)v36.0.8Compare Source
Bug Fixes
comment-parserallowing lower version, liberalizeengines; fixes #774 (63640e0)v36.0.7Compare Source
Bug Fixes
tag-lines: schema fix for tags (#775) (135a356)v36.0.6Compare Source
Bug Fixes
v36.0.5Compare Source
Bug Fixes
jsdoccommentandjsdoc-type-pratt-parser(80334d8)v36.0.4Compare Source
Bug Fixes
engines, should now work) (508bf18)v36.0.3Compare Source
Bug Fixes
v36.0.2Compare Source
Bug Fixes
v36.0.1Compare Source
Bug Fixes
v36.0.0Compare Source
chore
BREAKING CHANGES
comment-parserESM updatev35.5.1Compare Source
Bug Fixes
jsdoccommentversion for now; fixes #772 (c9b854b)v35.5.0Compare Source
Features
require-returns-check: addexemptGeneratorsoption (default on for typescript mode) to allow[@returns](https://togithub.com/returns)to be present even withoutreturn(8ef41a1)v35.4.7Compare Source
Bug Fixes
require-returns: handle contexts TSFunctionType, TSMethodSignature, MethodDefinition; fixes #767 (fdca227)v35.4.6Compare Source
Bug Fixes
require-param: if adding params, convert single-line block to multiline; fixes #771 (641cdee)v35.4.5Compare Source
Bug Fixes
valid-types: allow and require types on[@extends](https://togithub.com/extends)for TypeScript as used in docs (and not name) (6989699)v35.4.4Compare Source
Bug Fixes
tag-lines: allowanyintags[tag].linesoption to allow lines per tag when otherwise blocked (52d7eff)v35.4.3Compare Source
Bug Fixes
check-line-alignment: preserve carriage returns; fixes #745 (27521d2)v35.4.2Compare Source
Bug Fixes
check-examples: auto-disableno-empty-functionrule for expression checking; clear it is a no-op in this context (5a928db)v35.4.1Compare Source
Bug Fixes
no-missing-syntax: fix message; closes #761 (317674c)v35.4.0Compare Source
Features
messageoptions formatch-description; fixes #688 (7257e44)v35.3.2Compare Source
Bug Fixes
throwmissing[@throws](https://togithub.com/throws); fixes #722 (f7c8038)v35.3.1Compare Source
Bug Fixes
v35.3.0Compare Source
Features
match-namerule; fixes #509 (eff90bd)v35.2.0Compare Source
Features
no-missing-syntax,no-restricted-syntax, etc.: assumeanycontext ifcontextomitted (2dcd9ad)v35.1.3Compare Source
Bug Fixes
require-jsdoc:exemptEmptyFunctionsoption could trigger problematic return value checking behavior with no-argument functions (3089a92)v35.1.2Compare Source
Bug Fixes
v35.1.1Compare Source
Bug Fixes
jsdoc-type-pratt-parser(liberalizes ID start to support underscores and start/continue to support other Unicode) (1a6de5e)v35.1.0Compare Source
Bug Fixes
no-missing-syntax,no-restricted-syntax: support "any" with comment including global comments (dc641cc)Features
jsdoc-type-pratt-parser(647d47e)v35.0.0Compare Source
Bug Fixes
multiline-blocks: Enable (noZeroLineTextandnoFinalLineTextwill apply by default) (b81e25d)BREAKING CHANGES
multiline-blocks: Should have been enabled by defaultAlso adds newer rules to doc listing
v34.8.2Compare Source
Bug Fixes
check-line-alignment: add multiline type workaround (#744); fixes part of #743 (9928298)v34.8.1Compare Source
Bug Fixes
tag-lines: avoid false positive for "never" when line break occurs in the middle of a tag description. (3496011)tag-lines: ensure a middle-of-block empty line doesn't suppress "always" errors (33aa921)v34.8.0Compare Source
Features
tag-lines: addtagsoption to override behavior on a tag-specific basis (including only applying to tag(s)); fixes #734 (6e5e76d)v34.7.0Compare Source
Features
multiline-blocks: addnoFinalLineTextoption; fixes #738 (03d3f40)v34.6.3Compare Source
Bug Fixes
multiline-blocks: fix merging of lines to prevent removal of spaces, though removing where needed (9af6e36)v34.6.2Compare Source
Bug Fixes
multiline-blocks: ensurenoZeroLineTextchecks whennoMultilineBlocksistruebut not matching; fixes #737 (19f60ac)v34.6.1Compare Source
Bug Fixes
no-multi-asterisks: avoid false positives and erring in fixer of single line blocks; fixes #735 (355da58)v34.6.0Compare Source
Features
no-multi-asterisksrule to prevent multiple asterisks with middle delimiters or at end of blocks (8848246)v34.5.0Compare Source
Features
multiline-blocks: allow control of how and whether jsdoc blocks can be expressed as single or multiple line blocks (06bbf37)v34.4.0Compare Source
Features
tag-line; fixes #93 (851e3fe)v34.3.0Compare Source
Features
check-values: ensure[@variation](https://togithub.com/variation)is a positive integer (56577ce)v34.2.2Compare Source
Bug Fixes
check-param-names: adjusts line numbers to be nearer problematic item (e6c9ab2)no-missing-syntax: pass in missingcomment(a977896)v34.2.1Compare Source
Bug Fixes
require-description,require-example: for missing description, use tag line number (310ea75)v34.2.0Compare Source
Features
no-bad-blocks: addpreventAllMultiasteriskBlocksboolean option to allow reporting of any multi-asterisked multiline comments (9669fc3)v34.1.0Compare Source
Features
check-line-alignment: addpreserveMainDescriptionPostDelimiteroption to preserve left-hand side spacings in the main description when using thealwaysoption. (54dac34)v34.0.2Compare Source
Bug Fixes
no-bad-blocks: avoid allowing 3+ asterisks with tag content (as with only 1 asterisk) (28397c7)v34.0.1Compare Source
Bug Fixes
v34.0.0Compare Source
chore
BREAKING CHANGES
flatAPIv33.3.0Compare Source
Features
check-line-alignment: allowtagsoption to apply with "always"; #703 (4421e4e)v33.2.0Compare Source
Features
v33.1.1Compare Source
Bug Fixes
v33.1.0Compare Source
Features
v33.0.0Compare Source
chore
@es-joy/jsdoccommentforgetJSDocCommentfunctionality (aa77e3b)BREAKING CHANGES
getJSDocCommentfile.Also updates Babel devDeps.
v32.3.4Compare Source
Bug Fixes
v32.3.3Compare Source
Bug Fixes
require-param,check-param-names: do not fail with destructured array pattern containing empty slots; fixes #716 (f19e706)v32.3.2Compare Source
Bug Fixes
check-line-alignment: prevent false never reporting where a space is present (post tag) followed by missing space (from a wholly missing type) and then a space (but a space first preceded by content (a name); fixes #714 (2c31db1)v32.3.1Compare Source
Bug Fixes
check-examples: disable chai-friendly/no-unused-expressions for default expression rules (06f0112)v32.3.0Compare Source
Features
check-tag-names: jsxTags an opt-in option for jsx annotations (8afb9fc)v32.2.0Compare Source
Features
check-types: checksettings.jsdoc.structuredTagsfor an array of permissible types, reporting if not present; fixes #695 (9dad3e0)no-undefined-types: allowstructuredTagstypes to be auto-defined (b7198e4)v32.1.1Compare Source
Bug Fixes
check-param-names,require-jsdoc,require-param: avoid erring uponMemberExpressionor other constructions within dynamic properties; fixes #699 (1cfdeb4)v32.1.0Compare Source
Features
require-jsdoc: allow checking for getter or setter only; fixes #515 (937d65e)v32.0.3Compare Source
Bug Fixes
require-jsdoc: more accurate and optimized decorator detection; fixes #697 (88655b3)v32.0.2Compare Source
Bug Fixes
match-description: while preserving internal newlines, ensure trailing whitespace is stripped for comparisons; for #692 (27b95b3)v32.0.1Compare Source
Bug Fixes
uflag forcheckTypesPatternoption forrequire-param,check-param-names; forcheck-values, default touflag and allow slashed regexes with own flags; formatch-description, allow slashed regexs with own flags; for all of the previous (andcheck-examples) allows newlines (4f0dc8e)v32.0.0Compare Source
Bug Fixes
[@example](https://togithub.com/example)frommdtomd/*.js. Only applies whenmatchingFileNameis not used. (2cc1227)BREAKING CHANGES
eslint-plugin-markdownv2 and its support of ESLint 7's new processor API, fenced blocks can (and must) be targeted separately from the Markdown parent file as a whole, so in order to allow the sameoverridesconfig to be reusable between Markdown fenced blocks and@exampletags (since one often wishes to disable the same kind of rules for each, being as that each may deliberately lack full context, e.g., undefined or unused variables), we update the default simulated extension set for@exampletags bycheck-examplesto simulate an expression which will now be a suitable choice foroverridesin targeting Markdown fenced blocks using the new parser API, as with eslint-plugin-markdown@2 (i.e., "md/*.js" instead of "md").If you need to use ESLint 6 (or eslint-plugin-markdown < 2, for example) with
check-examples, you should be able to manually supply thematchingFileNameoption targeting "md", e.g., set to'dummy.md.This commit also simplifies a testing example to avoid it throwing with changed config not having proper babel support (not meaningful to test anyways)
v31.6.1Compare Source
Bug Fixes
comment-parser; fixes #686 (7e0bbbe)v31.6.0Compare Source
Bug Fixes
require-returns,require-yields: support more AST checking (6fd8a07)require-yields: avoid checking nested generators (as with functions) (b9058e4)return-yields,return-yields-check: allow generator detection on exported; handle more AST types; fixes #682 (4e768aa)Features
require-returns-check: addexemptAsyncoption (0ed24c0)v31.5.0Compare Source
Bug Fixes
require-returns: check labeled statements (51f37f1)require-throws: check labeled statements (ceadcfe)require-yields: checktestpart of if expression and check conditionals (db001be)require-yields: check labeled statements (aceb7a0)Features
require-returns: if function returns a Promise whose executor resolves with undefined, avoid need to document unlessforceReturnsWithAsyncis set; fixes #550 (565fdbd)v31.4.0Compare Source
Bug Fixes
check-line-alignment: escape user tag name in regex (c0ae4cb)Features
check-line-alignment: allowtagsoption to configure which tags should be aligned. (780b8b5)v31.3.3Compare Source
Bug Fixes
check-line-alignment: apply alignment to return tags and avoid possibility for "never" option to insert extra space withreturns/returnas well as handle missing type (cb39556)v31.3.2Compare Source
Bug Fixes
Reverts
v31.3.1Compare Source
Bug Fixes
require-jsdocfixer (6bda6b4)v31.3.0Compare Source
Features
check-param-names: add optionsdisableExtraPropertyReportingto allow extra properties to be documented without error (as long as there are no siblings destructured as for such cases, they will still be expected since the function is not using them) (8b2d143)v31.2.3Compare Source
Bug Fixes
require-param,check-param-names: add optionuseDefaultObjectPropertiesfor expecting documentation or avoiding reporting of documented; addresses part of #676 (a36faf2)v31.2.2Compare Source
Bug Fixes
check-tag-names: should have previously auto-allowedsettings.jsdoc.structuredTagstags (5f586fd)v31.2.1Compare Source
Bug Fixes
v31.2.0Compare Source
Features
require-yields-check: add rule to check thatyield(of proper form) is present in the function body; fixes #354 (acf9529)v31.1.0Compare Source
Features
require-yields: add new rule to check thatyieldhas documentation; for #354 (e06fddd)require-yields: add options to check thatnexthas documentation (15daa12)v31.0.8Compare Source
Bug Fixes
no-undefined-types: supporttrueandfalseliterals (b8cb394)v31.0.7Compare Source
Bug Fixes
v31.0.6Compare Source
Bug Fixes
comment-parserto surface restoration of support for equal signs in defaults and multi-line types; fixes #669; fixes #673 (081d7eb)v31.0.5Compare Source
Bug Fixes
require-description-complete-sentence: regression re: not trimming of description for check as relevant to tag description checking; fixes #672 (d81caa2)v31.0.4Compare Source
Bug Fixes
v31.0.3Compare Source
Bug Fixes
newline-after-description: handle description on same line as opening asterisks; fixes #668 (040d177)v31.0.2Compare Source
Bug Fixes
check-line-alignment: implement defaultneveroptions; fixes #483 (b2db226)v31.0.1Compare Source
Bug Fixes
check-line-alignment: handle spaces in type and skip for single line (@renatho); closes #638 (577863b)v31.0.0Compare Source
chore
BREAKING CHANGES
Also updates:
require-description-complete-sentence- test to fix outputrequire-hyphen-before-param-description- test to preserve whitespace in fixed output (though still minus hyphen)require-param- test preserving whitespace4
require-jsdoc- test with no indentv30.7.13Compare Source
Bug Fixes
require-hyphen-before-param-description: regression failing to only check for hyphen at beginning; fixes #665 (acc3fc1)v30.7.12Compare Source
Bug Fixes
require-jsdoc: skip past type annotations when seeking backward through decorators; fixes #659 (62abd11)v30.7.11Compare Source
Bug Fixes
no-bad-blocks: avoid erring with/* */comment (4e6c73d)v30.7.10Compare Source
Bug Fixes
check-examples: disableno-newforcheck-examplesand default param checking (590d54e)require-hyphen-before-param-description: allow whitespace before hyphen when checking for hyphens; fixes #664 (fb906de)v30.7.9Compare Source
Bug Fixes
no-undefined-types: allowthis; fixes #660 (bda5959)v30.7.8Compare Source
Bug Fixes
check-examples: allow multiline captions; fixes #655 (8963394)v30.7.7Compare Source
Bug Fixes
require-jsdoc: regression causing uncommented nested syntax to be reported withpublicOnlyeven when export was commented; fixes #654 (bcd465f)v30.7.6Compare Source
Bug Fixes
check-examples: disable strict for expressions (245e4a7)v30.7.5Compare Source
Bug Fixes
v30.7.4Compare Source
Bug Fixes
templateproperly; fixes #653 (122a9b5)v30.7.3Compare Source
Bug Fixes
check-examples: Check defaults, params, properties as expressions (6163f3c)v30.7.2Compare Source
Bug Fixes
check-examples: usejsdoc-defaults,jsdoc-params, andjsdoc-propertiesas default extensions to allow these to have their own overrides (39fb1cb)v30.7.1Compare Source
Bug Fixes
check-examples: SetcheckDefaults,checkParams,checkPropertiesdefaults tofalse(2de1011)v30.7.0Compare Source
Features
check-examples: add optionscheckDefaults,checkParams,checkProperties; fixes #473 (262a474)v30.6.5Compare Source
Bug Fixes
valid-types: Ensuremoduletag operates as thoughmodule:prefix is present (so as to create valid namepath when valid); fixes #649 (2e0f2a6)v30.6.4Compare Source
Bug Fixes
require-jsdoc: for publicOnly ESM, adds direct ancestor check, allowing, e.g.,TSPropertySignatureandTSMethodSignature; fixes #647 (2b55275)v30.6.3Compare Source
Bug Fixes
require-jsdoc: Avoid error when comment block above export ofTSDeclareFunction; fixes #645 (0b95ba5)v30.6.2Compare Source
Bug Fixes
require-jsdoc: supportTSTypeAliasDeclarationwithpublicOnly(42a9b35)v30.6.1Compare Source
Bug Fixes
require-jsdoc: supportTSInterfaceDeclarationwithpublicOnly(3ae8e61)v30.6.0Compare Source
Features
ignoreInternalsetting to ignore blocks with[@internal](https://togithub.com/internal)tags; fixes #639 (80e16d0)v30.5.3Compare Source
Bug Fixes
no-bad-blocks: ensure reports bad blocks with descriptions (9a56863)v30.5.2Compare Source
Bug Fixes
require-jsdoc: allowcontextsto be usable in place ofrequireitems (a1d95e6)require-jsdoc: supportTSEnumDeclarationwithpublicOnly; fixes #640 (63ef3bc)v30.5.1Compare Source
Bug Fixes
check-line-alignment(ec71632)v30.5.0Compare Source
Features
check-line-alignment: add rule for line alignment (#636) (6e2b99d)v30.4.2Compare Source
Bug Fixes
check-param-names,require-param: support nested array destructuring (4f73e9c)v30.4.1Compare Source
Bug Fixes
check-param-names,require-param: properly check object parameters with default values; fixes #635 (7fc84e9)v30.4.0Compare Source
Features
require-example: addexemptNoArgumentsoption (#634) (c750c86)v30.3.3Compare Source
Bug Fixes
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.