Repository navigation
chore(deps): update devdeps - #161
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
65.4.2→65.6.317.6.0→17.6.3Release Notes
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)
v65.6.3Compare Source
Bug Fixes
require-description,require-param-description,require-returns-description: withpublicOnly, count a namespace exported byexport {},export =orexport defaultas exported (1c53e55)require-jsdoc: withpublicOnly, do not report a function exported from a namespace which is not exported (fa909f5)v65.6.2Compare Source
Bug Fixes
check-line-alignment: with "always", keep the space before*/after a tag with no description (74080c5)check-tag-names: withtyped, report each redundant tag on its own line, also after the removal fix of an earlier tag in the block (57eafb6)check-template-names,no-undefined-types,require-template,valid-types: do not slow down on a long run of spaces in a bracketed@templatename (e254466)check-template-names: count a template used only in a tag written with an alias (@arg,@return,@prop, ...) (1830767)check-template-names: do not report a blocked tag (c96758e)convert-to-jsdoc-comments: withenforceJsdocLineStyle: "single", still convert a comment with line breaks to themultistyle (f3b429f)empty-tags: keep the space before*/when a tag with only a type is emptied (e158ae3)escape-inline-tags: withenableFixer, change only the escaped text of the description, also on the/**or*/line (d6f116c)getJsdocProcessorPlugin: read a character reference above U+10FFFF in example code as U+FFFD instead of stopping the run, and still lint the file when reading its examples fails (7b662da)getJsdocProcessorPlugin: withfixExamples, do not fix an example whose linted code still holds its Markdown fences (7d65d1d)imports-as-dependencies: treat a backslash in animport()path as a path separator when finding the package name (0c4584f)no-bad-blocks: do not report the@__PURE__,@__NO_SIDE_EFFECTS__and@vite-ignoreannotations (17fb427)no-blank-block-descriptions,tag-lines: keep the*and indentation of each description line the fix keeps (8a9d5a2)no-multi-asterisks: do not report or remove an asterisk that starts a line of@examplecode or fenced code (49e57e2)require-asterisk-prefix: keep the indentation of@examplecode and nested lists, and fix every line in one pass (564a4ac)require-asterisk-prefix: with "always", put a space and the indentation after the*on the lines of a type over several lines (aed8a2f)require-description,require-param-description,require-returns-description: withpublicOnly, count the members of anexport declare namespaceas exported (cd11d4c)require-description,require-param-description,require-returns-description: withpublicOnly, count TypeScript exports:export declare function, overloads, exported namespaces anddeclare module(0f9f70a)require-example,require-param,require-returns,require-description,require-jsdoc: applycheckGettersandcheckSetterswhen the checked node is the method or property (contextsMethodDefinition,Propertyorany) (14fa4b8)require-jsdoc,require-returns,require-description,require-param-description,require-returns-description: withpublicOnly, do not look up a name such as__proto__ortoStringonObject.prototype(30ceb58)require-param-type: withsetDefaultDestructuredRootType, keep a space after the tag when the name is on the next line (feedee6)require-param: name an empty@paramin place, keeping the/**of a one-line block and the type (994c3a7)require-returns-description: do not reportPromise.<void>,Promise< void >or a union ofvoidandundefined(2eb2c09)require-returns,require-yields,require-throws,require-rejects,no-types,implements-on-classes,require-param: withcontexts: ['any'], check an exported function, a function in a variable, an object method or a class field as its function, and report a missing@paramof a method once (02dd2c2)sort-tags,check-param-names,implements-on-classes: move or remove the wrapped lines of a tag that starts on the/**line (ab2e06a)sort-tags,match-description,check-types,reject-any-type,reject-function-type: read tag options andpreferredTypesas own properties, so that@constructorand types namedconstructorortoStringdo not findObject.prototypemembers (3752507)tag-lines: with "always", add the lines after a type over several lines, not inside it (e48bd82)tag-lines: with "always", do not require lines after a final tag on the line of the closing delimiter (a803187)ts-ban-ts-comment: compiledescriptionFormatwithout flags, as typescript-eslint does, so that a pattern such as[\w-]+does not throw (229334e)Performance Improvements
no-undefined-types: collect the names which all blocks of a file have in common once per file, not for each block (b8164d7)v65.6.1Compare Source
Bug Fixes
check-template-names: count a template used only in the type of@this,@throwsor@yields(7d534ff)convert-to-jsdoc-comments: do not convert TypeScript triple-slash directives (d956b46)no-unnecessary-type-assertion: do not unwrap a cast when a comment or a comma expression needs its parentheses (1c79ffe)prefer-import-tag: do not fix when the new@importname hides a global the code uses, a type named in another block, or a class around the block (3eae178)require-returns,require-returns-check,require-yields,require-yields-check,require-throws: count tags written with an alias (@return,@yield,@exception) (43e38f8)require-returns,require-returns-check: check the executor of anew Promise(...)arrow body, as forreturn new Promise(...)(cc6bc46)v65.6.0Compare Source
Bug Fixes
check-line-alignment: keep the indentation of fenced code in the main description with "always" (4cbd28d)check-param-names: rename and remove the property tags of an array parameter (name[].prop) with its tag (eab5933)escape-inline-tags: do not loop forever when a line before the reported one has the same@tagin a code span or{@link}reference (ff6933e)no-defaults,require-param-description: set the name or root description on its own line when the type spans several lines (a6eb4da)prefer-import-tag: do not fix when the new@importname already has a type or import meaning in the file (eb15a87)require-param-name: add the name after a type over several lines, and do not fix a name comment-parser rejected (eb72f95)require-param,require-property: count tags written with an alias (@arg,@argument,@prop), so--fixwithcheck-tag-namesno longer adds duplicates (26a4d2d)require-param: fill an empty@paramon its own line, not the line of another tag or description (3e6037d)require-yields,require-yields-check: find ayieldin a type assertion,await,throw, a callee, a loop head or aswitchdiscriminant (f07f2cb)\rof a CRLF line break (3a9b25a)Features
v65.5.7Compare Source
Bug Fixes
check-types,type-formatting: keep the brackets ofreadonly T[], asreadonly Array<T>is invalid (79121c2)prefer-import-tag: rewrite a type over all its lines, keeping the name and the*of each line (75d12dc)require-description,require-param-description,require-returns-description: withpublicOnly, check exports and their methods found withcontexts: ['any']; fixes #1921 (da57881)no-typesinflat/logical-typescript-flavor, as JavaScript files have their types in the JSDoc (687e32a)v65.5.6Compare Source
Bug Fixes
check-line-alignment: keep the indentation of fenced code and of@examplecontent (dd02127)check-param-names: do not use the tag of another parameter as the root of a destructured parameter (a76415a)check-tag-names: apply thetagNamePreferenceof a tag to its aliases, so that blocking a tag also blocks them (2642cda)getJsdocProcessorPlugin: report messages of examples and default expressions at their own line and column (914c028)require-description-complete-sentence: accept a sentence starting with an inline tag, and capitalize the reported sentence itself (4078133)require-description-complete-sentence: capitalize the reported sentence by its first line again, not a tag name, type, or wrapped line with its first word (210b17a)require-description-complete-sentence: do not offer a fix that adds no period after an abbreviation ending a sentence (d8350da)require-jsdoc: withexemptOverloadedImplementations, also exempt overloaded methods and overloads in namespaces and default exports (#1918) (37f2a11)require-jsdoc: withpublicOnly, do not treat what is declared within an exported function, method, or block as exported (ff6e10a)require-param,check-param-names: do not treat athisparameter typed with an object literal as a destructured parameter (f3aa1fb)require-returns: do not require@returnsfor signatures returningassertsorPromise<void>(ea3953a)text-escaping: check text on the closing line again, and report a tag on the opening line as a tag (706f8f5)v65.5.5Compare Source
Bug Fixes
check-alignment: keep CRLF line breaks, and withignoreEmptyLinesreport the right line and leave empty lines as they are (dda7753)check-indentation: exclude the content of@example(and otherexcludeTags) in files with CRLF line breaks (24c2011)check-line-alignment: do not add the wrap indent to the line of a multiline type on every fix (8437583)getJsdocProcessorPlugin: return a missing caption message with its own file only, not with an example file processed meanwhile (#1911) (d488d74)multiline-blocks: keep the whole type when joining lines, and the*when moving text off the opening line of a two-line block (dc12c70)no-undefined-types,require-template: treat the key of a mapped type as defined within its field (bb9d034)no-undefined-types: withcheckUsedTypedefs, count the typedefs used by any block, and check only typedef tags (1419362)require-description-complete-sentence: accept a block description ending with fenced code, and do not offer a fix after a colon (a23fde3)require-param: keep the positions of the tags whenthisis documented (416612f)sort-tags: move the text on the closing line with its tag (5f17a62)ts-no-unnecessary-template-expression: keep a lone template of a non-string type, and add parentheses where needed (5e54452)empty-tags,escape-inline-tags,no-blank-block-descriptions,sort-tags,convert-to-jsdoc-commentsandlines-before-block(#1902) (368a091)v65.5.4Compare Source
Bug Fixes
check-param-names: keep[name=default]and the property tags when renaming or removing a parameter (e72f248)check-tag-names: rename the reported tag only, not the first matching text in the comment (b204fd8)no-bad-blocks: fix each comment by its own asterisks, not by a/***comment elsewhere in the file (f91b83f)no-blank-block-descriptions: honor opening-line description (4ee5635)require-jsdoc: add the comment of an exporteddeclare functionbeforeexport(f2b8e6c)require-param: add{...any}to the rest element of an array only, not to its other elements (9b745d1)require-param: add a missing property tag with the tags of its own root (335f126)require-param: do not use the tag of another parameter as the root of a destructured parameter (7e61992)text-escaping: withescapeHTML, leave Markdown code spans and fenced code as they are (3e57ce3)ts-no-empty-object-type: allow{}in an intersection, as typescript-eslint does (1501899)type-formatting: do not switch arrays to square brackets inclosuremode (f51e9de)type-formatting: keep the description once, after the name, when a type is split over lines (291a478)@es-joy/jsdoccommentto 1.2.1 (821456f)v65.5.3Compare Source
Bug Fixes
require-description-complete-sentence: add the period after the text, not after a trailing space (d74599b)require-param,check-param-names: check each element of a rest tuple (...[type, arg]) by its own tag (aca0026)ts-method-signature-style: replace only the overloaded property, keeping the other fields (4b17fb2)type-formatting,check-types: keep the element type when switching an array to square brackets (8956980)v65.5.2Compare Source
Bug Fixes
check-types: fix the type of the reported tag only, not the first matching text in the comment (19b9d5d)no-missing-syntax: ignoresettings.jsdoc.contexts, asno-restricted-syntaxdoes (#1876) (4f769c0)no-multi-asterisks: do not report the line's own asterisk before*/on a line with content (b60a073)require-returns-check: report aswitchthat canbreakor fall off the end (204d5de)v65.5.1Compare Source
Bug Fixes
imports-as-dependencies: look for@types/scope__namefor scoped packages (174e94f)match-name: name this rule in the missingmatchoption message (43d5254)require-rejects: report a rejection in atryblock that has only afinally(a48087b)require-tags: accept tag names with punctuation such asmemberof!(18539ba)v65.5.0Compare Source
Bug Fixes
check-param-names: keep the block valid when reordering tags that start on the opening line (#1870) (8471d9a)no-types: keep the name and description when removing a type that spans lines (6573a1d)require-throws: report a throw in atryblock that has only afinally(f2acd95)require-throws: report a throw in a function that is called where it is defined (6c3439e)jsdoc()helper (4a3706f)flat/*-typescript-flavor-errorconfigs their own names (783e4a3)flat/allconfigs in the config name type (c3bd961)publicOnly(2edde8c)Features
implements-on-classes: add afixoption to remove the tag or change it to@type(3dd4d4b)imports-as-dependencies: adddependencies,devDependenciesandpeerDependenciesoptions (#1859) (dd3d452)require-description,require-param-description,require-returns-description: addpublicOnlyoption (8883d10)require-param-name: add a fixer for missing names (74690db)require-param: adduseObjectTypeForDestructuredRootsoption (#1853) (dbaa051)flat/allconfigs (9106dd0)v65.4.12Compare Source
Bug Fixes
require-description-complete-sentence: add the period to the description's own line (62e38fb)require-param,check-param-names: do not ask to document computed keys of destructured parameters (#1846) (744ff2d)require-param: name the destructured parameter in messages about its root (#1854) (60ca278)tag-lines: let "always" settle on the final tag with the defaultendLines(6bd3792)v65.4.11Compare Source
Bug Fixes
require-param: add missing tags after a line that also holds the closing delimiter (#1849) (e75b1f7)v65.4.10Compare Source
Bug Fixes
require-param: add missing tags after the opening line when the first tag is on it (f92b218)v65.4.9Compare Source
Bug Fixes
convert-to-jsdoc-comments: separate leading slashes from generated stars (#1848) (bc4f307)v65.4.8Compare Source
Bug Fixes
sort-tags: do not break the block when the first tag is on the opening line (b345132)v65.4.7Compare Source
Bug Fixes
match-description: accept a non-ASCII upper case letter at the start by default (b3381eb)v65.4.6Compare Source
Performance Improvements
no-undefined-types: skip collecting defined types for blocks with no types (9e1018d)no-undefined-types: skip collecting defined types for blocks with no types (#1839) (9adbdb2)v65.4.5Compare Source
Bug Fixes
v65.4.4Compare Source
Bug Fixes
v65.4.3Compare Source
Bug Fixes
require-param: add missing@paramtags only once per fix; fixes #770 (ce20134)lint-staged/lint-staged (lint-staged)
v17.6.3Compare Source
Patch Changes
#1873
9791e53- Clean up theSIGINTevent listener after running. This is used to handle manually stopping lint-staged while running, e.g. by pressingCTRL+C.#1873
de5f54a- Unstaged changes to files with additional staged changes ("partially staged") are no longer hidden when the first preparation step of lint-staged fails.v17.6.2Compare Source
Patch Changes
#1871
9663745- Versionv17.6.0introduced automatic staging of all tracked files edited by tasks, even if the files were not originally staged. This version adjusts the behavior so that when using a pathspec likegit commit file.js(implying--only), the staging is limited to those files. The default behavior when runninggit commitis unchanged.#1871
7a96baf- Similar to the above, when using--fail-on-changesand a pathspec likegit commit file.js(implying--only), the commit will fail only if those files were changed. The default behavior when runninggit commitis unchanged, and the commit will fail on any changes to tracked files.v17.6.1Compare Source
Patch Changes
18bc32f- The warning about the temporary patch file containing hidden partially-staged changes is only displayed when restoring the changes failed.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.