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

Bump typescript-eslint from 7.14.1 to 8.12.2 #48275

Merged
merged 8 commits into from
Nov 19, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2024

Bumps typescript-eslint from 7.14.1 to 8.12.2.

Release notes

Sourced from typescript-eslint's releases.

v8.12.2

8.12.2 (2024-10-29)

🩹 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

8.12.1 (2024-10-28)

🚀 Features

  • eslint-plugin: [prefer-nullish-coalescing] add support for assignment expressions (#10152)
  • eslint-plugin: [consistent-indexed-object-style] report mapped types (#10160)
  • eslint-plugin: [switch-exhaustiveness-check] add considerDefaultExhaustiveForUnions option (#9954)
  • eslint-plugin: [no-base-to-string] handle String() (#10005)
  • typescript-eslint: improve undefined extension handling (#10177)

🩹 Fixes

  • eslint-plugin: [no-unsafe-return] don't reiterate through all type parts for each part (#10203)
  • website: enable noImplicitAny (#10175)
  • rule-tester: use cwd option to set base path for tests with file name (#10201)

❤️ Thank You

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

v8.12.0

See https://github.com/typescript-eslint/typescript-eslint/releases/tag/v8.12.1

v8.11.0

8.11.0 (2024-10-21)

🚀 Features

... (truncated)

Changelog

Sourced from typescript-eslint's changelog.

8.12.2 (2024-10-29)

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

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

8.12.1 (2024-10-28)

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

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

8.12.0 (2024-10-28)

🚀 Features

  • typescript-eslint: improve undefined extension handling (#10177)

❤️ Thank You

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

8.11.0 (2024-10-21)

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

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

8.10.0 (2024-10-17)

🩹 Fixes

  • typescript-eslint: propagate name field to extended configs in config helper (#10094)

❤️ Thank You

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

8.9.0 (2024-10-14)

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

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

8.8.1 (2024-10-07)

... (truncated)

Commits
  • 4af866a chore(release): publish 8.12.2
  • 1edec1d chore(release): publish 8.12.1
  • 3413a2d chore(release): publish 8.12.0
  • ad9d3ba feat(typescript-eslint): improve undefined extension handling (#10177)
  • 79c27a8 chore(release): publish 8.11.0
  • 7effdea chore(release): publish 8.10.0
  • be5bc0f fix(typescript-eslint): propagate name field to extended configs in `config...
  • 4666ed4 chore(release): publish 8.9.0
  • f898248 chore(release): publish 8.8.1
  • 2055cfb chore(release): publish 8.8.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 7.14.1 to 8.12.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.2/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file no-changelog Indicates that a PR does not require a changelog entry ui labels Nov 1, 2024
@@ -88,6 +88,11 @@ module.exports = {
'import/no-unresolved': 0,
'no-unused-vars': 'off', // disabled to allow the typescript one to take over and avoid errors in reporting
'@typescript-eslint/no-unused-vars': ['error'],
'no-unused-expressions': 'off',
'@typescript-eslint/no-unused-expressions': [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rudream no-unused-expressions complains about this line and one below it that simply attempts to read the property. Is reading the property alone enough to force reflow?

itemRef.current.offsetHeight; // Force reflow

Copy link
Contributor

@avatus avatus Nov 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is reading the property alone enough to force reflow?

yes, it causes the recalculation.
i just prepended void (as found recommended online) and it causes the error to go away

{
files: ['**/*.js'],
rules: {
'@typescript-eslint/no-require-imports': 'warn',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried replacing requires with imports everywhere (it's on r7s/esm), but I couldn't get Babel to work with Jest.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I currently have a branch trying to upgrade eslint to v9 and all the dependencies have required a massive change. We can table this one until I'm able to carve out enough time this quarter to finally tackle it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better if this particular update was already taken care of? Then the final PR will be smaller.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we wouldn't risk introducing new lint issues.

@avatus
Copy link
Contributor

avatus commented Nov 18, 2024

Lets see how CI reacts, but after my commit, locally all tests and lint passes

@ravicious
Copy link
Member

This requires a buddy PR in e, I'll prepare it in a sec.

@ravicious ravicious mentioned this pull request Nov 19, 2024
@ravicious ravicious enabled auto-merge November 19, 2024 15:57
@ravicious ravicious added this pull request to the merge queue Nov 19, 2024
Merged via the queue into master with commit 18652a7 Nov 19, 2024
39 checks passed
@ravicious ravicious deleted the dependabot/npm_and_yarn/typescript-eslint-8.12.2 branch November 19, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file no-changelog Indicates that a PR does not require a changelog entry ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants