chore(deps): update linters
This PR contains the following updates:
Release Notes
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v8.35.0
🚀 Features
- eslint-plugin: [no-base-to-string] add checkUnknown Option (#11128)
❤️ Thank You
- Kim Sang Du @developer-bandi
You can read about our versioning strategy and releases on our website.
v8.34.1
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.34.0
🩹 Fixes
- typescript-estree: add validation to interface extends (#11271)
❤️ Thank You
- Tao
You can read about our versioning strategy and releases on our website.
v8.33.1
🩹 Fixes
- exclude docs/ directory from eslint-plugin package (#11251)
❤️ Thank You
- roottool
You can read about our versioning strategy and releases on our website.
v8.33.0
This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.
You can read about our versioning strategy and releases on our website.
v8.32.1
🩹 Fixes
- eslint-plugin: [consistent-indexed-object-style] check for indirect circular types in aliased mapped types (#11177)
-
eslint-plugin: [consistent-indexed-object-style] adjust auto-fixer to generate valid syntax for
TSMappedTypewith no type annotation (#11180) - eslint-plugin: [no-deprecated] support computed member access (#10867)
- eslint-plugin: [no-unnecessary-type-conversion] shouldn't have fixable property (#11194)
❤️ Thank You
- Azat S. @azat-io
- Dima Barabash @dbarabashh
- Ronen Amiel
You can read about our versioning strategy and releases on our website.
v8.32.0
🚀 Features
-
eslint-plugin: [only-throw-error] add option
allowRethrowing(#11075) - eslint-plugin: [no-unnecessary-type-conversion] add rule (#10182)
🩹 Fixes
- eslint-plugin: [prefer-nullish-coalescing] fix parenthesization bug in suggestion (#11098)
-
eslint-plugin: [unified-signatures] exempt
thisfrom optional parameter overload check (#11005) - eslint-plugin: [no-unnecessary-type-parameters] should parenthesize type in suggestion fixer if necessary (#10907)
❤️ Thank You
- Andy Edwards
- Kirk Waiblinger @kirkwaiblinger
- mdm317
- Sasha Kondrashov
- Yukihiro Hasegawa @y-hsgw
You can read about our versioning strategy and releases on our website.
v8.31.1
🩹 Fixes
- eslint-plugin: [no-unnecessary-condition] downgrade fix to suggestion (#11081)
❤️ Thank You
- Kirk Waiblinger @kirkwaiblinger
You can read about our versioning strategy and releases on our website.
v8.31.0
🚀 Features
- eslint-plugin: [no-unnecessary-type-assertion] add option to ignore string const assertions (#10979)
❤️ Thank You
- Nicolas Le Cam
You can read about our versioning strategy and releases on our website.
v8.30.1
🩹 Fixes
- eslint-plugin: fix mistake with eslintrc config generation (#11072)
❤️ Thank You
- Kirk Waiblinger @kirkwaiblinger
You can read about our versioning strategy and releases on our website.
v8.30.0
🚀 Features
- eslint-plugin: [no-explicit-any] suggest to replace keyof any with PropertyKey (#11032)
🩹 Fixes
- eslint-plugin: [promise-function-async] use a different error message for functions with promise and non-promise types (#10950)
❤️ Thank You
- Dima Barabash @dbarabashh
- Ronen Amiel
You can read about our versioning strategy and releases on our website.
v8.29.1
🩹 Fixes
- eslint-plugin: [no-deprecated] report on deprecated imported variable used as property (#10998)
❤️ Thank You
- Ronen Amiel
You can read about our versioning strategy and releases on our website.
v8.29.0
🚀 Features
-
eslint-plugin: [prefer-nullish-coalescing] create
ignoreIfStatementsoption (#11000)
🩹 Fixes
- eslint-plugin: [no-array-constructor] remove optional chaining exemption (#10963)
- eslint-plugin: support arbitrary extensions in definition files (#10957)
- eslint-plugin: [prefer-for-of] fix false positive when using erasable type syntax within update expressions (#10981)
- eslint-plugin: [use-unknown-in-catch-callback-variable] remove fixable property (#10993)
-
eslint-plugin: [no-unnecessary-condition] don't report on unnecessary optional array index access when
noUncheckedIndexedAccessis enabled (#10961)
❤️ Thank You
- Dima Barabash @dbarabashh
- Kim Sang Du @developer-bandi
- Olivier Zalmanski @OlivierZal
- Ronen Amiel
- Yannick Decat @mho22
- zyoshoka @zyoshoka
You can read about our versioning strategy and releases on our website.
v8.28.0
🚀 Features
-
eslint-plugin: [prefer-nullish-coalescing] support
ifstatement assignment (??=) and fix several minor bugs (#10861)
🩹 Fixes
- eslint-plugin: [no-unsafe-function-type] remove fixable property (#10986)
❤️ Thank You
- Olivier Zalmanski @OlivierZal
- Yannick Decat @mho22
You can read about our versioning strategy and releases on our website.
v8.27.0
🚀 Features
-
utils: support
DeprecatedInfoforrule.meta.deprecated(#10932)
❤️ Thank You
- ntnyq @ntnyq
You can read about our versioning strategy and releases on our website.
v8.26.1
🩹 Fixes
- eslint-plugin: [no-unsafe-return] handle recursive type (#10883)
-
eslint-plugin: [prefer-nullish-coalescing] treat
any/unknownas eligible for nullish coalescing (#10865)
❤️ Thank You
- Kirk Waiblinger @kirkwaiblinger
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.26.0
🚀 Features
- eslint-plugin: [unified-signatures] support ignoring overload signatures with different JSDoc comments (#10781)
- eslint-plugin: [explicit-module-boundary-types] add an option to ignore overload implementations (#10889)
- eslint-plugin: [no-unused-var] handle implicit exports in declaration files (#10714)
- support TypeScript 5.8 (#10903)
- eslint-plugin: [no-unnecessary-type-parameters] special case tuples and parameter location arrays as single-use (#9536)
🩹 Fixes
- eslint-plugin: [no-unnecessary-type-assertion] handle unknown (#10875)
-
eslint-plugin: [no-invalid-void-type] report
accessorproperties with an invalidvoidtype (#10864) - eslint-plugin: [unified-signatures] does not differentiate truly private methods (#10806)
❤️ Thank You
- Andrea Simone Costa @jfet97
- Dirk Luijk @dirkluijk
- Ronen Amiel
- YeonJuan @yeonjuan
- Yukihiro Hasegawa @y-hsgw
You can read about our versioning strategy and releases on our website.
v8.25.0
🚀 Features
- eslint-plugin: [no-misused-spread] add suggestions (#10719)
🩹 Fixes
- eslint-plugin: [prefer-nullish-coalescing] report on chain expressions in a ternary (#10708)
- eslint-plugin: [no-deprecated] report usage of deprecated private identifiers (#10844)
- eslint-plugin: [unified-signatures] handle getter-setter (#10818)
❤️ Thank You
- Olivier Zalmanski @OlivierZal
- Ronen Amiel
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.24.1
🩹 Fixes
-
eslint-plugin: [class-methods-use-this] check
accessormethods with a function initializer (#10796) -
eslint-plugin: [no-misused-promises] don't report on
staticaccessorproperties (#10814) -
eslint-plugin: [no-deprecated] don't report on deprecated
accessorproperty declaration (#10813) -
eslint-plugin: [explicit-member-accessibility] check
accessorclass properties for missing accessibility modifier (#10805) -
eslint-plugin: [explicit-module-boundary-types] check
accessorclass properties with a function initializer (#10804) -
eslint-plugin: [prefer-return-this-type] check
accessorproperties with a function initializer (#10794) -
eslint-plugin: [consistent-generic-constructors] check
accessorclass properties (#10789) -
eslint-plugin: [no-unsafe-assignment] report on an
anyvalue assigned as an initializer of anaccessorproperty (#10785) - eslint-plugin: [no-unnecessary-template-expression] ignore enum and enum members (#10782)
- eslint-plugin: [no-inferrable-types] handle accessor (#10780)
❤️ Thank You
- Ronen Amiel
- YeonJuan
You can read about our versioning strategy and releases on our website.
v8.24.0
🚀 Features
-
eslint-plugin: [no-unnecessary-condition] make
allowConstantLoopConditionsmore granular (#10639)
🩹 Fixes
- eslint-plugin: [no-misused-spread] correct and elaborate string spread report message (#10751)
-
eslint-plugin: [restrict-plus-operands] report adding bigints to strings when
allowNumberAndStringisfalse(#10737)
❤️ Thank You
- Josh Goldberg ✨
- noah
- Ronen Amiel
You can read about our versioning strategy and releases on our website.
v8.23.0
🚀 Features
- eslint-plugin: [no-unnecessary-boolean-literal-compare] enforce strictNullChecks (#10712)
🩹 Fixes
- eslint-plugin: [no-shadow] ignore declare variables in definition files shadowing global variables (#10710)
- eslint-plugin: [no-restricted-imports] support regex option (#10699)
- eslint-plugin: [dot-notation] handle noPropertyAccessFromIndexSignature true (#10644)
- eslint-plugin: [prefer-nullish-coalescing] fix missing return (#10732)
- bump ts-api-utils to ^2.0.1 (#10761)
- eslint-plugin: [no-unnecessary-template-expression] allow interpolating type parameter in type context (#10739)
- eslint-plugin: [switch-exhaustiveness-check] suggest with qualified name (#10697)
- eslint-plugin: [no-unnecessary-type-assertion] should report readonly class properties with a literal initializer (#10618)
❤️ Thank You
- Josh Goldberg ✨
- Olivier Zalmanski @OlivierZal
- Ryan Poon @sopa301
- YeonJuan @yeonjuan
- Yukihiro Hasegawa @y-hsgw
You can read about our versioning strategy and releases on our website.
v8.22.0
🩹 Fixes
- eslint-plugin: [no-unnecessary-template-expression] handle template literal type (#10612)
- eslint-plugin: [prefer-readonly] autofixer doesn't add type to property that is mutated in the constructor (#10552)
- eslint-plugin: [no-extraneous-class] handle accessor keyword (#10678)
- eslint-plugin: [no-shadow] don't report unnecessarily on valid ways of using module augmentation (#10616)
- eslint-plugin: [no-duplicate-type-constituents] handle nested types (#10638)
- eslint-plugin: [prefer-nullish-coalescing] doesn't report on ternary but on equivalent || (#10517)
❤️ Thank You
- mdm317
- Olivier Zalmanski @OlivierZal
- Ronen Amiel
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.21.0
🩹 Fixes
- eslint-plugin: [no-duplicate-enum-values] handle template literal (#10675)
- eslint-plugin: [no-base-to-string] don't crash for recursive array or tuple types (#10633)
- eslint-plugin: [no-for-in-array] report on any type which may be an array or array-like (#10535)
- eslint-plugin: check JSX spread elements for misused spread usage (#10653)
- eslint-plugin: [no-unnecessary-type-arguments] handle type args on jsx (#10630)
❤️ Thank You
- Ronen Amiel
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.20.0
🚀 Features
- eslint-plugin: [consistent-type-assertions] add arrayLiteralTypeAssertions options (#10565)
- eslint-plugin: [no-deprecated] add allow options (#10585)
- eslint-plugin: [no-misused-spread] add new rule (#10551)
🩹 Fixes
- eslint-plugin: [no-unnecessary-condition] don't flag optional chaining for union types with an unconstrained type parameters (#10602)
- eslint-plugin: [no-shadow] ignore ordering of type declarations (#10593)
❤️ Thank You
- Josh Goldberg ✨
- Ronen Amiel
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.19.1
🩹 Fixes
- eslint-plugin: [no-unnecessary-type-assertion] handle literal types (#10523)
- eslint-plugin: [no-deprecated] doesn't report on shorthand property in an object expression (#10550)
- eslint-plugin: [strict-boolean-expressions] remove remaining (unsafe) autofixes (#10548)
-
eslint-plugin: [no-shadow] report correctly on parameters of functions declared with the
declarekeyword (#10543) - eslint-plugin: [no-base-to-string] check array generic type (#10437)
❤️ Thank You
- Kirk Waiblinger
- mdm317
- Ronen Amiel
- Yukihiro Hasegawa @y-hsgw
You can read about our versioning strategy and releases on our website.
v8.19.0
🚀 Features
- eslint-plugin: [strict-boolean-expressions] check array predicate functions' return statements (#10106)
🩹 Fixes
- eslint-plugin: [member-ordering] ignore method overloading (#10536)
- eslint-plugin: [consistent-indexed-object-style] don't report on indirect circular references (#10537)
- eslint-plugin: [array-type] autofix with conditional types needs parentheses (#10522)
- eslint-plugin: add getConstraintInfo to handle generic constraints better (#10496)
❤️ Thank You
- Karl Werner
- Kirk Waiblinger @kirkwaiblinger
- Ronen Amiel
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.18.2
🩹 Fixes
- eslint-plugin: [no-unnecessary-condition] handle noUncheckedIndexedAccess true (#10514)
- eslint-plugin: [consistent-type-assertions] allow default assertionStyle option (#10512)
- eslint-plugin: [no-unnecessary-type-arguments] handle type/value context (#10503)
- eslint-plugin: [no-unsafe-type-assertion] fix for unsafe assertion to a constrained type parameter (#10461)
- eslint-plugin: [consistent-indexed-object-style] use a suggestion over an auto-fix if can't reliably determine that produced index signature is valid (#10490)
- eslint-plugin: [no-unnecessary-condition] don't flag values of an unconstrained or valid type parameter (#10473)
- eslint-plugin: [prefer-reduce-type-parameter] don't report cases in which the fix results in a type error (#10494)
- eslint-plugin: [no-deprecated] not reporting usages of deprecated declared constants as object value (#10498)
❤️ Thank You
- Luke Deen Taylor @controversial
- Ronen Amiel
- Scott O'Hara
- YeonJuan @yeonjuan
- Yukihiro Hasegawa @y-hsgw
You can read about our versioning strategy and releases on our website.
v8.18.1
🩹 Fixes
- scope-manager: visit params decorator before nest scope (#10475)
- eslint-plugin: [no-unnecessary-condition] better message when comparing between literal types (#10454)
- eslint-plugin: use consistent naming for asserting types and casting values (#10472)
- eslint-plugin: [no-unnecessary-boolean-literal-compare] flag values of a type parameter with boolean type constraints (#10474)
- eslint-plugin: handle string like index type (#10460)
- eslint-plugin: [no-unnecessary-template-expression] don't report when an expression includes comment (#10444)
❤️ Thank You
- Kirk Waiblinger @kirkwaiblinger
- Ronen Amiel
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.18.0
🚀 Features
- eslint-plugin: [switch-exhaustiveness-check] add support for "no default" comment (#10218)
- eslint-plugin: [no-deprecated] report on super call of deprecated constructor (#10397)
🩹 Fixes
- eslint-plugin: [use-unknown-in-catch-callback-variable] only flag function literals (#10436)
-
eslint-plugin: [no-base-to-string] handle more robustly when multiple
toString()declarations are present for a type (#10432) - eslint-plugin: [no-deprecated] check if a JSX attribute is deprecated (#10374)
- typescript peer dependency (#10373)
❤️ Thank You
- Kim Sang Du @developer-bandi
- Kirk Waiblinger @kirkwaiblinger
- mdm317
- rtritto
You can read about our versioning strategy and releases on our website.
v8.17.0
🚀 Features
- eslint-plugin: [prefer-promise-reject-errors] options to allow any and unknown (#10392)
🩹 Fixes
- eslint-plugin: [promise-function-async] handle function overloading (#10304)
- eslint-plugin: remove references to "extendDefaults" in no-restricted-types (#10401)
- eslint-plugin: [no-unnecessary-template-expressions] allow template expressions used to make trailing whitespace visible (#10363)
❤️ Thank You
- Kim OhSeong @bkks1004
- Kirk Waiblinger @kirkwaiblinger
- Maria José Solano @MariaSolOs
- Ronen Amiel
You can read about our versioning strategy and releases on our website.
v8.16.0
🚀 Features
- eslint-plugin: [no-base-to-string] check Array.prototype.join (#10287)
- eslint-plugin: [max-params] add function overload and function type support (#10312)
❤️ Thank You
- Kim Sang Du @developer-bandi
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
[v8.15.0](https://redirect.github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Hello @adierkens @hipstersmoothie, IDS Web is getting vulnerable package errors that are affecting our customers. Looks like this PR resolves some of the issues. Could you take a look when you get the chance?
This other PR #717 resolves some of the issues too
Update: CI failure due to engine "node" version not met. If you fix that, it would caused TS build error due to some type errors from some backwards-incompatible packages, so migration is not easy.