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 eslint (major) #322

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 11, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin (source) ~5.62.0 -> ~8.19.0 age adoption passing confidence
@typescript-eslint/parser (source) ~5.62.0 -> ~8.19.0 age adoption passing confidence
eslint (source) ~8.45.0 -> ~9.17.0 age adoption passing confidence
eslint-config-airbnb-typescript ~17.1.0 -> ~18.0.0 age adoption passing confidence
eslint-config-prettier ~8.8.0 -> ~9.1.0 age adoption passing confidence
eslint-plugin-prettier ~4.2.0 -> ~5.2.0 age adoption passing confidence

Release Notes

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

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 variable declared in default TS lib

  • eslint-plugin: [unbound-method] report on destructuring in function parameters

  • eslint-plugin: [no-duplicate-type-constituents] shouldn't report on error types

  • eslint-plugin: [strict-boolean-expressions] support branded booleans

❤️ Thank You
  • auvred
  • Oliver Salzburg
  • Vinccool96
  • Yukihiro Hasegawa

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

7.17.0 (2024-07-22)

🚀 Features
  • eslint-plugin: backport no-unsafe-function type, no-wrapper-object-types from v8 to v7

  • eslint-plugin: [return-await] add option to report in error-handling scenarios only, and deprecate "never"

🩹 Fixes
  • eslint-plugin: [no-floating-promises] check top-level type assertions (and more)

  • eslint-plugin: [strict-boolean-expressions] consider assertion function argument a boolean context

  • eslint-plugin: [no-unnecessary-condition] false positive on optional private field

❤️ Thank You
  • Armano
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • StyleShit

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

7.16.1 (2024-07-15)

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-parameters] descend into all parts of mapped types in no-unnecessary-type-parameters
❤️ Thank You
  • Dan Vanderkam

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

7.16.0 (2024-07-08)

🚀 Features
  • rule-tester: stricter rule test validations

  • eslint-plugin: [no-unnecessary-parameter-property-assignment] add new rule

  • eslint-plugin: add support for nested namespaces to unsafe-member-access

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

🩹 Fixes
  • deps: update dependency @​eslint-community/regexpp to v4.11.0

  • eslint-plugin: [no-floating-promises] add suggestions to tests from #​9263 checkThenables

  • website: react key error on internal pages of website

  • eslint-plugin: [restrict-template-expressions] don't report tuples if allowArray option is enabled

❤️ Thank You
  • Abraham Guo
  • auvred
  • Josh Goldberg ✨
  • Juan Sanchez
  • Vinccool96
  • YeonJuan
  • Yukihiro Hasegawa

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

7.15.0 (2024-07-01)

🚀 Features
  • eslint-plugin: [array-type] detect Readonly<string[]> case

  • eslint-plugin: back-port new rules around empty object types from v8

🩹 Fixes
  • disable EXPERIMENTAL_useProjectService in disabled-type-checked shared config

  • eslint-plugin: [no-unsafe-return] differentiate a types-error any from a true any

  • eslint-plugin: [no-unsafe-call] differentiate a types-error any from a true any

❤️ Thank You
  • auvred
  • Kim Sang Du
  • rgehbt
  • Vinccool96

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

7.14.1 (2024-06-24)

🩹 Fixes
  • eslint-plugin: [prefer-nullish-coalescing] treat enums and literals as their underlying primitive types

  • eslint-plugin: [prefer-nullish-coalescing] ensure ternary fix does not remove parens

❤️ Thank You
  • Jake Bailey

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

7.14.0 (2024-06-24)

🚀 Features
  • support TypeScript 5.5
🩹 Fixes
  • eslint-plugin: [no-extraneous-class] handle abstract members

  • eslint-plugin: [prefer-nullish-coalescing] handle intersected primitive types

  • eslint-plugin: [no-invalid-this] support AccessorProperty

❤️ Thank You
  • Brad Zacher
  • cm-ayf
  • Jake Bailey
  • James Zhan
  • Joshua Chen
  • yoshi2no

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

7.13.1 (2024-06-17)

🩹 Fixes
  • eslint-plugin: [prefer-readonly] refine report locations

  • eslint-plugin: [return-await] support explicit resource management

  • eslint-plugin: [no-unsafe-member-access] differentiate a types-error any from a true any

