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

Update typescript-eslint monorepo to v8 (major) #408

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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 and releases on our website.

7.0.2 (2024-02-19)

🩹 Fixes
  • fix tsconfig-less check errors, fix @types/eslint incompatibilities, add tests
❤️ Thank You
  • Brad Zacher
  • Gareth Jones

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

7.0.1 (2024-02-12)

🩹 Fixes
  • eslint-plugin: update peer dep for parser
❤️ Thank You
  • Tim Dorr

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

v7.18.0

Compare Source

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

v7.17.0

Compare Source

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

v7.16.1

Compare Source

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

v7.16.0

Compare Source

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

v7.15.0

Compare Source

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

v7.14.1

Compare Source

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

v7.14.0

Compare Source

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

v7.13.1

Compare Source

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

v7.13.0

Compare Source

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

v7.12.0

Compare Source

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

v7.11.0

Compare Source

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

v7.10.0

Compare Source

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

v7.9.0

Compare Source

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

v7.8.0

Compare Source

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

v7.7.1

Compare Source

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

v7.7.0

Compare Source

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

v7.6.0

Compare Source

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

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

v7.5.0

Compare Source

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

v7.4.0

Compare Source

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

v7.3.1

Compare Source

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

v7.3.0

Compare Source

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

v7.2.0

Compare Source

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

v7.1.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.

v7.1.0

Compare Source

🚀 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 and releases on our website.

v7.0.2

Compare Source

🩹 Fixes
  • fix tsconfig-less check errors, fix @types/eslint incompatibilities, add tests
❤️ Thank You
  • Brad Zacher
  • Gareth Jones

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

v7.0.1

Compare Source

🩹 Fixes
  • eslint-plugin: update peer dep for parser
❤️ Thank You
  • Tim Dorr

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

v7.0.0

Compare Source

🚀 Features
  • ⚠️ bump ESLint, NodeJS, and TS minimum version requirements

  • add support for flat configs

🩹 Fixes
  • eslint-plugin: [prefer-find] stop throwing type errors when converting symbols to numbers
⚠️ Breaking Changes
  • ⚠️ bump ESLint, NodeJS, and TS minimum version requirements
❤️ Thank You
  • Brad Zacher
  • Kirk Waiblinger
  • StyleShit
  • YeonJuan

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

6.21.0 (2024-02-05)

🚀 Features
  • export plugin metadata

  • allow parserOptions.project: false

  • eslint-plugin: add rule prefer-find

🩹 Fixes
  • eslint-plugin: [no-unused-vars] don't report on types referenced in export assignment expression

  • eslint-plugin: [switch-exhaustiveness-check] better support for intersections, infinite types, non-union values

  • eslint-plugin: [consistent-type-imports] dont report on types used in export assignment expressions

  • eslint-plugin: [no-unnecessary-condition] handle left-hand optional with exactOptionalPropertyTypes option

  • eslint-plugin: [class-literal-property-style] allow getter when same key setter exists

  • eslint-plugin: [no-unnecessary-type-assertion] provide valid fixes for assertions with extra tokens before as keyword

❤️ Thank You
  • auvred
  • Brad Zacher
  • Kirk Waiblinger
  • Pete Gonzalez
  • YeonJuan

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

6.20.0 (2024-01-29)

🚀 Features
  • eslint-plugin: [member-ordering] allow easy reuse of the default ordering
🩹 Fixes
  • eslint-plugin: [no-useless-template-literals] incorrect bigint autofix result

  • eslint-plugin: [prefer-nullish-coalescing] treat any/unknown as non-nullable

  • eslint-plugin: [no-useless-template-literals] report Infinity & NaN

  • eslint-plugin: [prefer-readonly] disable checking accessors

❤️ Thank You
  • Alex Parloti
  • auvred
  • James Browning
  • StyleShit
  • YeonJuan

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

6.19.1 (2024-01-22)

🩹 Fixes
  • type-utils: preventing isUnsafeAssignment infinite recursive calls

  • eslint-plugin: [no-unnecessary-condition] fix false positive for type variable

❤️ Thank You
  • YeonJuan

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

6.19.0 (2024-01-15)

