build(deps): update eslint to v62 (major) #13385
Open
+209
−174
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:
60.8.3→62.0.061.0.2→62.0.0Release Notes
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)
v62.0.0Compare Source
Features
skipInvokedExpressionsForCommentFindingsetting; fixes #1624 (9c0e4a3)BREAKING CHANGES
v61.7.1Compare Source
Bug Fixes
github:npmrelease (#1623) (fe29ef9)v61.5.0Compare Source
Features
check-tag-names,require-template,check-template-names: maketypeParama non-preferred alias fortemplate(3cd7cbd)v61.4.2Compare Source
Bug Fixes
require-rejects: reflect proper tag name in error message (44b2631)v61.4.1Compare Source
Bug Fixes
require-rejects: do not treat synchronous throw as rejection; fixes #1603 (f776d63)v61.4.0Compare Source
Features
require-rejectsrule; fixes #755 (99c7fbd)v61.3.0Compare Source
Features
allowIndentedSectionsoption; fixes #541 (edaf615)v61.2.1Compare Source
Bug Fixes
require-param: ensure all structures with interfaces do not trigger withinterfaceExemptsParamsCheck: true(39a5b0a)tag-lines: avoid reformatting post-delimiter spacing; fixes #1593 (702b226)v61.2.0Compare Source
Features
sort-tags: addtagExceptionsto allow additional lines per tag; fixes #1594 (85a1ea1)v61.1.12Compare Source
Bug Fixes
no-undefined-types: treat param names as defined; fixes #1591 (b47779c)v61.1.11Compare Source
Bug Fixes
v61.1.10Compare Source
Bug Fixes
imports-as-dependencies: check for object-basedtypes(ortypings) (c9a22b6)v61.1.9Compare Source
Bug Fixes
v61.1.8Compare Source
Bug Fixes
no-undefined-types: consider module scope variables as defined; fixes #1581 (f938fdc)v61.1.7Compare Source
Bug Fixes
imports-as-dependencies: handle resolve.exports errors (0c4e5b6)v61.1.6Compare Source
Bug Fixes
imports-as-dependencies: check withinexportsfor types; fixes #1114 (c0e4e7c)v61.1.5Compare Source
Bug Fixes
v61.1.4Compare Source
Bug Fixes
to-valid-identifiershould be a dependency; fixes #1574 (89d37d0)v61.1.3Compare Source
Bug Fixes
prefer-import-tag: ensure import is a valid identifier; fixes #1572 (4349209)v61.1.2Compare Source
Bug Fixes
no-undefined-types: allow global prefixes; fixes #1566 (335450a)v61.1.1Compare Source
Bug Fixes
valid-types: reallowconsttype(75c8127)v61.1.0Compare Source
Features
ts-method-signature-style: add new rule (92bf39e)ts-no-empty-object-type: new rule to prevent empty objects (a19af97)ts-no-unnecessary-template-expression: create new rule to catch extra markup within template types (64082aa)ts-prefer-function-type: add new rule (cbda8aa)v61.0.1Compare Source
Bug Fixes
require-yields-*,require-throws-*: ensure alias of throws (exception) and of yields (yield) are checked; fixes #1559 (#1560) (38770c4)v61.0.0Compare Source
Features
type-formatting:keyValuePostColonSpacing,keyValuePostKeySpacing,keyValuePostOptionalSpacing,keyValuePostVariadicSpacingfor key-value pairs (and object fields) (ecf3a4a)type-formatting: addgenericAndTupleElementSpacingoption for tuples and generics (2735b6d)type-formatting: addparameterDefaultValueSpacingfor type parameter spacing (b8eeca8)type-formatting: add spacing for functions/classes and method quotes (a361dc9)type-formatting: changestringQuotesdefault todouble; fixes #1556 (0837647)BREAKING CHANGES
type-formatting: SetstringQuotesoption tosingleto restore old behaviorsindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v62.0.0Compare Source
New rules
no-immediate-mutation(#2787)e1c7d2eno-useless-collection-argument(#2777)2d07c9aprefer-response-static-json(#2778)ffe5943Improvements
text-encoding-identifier-case: AddwithDashoption (#2780)9025386no-useless-undefined: Check oneundefinedat a time (#2792)27f7509prefer-single-call: Check optional chaining (#2788)8a132actext-encoding-identifier-case: Enforce'utf-8'inform[acceptCharset]andTextDecoder(#2785)46b3974prefer-node-protocol: Handle TypeScript import types (#2774)13a37a0no-array-for-each: IgnoreforEachfor Effect library (#2783)2ef6f83prefer-string-raw: Ignore more places that requires a string (#2776)43bc429prefer-string-raw: Add support for template literals (#2691)52723a2prefer-global-this: AddnavigationtowindowSpecificAPIs(#2770)0c93998prefer-code-point: Report cases whereString.fromCharCodeis not called directly (#2766)1d682a1no-useless-spread: Safely remove empty array and object (#2764)7aeababFixes
consistent-function-scoping: Fix inconsistent behavior (#2748)a546444