❤️ Thank You
  • Kirk Waiblinger
  • Yukihiro Hasegawa

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

7.13.0 (2024-06-10)

🚀 Features
  • typescript-estree: require import = require() argument to be a string literal

  • typescript-estree: forbid .body, .async, .generator on declare function

  • eslint-plugin: [no-dynamic-delete] allow all string literals as index

🩹 Fixes
  • ast-spec: function-call-like callee should be Expression not LeftHandSideExpression

  • scope-manager: handle index signature in class

  • eslint-plugin: [init-declarations] refine report locations

  • eslint-plugin: [no-base-to-string] make error message more nuanced

  • eslint-plugin: [no-unsafe-assignment] be more specific about error types

  • eslint-plugin: [no-magic-numbers] fix implementation of the ignore option

❤️ Thank You
  • Fotis Papadogeorgopoulos
  • Joshua Chen
  • Kirk Waiblinger
  • Tobiloba Adedeji
  • Vinccool96
  • YeonJuan

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

7.12.0 (2024-06-03)

🚀 Features
  • eslint-plugin: [no-useless-template-literals] rename to no-useless-template-expression (deprecate no-useless-template-literals)

  • rule-tester: check for parsing errors in suggestion fixes

  • rule-tester: port checkDuplicateTestCases from ESLint

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