🚀 Features
  • eslint-plugin: [prefer-promise-reject-errors] add rule

  • eslint-plugin: [no-array-delete] add new rule

  • eslint-plugin: [no-useless-template-literals] add fix suggestions

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-assertion] detect unnecessary non-null-assertion on a call expression

  • eslint-plugin: [no-unnecesary-type-assertion] treat unknown/any as nullable

❤️ Thank You
  • auvred
  • Brad Zacher
  • Josh Goldberg ✨
  • Joshua Chen
  • LJX
  • Steven
  • StyleShit

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

6.18.1 (2024-01-08)

🩹 Fixes
  • eslint-plugin: [no-non-null-assertion] provide valid fix when member access is on next line

  • eslint-plugin: [no-unnecessary-condition] improve checking optional callee

  • eslint-plugin: [prefer-readonly] support modifiers of unions and intersections

  • eslint-plugin: [switch-exhaustiveness-check] fix new allowDefaultCaseForExhaustiveSwitch option

❤️ Thank You
  • auvred
  • James
  • Josh Goldberg ✨
  • YeonJuan

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

6.18.0 (2024-01-06)

🚀 Features
  • typescript-estree: throw on invalid update expressions

  • eslint-plugin: [no-var-requires, no-require-imports] allow option

❤️ Thank You
  • auvred
  • Joshua Chen

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

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

v8.0.0

Compare Source

🚀 Features
  • parser: always enable comment, loc, range, tokens

  • typescript-estree: stabilize EXPERIMENTAL_useProjectService as projectService

❤️ 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)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.17.0 (2024-07-22)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.16.1 (2024-07-15)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.16.0 (2024-07-08)

🩹 Fixes
❤️ 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)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.14.1 (2024-06-24)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.14.0 (2024-06-24)

🚀 Features
  • support TypeScript 5.5
❤️ 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)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.13.0 (2024-06-10)

🚀 Features
  • parser, typescript-estree: export withoutProjectParserOptions utility
❤️ 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)

🩹 Fixes
  • types: correct typing ParserOptions
❤️ 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)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.10.0 (2024-05-20)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.9.0 (2024-05-13)

This was a version bump only for parser to align it with other projects, there were no code changes.

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

7.8.0 (2024-04-29)

This was a version bump only for parser to align it with other projects, there were no code chan


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

Copy link

codesandbox bot commented Feb 12, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

changeset-bot bot commented Feb 12, 2024

⚠️ No Changeset found

Latest commit: 7ca63bc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 37c22b5 to b6a7a06 Compare February 19, 2024 19:59
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from b6a7a06 to baecfa4 Compare March 2, 2024 10:53
Copy link

socket-security bot commented Mar 2, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from baecfa4 to da5d609 Compare March 4, 2024 18:43
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from c4caa52 to a4ec6a1 Compare March 18, 2024 17:46
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from b7d7467 to 3759bec Compare March 25, 2024 21:51
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from f8ac069 to 65e4bc6 Compare April 8, 2024 20:38
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 0e0893d to fb8e488 Compare April 15, 2024 20:12
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 4a1afd8 to fc88174 Compare April 22, 2024 18:44
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from f4cdea0 to 2ee8068 Compare April 29, 2024 19:52
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from e5597e0 to b43a828 Compare May 13, 2024 19:46
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 483f1c6 to 6981fd4 Compare May 24, 2024 00:46
Copy link

coderabbitai bot commented May 24, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from c1e6e87 to 46afa35 Compare June 3, 2024 19:59
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from e79d245 to eb5345e Compare June 10, 2024 19:08
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from eb5345e to 4040332 Compare June 17, 2024 19:10
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 4040332 to 80a6ee4 Compare June 24, 2024 22:48
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 80a6ee4 to 49979ae Compare July 5, 2024 01:12
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 5331cef to 7387fd4 Compare July 8, 2024 19:33
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 7387fd4 to da5f2e4 Compare July 15, 2024 19:31
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from d626e79 to a56378d Compare July 29, 2024 19:42
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from a56378d to 7ca63bc Compare July 31, 2024 20:17
@renovate renovate bot changed the title Update typescript-eslint monorepo to v7 (major) Update typescript-eslint monorepo to v8 (major) Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants