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 v7 (major) #1397

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 10, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin (source) ^6.0.0 -> ^7.0.0 age adoption passing confidence
@typescript-eslint/parser (source) ^6.0.0 -> ^7.0.0 age adoption passing confidence
@typescript-eslint/utils (source) ^6.0.0 -> ^7.0.0 age adoption passing confidence

Release Notes

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

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)

v7.5.0

Compare Source

🩹 Fixes
  • parser: disallow errorOnTypeScriptSyntacticAndSemanticIssues
❤️ 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

v7.3.1

Compare Source

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.

v7.3.0

Compare Source

🩹 Fixes
  • correct engines.node constraints in package.json
❤️ 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
❤️ 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 parser 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

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.

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

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.

v7.0.0

Compare Source

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

  • add support for flat configs

⚠️ 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
  • allow parserOptions.project: false
❤️ 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)

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.

6.19.1 (2024-01-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.

6.19.0 (2024-01-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.

6.18.1 (2024-01-08)

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.

6.18.0 (2024-01-06)

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.

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

v7.5.0

Compare Source

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

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

v7.4.0

Compare Source

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

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

v7.3.1

Compare Source

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

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

v7.3.0

Compare Source

🚀 Features
  • utils: add parser name to thrown parser error message

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

🩹 Fixes
  • correct engines.node constraints in package.json
❤️ 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
❤️ 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 utils 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

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

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

  • utils: use mergeable interface for settings property

❤️ Thank You
  • Brad Zacher
  • Gareth Jones

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

v7.0.1

Compare Source

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

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

  • utils: revert removal of backwards-compat functions

⚠️ 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

  • utils: improve eslint types

  • eslint-plugin: add rule prefer-find

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

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

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

6.19.1 (2024-01-22)

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

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

6.19.0 (2024-01-15)

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

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

6.18.1 (2024-01-08)

🩹 Fixes
  • utils: improve error message on typed rule with invalid parser
❤️ 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)

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

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


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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from fb775ee to 4ab9407 Compare July 17, 2023 04:48
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 2f4bb87 to 3f7efcd Compare July 24, 2023 04:47
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 3f7efcd to 0964473 Compare July 31, 2023 14:30
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 0964473 to 5a0b50d Compare August 14, 2023 04:24
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 5a0b50d to df9a082 Compare August 28, 2023 04:16
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from df9a082 to ad087bf Compare September 4, 2023 09:18
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from ad087bf to 3bb780e Compare September 18, 2023 04:37
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 3 times, most recently from 1b0e285 to b44ee3e Compare October 23, 2023 03:57
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from b44ee3e to 9bab0cc Compare October 30, 2023 03:53
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 9bab0cc to 64a5986 Compare November 13, 2023 03:13
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 64a5986 to 424c69a Compare November 26, 2023 14:22
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 424c69a to 4c1f65c Compare February 12, 2024 04:02
@SimenB
Copy link
Member

SimenB commented Feb 12, 2024

@G-Rath
Copy link
Collaborator

G-Rath commented Feb 12, 2024

if only we were on v6...

@SimenB I think it's probably time we start actually getting a move on this (and flat config and etc) - I can spend some time over the next couple of weeks, but do you have any particular approach you'd like to take? (especially re new majors - it might just be easier if we do a small one like ts-eslint has...?)

Happy to jump into a call as well sometime if that'd be easier

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 4c1f65c to 2d0c141 Compare February 12, 2024 21:46
@renovate renovate bot changed the title chore(deps): update typescript-eslint monorepo to v6 (major) chore(deps): update typescript-eslint monorepo to v7 (major) Feb 12, 2024
@pierluigilenoci

This comment was marked as off-topic.

@FloEdelmann

This comment was marked as resolved.

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 2d0c141 to bd7fe99 Compare February 13, 2024 17:35
@SimenB
Copy link
Member

SimenB commented Feb 17, 2024

@G-Rath I don't have any particular preferences - I like the approach of the PRs you've submitted 👍

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from bd7fe99 to 17d404c Compare February 26, 2024 03:25
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 17d404c to 47de68e Compare March 4, 2024 03:32
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 47de68e to a1be853 Compare March 19, 2024 08:55
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from a1be853 to 57710cb Compare April 1, 2024 20:28
@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch 2 times, most recently from 65ce365 to 02ee502 Compare April 6, 2024 08:52
@pierluigilenoci

This comment was marked as off-topic.

@G-Rath

This comment was marked as off-topic.

@pierluigilenoci

This comment was marked as off-topic.

@pierluigilenoci

This comment was marked as off-topic.

@G-Rath

This comment was marked as off-topic.

@coffeebe4code
Copy link

coffeebe4code commented Apr 23, 2024

I have no typescript in my project. I am surprised there is this issue. Why does everyone require or have some dependencies on the typescript eslint? If you wanted typescript linting, you would use typescript eslint. if you wanted jest linting, you would use jest eslint.

So this is just my misunderstanding, but why is typescript eslint required here? If you wanted to provide additional linting that required typescript for some reason, wouldn't you use the typescript-parser? forgive my ignorance

@G-Rath
Copy link
Collaborator

G-Rath commented Apr 26, 2024

So this is just my misunderstanding, but why is typescript eslint required here?

As a direct dependency, we're using some utilities that are maintained by the @typescript-eslint team; this is different from those wanting TypeScript linting and does not conflict with them - it's the same as if we were depending on dependencies like is-number or chalk; we would want these kind of utilities anyway so by reusing them via this dependency deduplicates some code.

That tends to cause confusion though because when @typescript-eslint blocks an update people do npm ls @typescript-eslint, see we have a dependency, and assume we're the problem when actually we're not.

Note we do have an optional peer dependency on @typescript-eslint/eslint-plugin as we extend one of their rules, but you can only use that rule if you're linting TypeScript anyway so also does not impact anyone not using TypeScript.

@renovate renovate bot force-pushed the renovate/major-typescript-eslint-monorepo branch from 02ee502 to 1569b26 Compare May 3, 2024 19:30
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

5 participants