🩹 Fixes
  • no-useless-template-expression -> no-unnecessary-template-expression

  • eslint-plugin: [no-unnecessary-type-assertion] combine template literal check with const variable check

  • eslint-plugin: [dot-notation] fix false positive when accessing private/protected property with optional chaining

  • eslint-plugin: [explicit-member-accessibility] refine report locations

  • eslint-plugin: [no-unnecessary-type-assertion] declares are always defined, so always check declares

  • eslint-plugin: [prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions

  • eslint-plugin: [return-await] clean up in-try-catch detection and make autofixes safe

  • eslint-plugin: [member-ordering] also TSMethodSignature can be get/set

❤️ Thank You
  • Abraham Guo
  • Han Yeong-woo
  • Joshua Chen
  • Kim Sang Du
  • Kirk Waiblinger
  • YeonJuan

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

7.11.0 (2024-05-27)

🚀 Features
  • eslint-plugin: deprecate prefer-ts-expect-error in favor of ban-ts-comment
🩹 Fixes
  • eslint-plugin: [consistent-type-assertions] prevent syntax errors on arrow functions
❤️ Thank You
  • Abraham Guo
  • auvred
  • Dom Armstrong
  • Kirk Waiblinger

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

7.10.0 (2024-05-20)

🚀 Features
  • eslint-plugin: [sort-type-constituents] support case sensitive sorting
🩹 Fixes
  • eslint-plugin: [prefer-regexp-exec] fix heuristic to check whether regex may contain global flag
❤️ Thank You
  • auvred
  • Emanuel Hoogeveen
  • jsfm01
  • Kirk Waiblinger

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

7.9.0 (2024-05-13)

🩹 Fixes
  • eslint-plugin: [explicit-function-return-types] fix false positive on default parameters
❤️ Thank You
  • Kirk Waiblinger
  • Sheetal Nandi
  • Vinccool96

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

7.8.0 (2024-04-29)

🩹 Fixes
  • eslint-plugin: [no-unsafe-argument] handle tagged templates

  • eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check

  • eslint-plugin: [consistent-type-assertions] handle tagged templates

  • eslint-plugin: [no-unsafe-return] handle union types

  • eslint-plugin: [no-unused-vars] clear error report range

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

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

7.7.1 (2024-04-22)

🩹 Fixes
  • eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment

  • eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type

  • eslint-plugin: [prefer-optional-chain] only look at left operand for requireNullish

  • eslint-plugin: [no-for-in-array] refine report location

  • eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type

❤️ Thank You
  • Abraham Guo
  • Kirk Waiblinger
  • YeonJuan

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

7.7.0 (2024-04-15)

🚀 Features
  • eslint-plugin: replace no-new-symbol with no-new-native-nonconstructor
❤️ Thank You
  • Dave
  • Josh Goldberg ✨

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

7.6.0 (2024-04-08)

🚀 Features
  • bump npm dependency ranges
❤️ Thank You
  • Abraham Guo
  • auvred
  • Brad Zacher

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

7.5.0 (2024-04-01)

🩹 Fixes
  • eslint-plugin: [no-floating-promises] handle TaggedTemplateExpression

  • eslint-plugin: [no-unnecessary-type-assertion] handle exactOptionalPropertyTypes compiler option

❤️ Thank You
  • Brad Zacher
  • Kim Sang Du
  • Mark de Dios
  • Naru
  • YeonJuan

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

7.4.0 (2024-03-25)

🚀 Features
  • eslint-plugin: [consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata

  • eslint-plugin: [no-unnecessary-type-arguments] handle tagged templates

  • eslint-plugin: deprecate no-throw-literal and add a renamed only-throw-error

🩹 Fixes
  • eslint-plugin: [prefer-optional-chain] address multipart nullish checks false positive

  • eslint-plugin: [prefer-optional-chain] properly disambiguate between boolean and false

  • eslint-plugin: [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside

❤️ Thank You
  • Abraham Guo
  • Brad Zacher
  • Josh Goldberg ✨
  • Kim Sang Du
  • Kirk Waiblinger
  • Marco Pasqualetti
  • YeonJuan

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

7.3.1 (2024-03-18)

🩹 Fixes
  • eslint-plugin: [no-floating-promises] revert disable of ignoreVoid in strict config
❤️ Thank You
  • Josh Goldberg ✨

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

7.3.0 (2024-03-18)

🚀 Features
  • eslint-plugin: [restrict-template-expressions] add allowArray option

  • eslint-plugin: add meta.docs.recommended setting for strict config options

  • eslint-plugin: add rule use-unknown-in-catch-callback-variables

  • eslint-plugin: [prefer-reduce-type-parameter] supports tuple, union, intersection

🩹 Fixes
  • correct engines.node constraints in package.json

  • eslint-plugin: [unbound-method] check method definition in object literal using longhand form

  • eslint-plugin: [consistent-type-imports] handle imports without specifiers

  • eslint-plugin: [no-redundant-type-constituents] incorrectly marks & string as redundant

  • eslint-plugin: [no-unnecessary-qualifier] handle merge namespace with enum

  • eslint-plugin: [no-unused-expressions] false negatives when using assertions

  • eslint-plugin: [ban-ts-comment] more accurate handling of multiline comments

  • eslint-plugin: [explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option

  • eslint-plugin: [class-literal-property-style] ignore property assigned in constructor

  • eslint-plugin: [no-unnecessary-type-assertion] fix false negative for const variable declarations

❤️ Thank You
  • Abraham Guo
  • Alexu
  • Arka Pratim Chaudhuri
  • auvred
  • Derrick Isaacson
  • fnx
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • Marta Cardoso
  • Michaël De Boey
  • Tristan Rasmussen
  • YeonJuan

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

7.2.0 (2024-03-11)

🚀 Features
  • support TS 5.4

  • eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option

🩹 Fixes
  • eslint-plugin: expose *-type-checked-only configs for extension

  • eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group

  • eslint-plugin: [no-var-requires, no-require-imports] support template literal

  • eslint-plugin: [no-useless-template-literals] detect TemplateLiteral

  • eslint-plugin: [no-unnecessary-condition] handle union array and tuple type

  • eslint-plugin: [prefer-find] support ternary branches in prefer-find

❤️ Thank You
  • Arka Pratim Chaudhuri
  • auvred
  • Chris Plummer
  • Fotis Papadogeorgopoulos
  • Josh Goldberg ✨
  • Kirk Waiblinger
  • Wayne Zhang
  • YeonJuan

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

7.1.1 (2024-03-04)

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.

7.1.0 (2024-02-26)

🚀 Features
  • eslint-plugin: add *-type-checked-only configs

  • eslint-plugin: [naming-convention] support the auto-accessor syntax

  • eslint-plugin: [consistent-return] add new rule

🩹 Fixes
  • eslint-plugin: [prefer-optional-chan] allow typeof for avoiding reference error

  • eslint-plugin: [no-misused-promises] improve check union types

  • eslint-plugin: [no-use-before-define] fix false positive type reference in as, satisfies

❤️ Thank You
  • Arka Pratim Chaudhuri
  • Josh Goldberg ✨
  • YeonJuan

You can read about our [versioning strategy](https://main-


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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


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

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

@renovate renovate bot added the dependencies Dependency related label Jul 11, 2023
@renovate renovate bot requested a review from schw4rzlicht July 11, 2023 01:46
@renovate renovate bot changed the title chore(deps): update eslint to v6 (major) chore(deps): update eslint (major) Jul 11, 2023
@renovate renovate bot force-pushed the renovate/major-eslint branch from 9105dce to 8a3a146 Compare July 11, 2023 09:10
@github-actions github-actions bot added the has conflicts Whether a PR as conflicts with the base branch label Jul 16, 2023
@renovate renovate bot force-pushed the renovate/major-eslint branch from 8a3a146 to 1b5b979 Compare July 16, 2023 12:05
@github-actions github-actions bot removed the has conflicts Whether a PR as conflicts with the base branch label Jul 16, 2023
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 54b6df7 to eca8cc0 Compare July 24, 2023 18:19
@renovate
Copy link
Contributor Author

renovate bot commented Jul 24, 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: package-lock.json
npm WARN old lockfile 
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile 
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile 
npm WARN old lockfile string-width-cjs: No matching version found for [email protected].
npm WARN old lockfile     at module.exports (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:209:23)
npm WARN old lockfile     at RegistryFetcher.manifest (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/pacote/lib/registry.js:119:22)
npm WARN old lockfile     at async Array.<anonymous> (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:727:24)
npm WARN old lockfile  Could not fetch metadata for [email protected] string-width-cjs: No matching version found for [email protected].
npm WARN old lockfile     at module.exports (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:209:23)
npm WARN old lockfile     at RegistryFetcher.manifest (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/pacote/lib/registry.js:119:22)
npm WARN old lockfile     at async Array.<anonymous> (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:727:24) {
npm WARN old lockfile   code: 'ETARGET',
npm WARN old lockfile   type: 'version',
npm WARN old lockfile   wanted: '4.2.3',
npm WARN old lockfile   versions: [ '1.0.0', '5.1.1' ],
npm WARN old lockfile   distTags: { latest: '5.1.1' },
npm WARN old lockfile   defaultTag: 'latest'
npm WARN old lockfile }
npm WARN old lockfile strip-ansi-cjs: No matching version found for [email protected].
npm WARN old lockfile     at module.exports (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:209:23)
npm WARN old lockfile     at RegistryFetcher.manifest (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/pacote/lib/registry.js:119:22)
npm WARN old lockfile     at async Array.<anonymous> (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:727:24)
npm WARN old lockfile  Could not fetch metadata for [email protected] strip-ansi-cjs: No matching version found for [email protected].
npm WARN old lockfile     at module.exports (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:209:23)
npm WARN old lockfile     at RegistryFetcher.manifest (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/pacote/lib/registry.js:119:22)
npm WARN old lockfile     at async Array.<anonymous> (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:727:24) {
npm WARN old lockfile   code: 'ETARGET',
npm WARN old lockfile   type: 'version',
npm WARN old lockfile   wanted: '6.0.1',
npm WARN old lockfile   versions: [ '1.0.0', '2.0.0', '8.0.0' ],
npm WARN old lockfile   distTags: { latest: '8.0.0' },
npm WARN old lockfile   defaultTag: 'latest'
npm WARN old lockfile }
npm WARN old lockfile wrap-ansi-cjs: No matching version found for [email protected].
npm WARN old lockfile     at module.exports (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:209:23)
npm WARN old lockfile     at RegistryFetcher.manifest (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/pacote/lib/registry.js:119:22)
npm WARN old lockfile     at async Array.<anonymous> (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:727:24)
npm WARN old lockfile  Could not fetch metadata for [email protected] wrap-ansi-cjs: No matching version found for [email protected].
npm WARN old lockfile     at module.exports (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/npm-pick-manifest/lib/index.js:209:23)
npm WARN old lockfile     at RegistryFetcher.manifest (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/pacote/lib/registry.js:119:22)
npm WARN old lockfile     at async Array.<anonymous> (/opt/containerbase/tools/npm/9.9.3/14.21.3/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:727:24) {
npm WARN old lockfile   code: 'ETARGET',
npm WARN old lockfile   type: 'version',
npm WARN old lockfile   wanted: '7.0.0',
npm WARN old lockfile   versions: [ '1.0.0', '8.0.0' ],
npm WARN old lockfile   distTags: { latest: '8.0.0' },
npm WARN old lockfile   defaultTag: 'latest'
npm WARN old lockfile }
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @diggithy/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"~9.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.56.0" from @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   dev @typescript-eslint/parser@"~7.8.0" from the root project
npm ERR!   peer @typescript-eslint/parser@"^7.0.0" from @typescript-eslint/[email protected]
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"~7.8.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-05-03T21_44_48_003Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-05-03T21_44_48_003Z-debug-0.log

@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from d6997ae to fab8646 Compare August 7, 2023 19:21
@renovate renovate bot force-pushed the renovate/major-eslint branch from fab8646 to 215c0dd Compare August 14, 2023 19:39
@renovate renovate bot force-pushed the renovate/major-eslint branch from 215c0dd to 39795b4 Compare August 28, 2023 18:08
@renovate renovate bot force-pushed the renovate/major-eslint branch from 39795b4 to c680757 Compare September 4, 2023 18:19
@renovate renovate bot force-pushed the renovate/major-eslint branch from c680757 to 3cd9094 Compare September 11, 2023 19:16
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 97d5c34 to 68b1bff Compare October 23, 2023 20:24
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 58ec430 to ce1212a Compare November 13, 2023 18:01
@renovate renovate bot force-pushed the renovate/major-eslint branch from ce1212a to b5d868b Compare November 20, 2023 18:15
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 6701c1c to 5262be7 Compare December 2, 2023 10:01
@renovate renovate bot force-pushed the renovate/major-eslint branch from 5262be7 to 22a2390 Compare December 11, 2023 18:25
@renovate renovate bot force-pushed the renovate/major-eslint branch 3 times, most recently from 07b7e6a to fa4eaee Compare December 25, 2023 18:19
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 42fb18e to 4526a20 Compare January 6, 2024 15:40
@renovate renovate bot force-pushed the renovate/major-eslint branch from 4526a20 to 7fe22bc Compare January 15, 2024 19:15
@renovate renovate bot force-pushed the renovate/major-eslint branch from 3bfef59 to 2d0f48f Compare July 31, 2024 18:19
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from ccaf802 to 696baa0 Compare August 12, 2024 17:30
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from ea9ed84 to e9650ad Compare August 26, 2024 17:30
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from e9bed4b to 0f06443 Compare September 6, 2024 22:10
@renovate renovate bot force-pushed the renovate/major-eslint branch from 0f06443 to cab557a Compare September 9, 2024 18:18
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 4148eef to 45455e6 Compare September 20, 2024 18:19
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 4fc47a7 to a659ef3 Compare September 30, 2024 18:15
@renovate renovate bot force-pushed the renovate/major-eslint branch from a659ef3 to 970fb65 Compare October 4, 2024 22:32
@renovate renovate bot force-pushed the renovate/major-eslint branch 4 times, most recently from 71cc60f to 42261e6 Compare October 21, 2024 18:47
@renovate renovate bot force-pushed the renovate/major-eslint branch 3 times, most recently from 59b6055 to 79698d1 Compare November 4, 2024 17:43
@renovate renovate bot force-pushed the renovate/major-eslint branch 3 times, most recently from 1f86b89 to ce1a9e6 Compare November 18, 2024 17:36
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from a96a742 to 00807d6 Compare November 29, 2024 22:58
@renovate renovate bot force-pushed the renovate/major-eslint branch 2 times, most recently from 74c83e1 to 9611852 Compare December 9, 2024 17:37
@renovate renovate bot force-pushed the renovate/major-eslint branch from 9611852 to 886381d Compare December 13, 2024 22:03
@renovate renovate bot force-pushed the renovate/major-eslint branch from 886381d to 3fc373a Compare December 30, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependency related
Development

Successfully merging this pull request may close these issues.

0 participants