Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update typescript-eslint monorepo to v8 (major) #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 17, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin (source) 5.53.0 -> 8.29.0 age adoption passing confidence
@typescript-eslint/parser (source) 5.53.0 -> 8.29.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v8.29.0

Compare Source

🚀 Features
  • eslint-plugin: [prefer-nullish-coalescing] create ignoreIfStatements option (#​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 noUncheckedIndexedAccess is enabled (#​10961)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.28.0

Compare Source

🚀 Features
  • eslint-plugin: [prefer-nullish-coalescing] support if statement assignment (??=) and fix several minor bugs (#​10861)
🩹 Fixes
  • eslint-plugin: [no-unsafe-function-type] remove fixable property (#​10986)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.27.0

Compare Source

🚀 Features
  • utils: support DeprecatedInfo for rule.meta.deprecated (#​10932)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.26.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unsafe-return] handle recursive type (#​10883)
  • eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as eligible for nullish coalescing (#​10865)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.26.0

Compare Source

🚀 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 accessor properties with an invalid void type (#​10864)
  • eslint-plugin: [unified-signatures] does not differentiate truly private methods (#​10806)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.25.0

Compare Source

🚀 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

You can read about our versioning strategy and releases on our website.

v8.24.1

Compare Source

🩹 Fixes
  • eslint-plugin: [class-methods-use-this] check accessor methods with a function initializer (#​10796)
  • eslint-plugin: [no-misused-promises] don't report on static accessor properties (#​10814)
  • eslint-plugin: [no-deprecated] don't report on deprecated accessor property declaration (#​10813)
  • eslint-plugin: [explicit-member-accessibility] check accessor class properties for missing accessibility modifier (#​10805)
  • eslint-plugin: [explicit-module-boundary-types] check accessor class properties with a function initializer (#​10804)
  • eslint-plugin: [prefer-return-this-type] check accessor properties with a function initializer (#​10794)
  • eslint-plugin: [consistent-generic-constructors] check accessor class properties (#​10789)
  • eslint-plugin: [no-unsafe-assignment] report on an any value assigned as an initializer of an accessor property (#​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

Compare Source

🚀 Features
  • eslint-plugin: [no-unnecessary-condition] make allowConstantLoopConditions more 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 allowNumberAndString is false (#​10737)
❤️ Thank You
  • Josh Goldberg ✨
  • noah
  • Ronen Amiel

You can read about our versioning strategy and releases on our website.

v8.23.0

Compare Source

🚀 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

You can read about our versioning strategy and releases on our website.

v8.22.0

Compare Source

🩹 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

You can read about our versioning strategy and releases on our website.

v8.21.0

Compare Source

🩹 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

You can read about our versioning strategy and releases on our website.

v8.20.0

Compare Source

🚀 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

You can read about our versioning strategy and releases on our website.

v8.19.1

Compare Source

🩹 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 declare keyword (#​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

Compare Source

🚀 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

You can read about our versioning strategy and releases on our website.

v8.18.2

Compare Source

🩹 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

You can read about our versioning strategy and releases on our website.

v8.18.1

Compare Source

🩹 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

You can read about our versioning strategy and releases on our website.

v8.18.0

Compare Source

🚀 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

You can read about our versioning strategy and releases on our website.

v8.17.0

Compare Source

🚀 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

You can read about our versioning strategy and releases on our website.

v8.16.0

Compare Source

🚀 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

You can read about our versioning strategy and releases on our website.

v8.15.0

Compare Source

🚀 Features
  • eslint-plugin: [prefer-nullish-coalescing] fix detection of ignoreConditionalTests involving boolean ! operator (#​10299)
  • eslint-plugin: new rule no-unsafe-type-assertion (#​10051)
  • eslint-plugin: added related-getter-setter-pairs rule (#​10192)
🩹 Fixes
  • utils: add defaultOptions to meta in rule (#​10339)
  • eslint-plugin: report deprecations used in default export (#​10330)
  • eslint-plugin: [explicit-module-boundary-types] and [explicit-function-return-type] don't report on as const satisfies (#​10315)
  • eslint-plugin: [await-thenable, return-await] don't flag awaiting unconstrained type parameter as unnecessary (#​10314)
  • eslint-plugin: [consistent-indexed-object-style] handle circular mapped types (#​10301)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.14.0

Compare Source

🚀 Features
  • eslint-plugin: [await-thenable] report unnecessary await using statements (#​10209)
  • eslint-plugin: [no-confusing-void-expression] add an option to ignore void<->void (#​10067)
🩹 Fixes
  • scope-manager: fix asserted increments not being marked as write references (#​10271)
  • eslint-plugin: [no-misused-promises] improve report loc for methods (#​10216)
  • eslint-plugin: [no-unnecessary-condition] improve error message for literal comparisons (#​10194)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.13.0

Compare Source

🚀 Features
  • eslint-plugin: [only-throw-error] add allow option (#​10221)
  • eslint-plugin: [prefer-nullish-coalescing] add option ignoreBooleanCoercion (#​9924)
  • eslint-plugin: disable no-class-assign rule in eslint-recommended config (#​10250)
🩹 Fixes
  • eslint-plugin: [switch-exhaustiveness-check] add support for covering a missing property with undefined (#​10232)
  • eslint-plugin: [consistent-type-definitions] don't leave trailing parens when fixing type to interface (#​10235)
  • eslint-plugin: [no-deprecated] report when exported class implements/extends deprecated entity (#​10259)
  • eslint-plugin: [no-deprecated] report on deprecated variables used inside dynamic imports (#​10261)
  • eslint-plugin: [no-unnecessary-condition] falsey bigint should be falsey (#​10205)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.2

Compare Source

🩹 Fixes
  • eslint-plugin: [switch-exhaustiveness-check] invert considerDefaultExhaustiveForUnions (#​10223)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.1

Compare Source

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.12.0

Compare Source

🚀 Features
  • eslint-plugin: [no-base-to-string] handle String() (#​10005)
  • eslint-plugin: [switch-exhaustiveness-check] add allowDefaultCaseMatchUnionMember option (#​9954)
  • eslint-plugin: [consistent-indexed-object-style] report mapped types (#​10160)
  • eslint-plugin: [prefer-nullish-coalescing] add support for assignment expressions (#​10152)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.11.0

Compare Source

🚀 Features
  • eslint-plugin: [no-unnecessary-type-parameters] add suggestion fixer (#​10149)
  • eslint-plugin: [no-base-to-string] add support for catching toLocaleString (#​10138)
🩹 Fixes
  • eslint-plugin: [class-literal-property-style] don't report nodes with override keyword (#​10135)
❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.10.0

Compare Source

🚀 Features
❤️ Thank You
  • Josh Goldberg ✨

You can read about our versioning strategy and releases on our website.

v8.9.0

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-parameters] cannot assume variables are either type or value

  • scope-manager: [no-use-before-define] do not treat nested namespace aliases as variable references

  • eslint-plugin: [return-await] sync the behavior with await-thenable

  • eslint-plugin: [prefer-literal-enum-member] report a different error message when allowBitwiseExpressions is enabled

  • eslint-plugin: [no-loop-func] sync from upstream base rule

  • eslint-plugin: [no-unused-vars] never report the naming of an enum member

  • eslint-plugin: correct use-at-your-own-risk type definitions

  • eslint-plugin: handle unions in await...for

❤️ Thank You
  • Abraham Guo
  • Anna Bocharova
  • Arya Emami
  • auvred
  • Joshua Chen
  • Kirk Waiblinger
  • Lotfi Meklati
  • mdm317
  • Ronen Amiel
  • Sukka
  • YeonJuan

You can read about our versioning strategy and releases on our website.

v8.8.1

Compare Source

🩹 Fixes
  • eslint-plugin: stop warning on @​ts-nocheck comments which aren't at the beginning of the file
❤️ Thank You
  • Brad Zacher
  • Ronen Amiel
  • WhitePiano

You can read about our versioning strategy and releases on our website.

v8.8.0

Compare Source

🚀 Features
  • eslint-plugin: [no-unnecessary-condition] add checkTypePredicates

  • eslint-plugin: [return-await] check for-await loop iteree

🩹 Fixes
  • remove export type * in d.ts to support TS<5.0

  • eslint-plugin: [no-unnecessary-template-expression] should underline template syntax with squiggly lines

  • type-utils: check for type parameters on isBuiltinSymbolLikeRecurser()

  • eslint-plugin: [no-deprecated] max callstack exceeded when class implements itself

  • eslint-plugin: [no-misused-promises] check contextual type

  • eslint-plugin: [prefer-literal-enum-member] allow nested bitwise operations

❤️ Thank You
  • auvred
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • Ronen Amiel
  • Tarun Chauhan
  • YeonJuan

You can read about our versioning strategy and releases on our website.

v8.7.0

Compare Source

🚀 Features
  • eslint-plugin: [no-unsafe-call] check calls of Function

  • eslint-plugin: [consistent-type-exports] check export * exports to see if all exported members are types

🩹 Fixes
  • eslint-plugin: properly coerce all types to string in getStaticMemberAccessValue

  • eslint-plugin: [no-deprecated] report on imported deprecated variables

  • eslint-plugin: [no-confusing-non-null-assertion] check !in and !instanceof

❤️ Thank You
  • Abraham Guo
  • auvred
  • Brian Donovan
  • Kirk Waiblinger

You can read about our versioning strategy and releases on our website.

v8.6.0

Compare Source

🚀 Features
  • add allow option for restrict-template-expressions

  • type-utils: isNullableType add Void logic

  • eslint-plugin: [no-unnecessary-condition] check switch cases

  • eslint-plugin: [no-misused-promises] check array predicate return

🩹 Fixes
  • eslint-plugin: [no-deprecated] don't report recursive types in destructuring assignment twice

  • eslint-plugin: [no-deprecated] report on deprecated variables used in destructuring assignment

  • eslint-plugin: [no-deprecated] report on deprecated properties with function-like types

  • eslint-plugin: [no-unnecessary-condition] properly reflect multiple negations in message

❤️ Thank You
  • Abraham Guo
  • auvred
  • Josh Goldberg ✨
  • Kim Sang Du
  • YeonJuan

You can read about our versioning strategy and releases on our website.

v8.5.0

Compare Source

🚀 Features
  • eslint-plugin: [no-duplicate-type-constituents] prevent unnecessary `

  • eslint-plugin: [no-unsafe-argument] differentiate error types

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-assertion] fix TSNonNullExpression fixer

  • eslint-plugin: [no-misused-promises] handle static method

  • eslint-plugin: [no-unnecessary-type-parameters] fix AST quick path scope analysis

  • eslint-plugin: [consistent-type-assertions] access parser services lazily

❤️ Thank You
  • f44da95
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • YeonJuan

You can read about our versioning strategy and releases on our website.

v8.4.0

Compare Source

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.3.0

Compare Source

🚀 Features
  • eslint-plugin: [no-deprecation] add rule
🩹 Fixes
  • eslint-plugin: [no-unnecessary-template-expression] add missing parentheses in autofix

  • eslint-plugin: [no-unnecessary-type-parameters] check mapped alias type arguments

  • utils: add TSDeclareFunction to functionTypeTypes

  • ast-spec: use Expression in argument of ThrowStatement

❤️ Thank You
  • Abraham Guo
  • Daichi Kamiyama
  • Josh Goldberg ✨
  • Kim Sang Du
  • Sukka
  • Vida Xie

You can read about our versioning strategy and releases on our website.

v8.2.0

Compare Source

🚀 Features
  • eslint-plugin: add suggestion to require-await to remove async keyword
🩹 Fixes
  • eslint-plugin: [use-unknown-in-catch-callback-variable] flag second argument of .then

  • eslint-plugin: [no-unnecessary-type-assertion] conflict with TS for variables used before assignment

  • eslint-plugin: delete [] in message if ReadOnly<string[]> is detected

  • eslint-plugin: [no-redundant-type-constituents] differentiate a types-error any from a true any

  • eslint-plugin: [no-unnecessary-type-parameters] check mapped constraint types if necessary

  • eslint-plugin: [no-unsafe-enum-comparison] add logic to see through intersections

❤️ Thank You
  • Abraham Guo
  • Dave
  • Jake Bailey
  • James
  • Josh Goldberg ✨
  • liuxingbaoyu
  • Yukihiro Hasegawa
  • Yutong Zhu

You can read about our versioning strategy and releases on our website.

v8.1.0

Compare Source

🚀 Features
  • eslint-plugin: [no-floating-promises] enable "add await" suggestion if ignoreVoid is true

  • typescript-estree: restrict variable declarator definite/init combinations

  • eslint-plugin: [no-unsafe-return] check promise any

  • eslint-plugin: [no-misused-promises] check subtype methods against heritage type methods

🩹 Fixes
  • eslint-plugin: [no-unsafe-enum-comparison] typo in test

  • eslint-plugin: [no-unnecessary-type-parameters] skip checking function bodies for AST references

  • eslint-plugin: [member-ordering] get accessor member name & take into account abstract and decorator

  • eslint-plugin: [prefer-optional-chain] wrong parenthesis fix output

  • eslint-plugin: [no-unnecessary-type-parameters] clarify message

❤️ Thank You
  • Aly Thobani
  • Brad Zacher
  • James
  • Josh Goldberg ✨
  • Joshua Chen
  • Olivier Zalmanski
  • YeonJuan
  • Yukihiro Hasegawa

You can read about our versioning strategy and releases on our website.

v8.0.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unused-vars] ignore imports used only as types
❤️ Thank You
  • Jake Bailey

You can read about our versioning strategy and releases on our website.

v8.0.0

Compare Source

🚀 Features
  • stricter parent types for the AST

  • typescript-estree: split TSMappedType typeParameter into constraint and key

  • eslint-plugin: remove formatting/layout rules

  • eslint-plugin: [prefer-nullish-coalescing] change ignoreConditionalTests default to true

  • eslint-plugin: deprecate no-loss-of-precision extension rule

  • eslint-plugin: [no-unused-vars] align catch behavior to ESLint 9

  • typescript-estree: rename automaticSingleRunInference to disallowAutomaticSingleRunInference

  • utils: allow specifying additional rule meta.docs in RuleCreator

  • eslint-plugin: split no-empty-object-type out from ban-types and no-empty-interfaces

  • rule-tester: support multipass fixes

  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService

  • eslint-plugin: remove deprecated no-throw-literal rule

  • eslint-plugin: apply initial config changes for v8

  • eslint-plugin: remove no-useless-template-literals

  • eslint-plugin: [no-floating-promises] add 'allowForKnownSafeCalls' option

  • eslint-plugin: replace ban-types with no-restricted-types, no-unsafe-function-type, no-wrapper-object-types

  • eslint-plugin: [no-unused-vars] add reportUnusedIgnorePattern option

  • eslint-plugin: [no-unused-vars] support ignoreClassWithStaticInitBlock

  • eslint-plugin: [no-unused-vars] handle comma operator for assignments, treat for-of the same as for-in

  • eslint-plugin: [no-unused-vars] report if var used only in typeof

  • eslint-plugin: [no-floating-promises] disable checkThenables by default for v8

  • rule-tester: switched to flat config

  • eslint-plugin: [no-unnecessary-type-parameters] promote to strict

🩹 Fixes
  • correct eslint-plugin's peerDependency on parser@8

  • disable projectService in disabled-type-checked shared config

  • typescript-estree: add TSEnumBody node for TSEnumDeclaration body

  • eslint-plugin: include alpha pre-releases in parser peer dependency

  • eslint-plugin: correct rules.d.ts types to not rely on non-existent imports

  • eslint-plugin: remove duplicate import RuleModuleWithMetaDocs

  • type-utils: also check declared modules for package names in TypeOrValueSpecifier

  • eslint-plugin: [no-unnecessary-template-expression] do not render escaped strings in autofixes

  • eslint-plugin: [no-unused-vars] incorporate upstream changes around caught errors report messages

  • eslint-plugin: [no-misused-promises] perf: avoid getting types of variables/functions if the annotated type is obviously not a function

  • rule-tester: provide Linter a cwd in its constructor

❤️ Thank You
  • Abraham Guo
  • Alfred Ringstad
  • auvred
  • Brad Zacher
  • Christopher Aubut
  • Collin Bachman
  • James Henry
  • Josh Goldberg
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • StyleShit
  • Victor Lin
  • Yukihiro Hasegawa

You can read about our versioning strategy and releases on our website.

7.18.0 (2024-07-29)

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-assertion] prevent runtime error when asserting a vari

Configuration

📅 Schedule: Branch creation - "* 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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (420037c) to head (2c6fe51).
Report is 1 commits behind head on master.

Current head 2c6fe51 differs from pull request most recent head aa10590

Please upload reports for the commit aa10590 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #135   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          448       448           
  Branches        85        85           
=========================================
  Hits           448       448           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 0b292ea to b83dc1f Compare July 24, 2023 18:25
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from b83dc1f to b2ddf3e Compare July 31, 2023 19:21
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from c71c358 to 61a6eb6 Compare August 14, 2023 19:22
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 61a6eb6 to 0c3a4aa Compare August 21, 2023 18:39
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from a826bfd to d07a036 Compare September 4, 2023 18:17
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 99bbdbe to e9780f3 Compare September 18, 2023 18:43
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 2daea0a to 4cc7e89 Compare October 2, 2023 19:53
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from cc712b3 to 69c058b Compare October 16, 2023 18:18
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 2c6fe51 to 4b4a29d Compare October 30, 2023 18:54
@renovate
Copy link
Contributor Author

renovate bot commented Oct 30, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
Scope: all 3 workspace projects
 WARN  GET https://registry.npmjs.org/@commitlint/cli/-/cli-17.4.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-17.4.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/jest/-/jest-29.4.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/micromatch/-/micromatch-4.0.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-18.14.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/webpack/-/webpack-5.28.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/commitizen/-/commitizen-4.3.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/es-jest/-/es-jest-2.1.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/esbuild/-/esbuild-0.17.10.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.34.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-17.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@typescript-eslint%2Feslint-plugin error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@typescript-eslint%2Fparser error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@commitlint/cli/-/cli-17.4.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-17.4.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/jest/-/jest-29.4.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/micromatch/-/micromatch-4.0.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-18.14.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/webpack/-/webpack-5.28.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/commitizen/-/commitizen-4.3.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/es-jest/-/es-jest-2.1.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/esbuild/-/esbuild-0.17.10.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/eslint/-/eslint-8.34.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-17.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@typescript-eslint%2Feslint-plugin error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@typescript-eslint%2Fparser error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

pnpm [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
    at Proxy.getAll (node:internal/url:534:13)
    at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.27.1/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59405:55)
    at /opt/containerbase/tools/pnpm/7.27.1/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59467:31
    at Array.reduce (<anonymous>)
    at Proxy.raw (/opt/containerbase/tools/pnpm/7.27.1/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59466:33)
    at new Headers (/opt/containerbase/tools/pnpm/7.27.1/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59351:28)
    at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.27.1/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59700:23)
    at /opt/containerbase/tools/pnpm/7.27.1/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59757:25
    at new Promise (<anonymous>)
    at fetch (/opt/containerbase/tools/pnpm/7.27.1/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59755:14)
 WARN  GET https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.2.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/jest/-/jest-29.4.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/lint-staged/-/lint-staged-13.1.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/memfs/-/memfs-3.4.13.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/pnpm/-/pnpm-7.33.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/rimraf/-/rimraf-4.1.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/rollup/-/rollup-3.17.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/rollup-plugin-dts/-/rollup-plugin-dts-5.2.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/rollup-plugin-esbuild/-/rollup-plugin-esbuild-5.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/simple-git-hooks/-/simple-git-hooks-2.8.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@freddy38510/dropcss/-/dropcss-2.5.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 4b4a29d to 6d6a07b Compare November 6, 2023 18:10
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 6d6a07b to 08d7d6a Compare November 13, 2023 18:41
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 08d7d6a to 25964a2 Compare November 20, 2023 19:39
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 4 times, most recently from afbe118 to 063b01e Compare December 4, 2023 19:50
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 063b01e to 6c2268b Compare December 11, 2023 18:35
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from d30906f to cffd88f Compare December 25, 2023 19:16
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from cffd88f to c2b5667 Compare January 1, 2024 19:20
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 7c7b3c0 to 421d3b7 Compare October 7, 2024 19:30
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 3 times, most recently from 254a656 to 73e5750 Compare October 21, 2024 18:57
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 3 times, most recently from 29e6368 to 03a5131 Compare October 29, 2024 14:27
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from fe9090b to 912fed4 Compare November 11, 2024 18:06
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 912fed4 to 9986a51 Compare November 18, 2024 17:23
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 9986a51 to d65a722 Compare November 25, 2024 17:56
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from dcca68b to c9c6877 Compare December 9, 2024 18:12
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from c9c6877 to 9308f10 Compare December 16, 2024 18:07
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from ce7af5b to 32d586d Compare December 30, 2024 19:53
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from f2c5fa2 to 6943513 Compare January 13, 2025 18:11
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 44bfd31 to e3e3cb5 Compare January 27, 2025 18:00
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from e3e3cb5 to 25dc682 Compare February 3, 2025 20:24
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 4f6c666 to 656bb5d Compare February 17, 2025 21:52
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 99448c2 to 49d2db0 Compare March 3, 2025 17:53
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 49d2db0 to a8c424a Compare March 10, 2025 19:44
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 35eb755 to 3804595 Compare March 24, 2025 19:14
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 3804595 to e2a5948 Compare March 31, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants