qiita-cli icon indicating copy to clipboard operation
qiita-cli copied to clipboard

Bump @typescript-eslint/eslint-plugin from 6.21.0 to 7.0.0

Open dependabot[bot] opened this issue 1 year ago • 2 comments

Bumps @typescript-eslint/eslint-plugin from 6.21.0 to 7.0.0.

Release notes

Sourced from @​typescript-eslint/eslint-plugin's releases.

v7.0.0

7.0.0 (2024-02-12)

Read more about this release: https://typescript-eslint.io/blog/announcing-typescript-eslint-v7/

🚀 Features

  • add support for flat configs (#7935)

🩹 Fixes

  • eslint-plugin: [prefer-find] stop throwing type errors when converting symbols to numbers (#8390)

⚠️ Breaking Changes

  • ⚠️ bump ESLint, NodeJS, and TS minimum version requirements (#8377)

❤️ Thank You

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

Changelog

Sourced from @​typescript-eslint/eslint-plugin's changelog.

7.0.0 (2024-02-12)

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

Commits
  • b27de99 chore(release): publish 7.0.0
  • 379f742 chore(eslint-plugin): [no-confusing-void-expression] explicitly state default...
  • b636baa docs: fix restrict-plus-operands example (#8362)
  • 1aa393c chore(deps): update dependency prettier to v3.2.5 (#8401)
  • 8ef5f4b feat: add support for flat configs (#7935)
  • c298350 fix(eslint-plugin): [prefer-find] stop throwing type errors when converting s...
  • 1200b4c chore(deps): update nx to v17.3.0 (#8317)
  • 584db29 feat: bump ESLint, NodeJS, and TS minimum version requirements (#8377)
  • 559c0c4 docs: fix missing quotation mark in explicit-member-accessibility.md (#8384)
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] avatar Apr 08 '24 05:04 dependabot[bot]

6.21.0 から 7.0.0 変更に伴う破壊的変更

bump ESLint, NodeJS, and TS minimum version requirements (https://github.com/typescript-eslint/typescript-eslint/pull/8377)

上記を確認したところ、以下の破壊的変更があることがわかった。

  • 最小限の NodeJS バージョンを v18.18.0 に引き上げ(ESLint v9 の最小バージョンに合わせる)
  • NodeJS 19 のサポートを終了(ESLint v9 と同じ)
  • 最小限の TypeScript バージョンを v4.7.5 に引き上げ
  • 最小限の ESLint バージョンを v8.56.0 に引き上げ
  • @typescript-eslint/utils/eslint-utils から以下の後方互換性ヘルパーを削除
    • getAncestors
    • getCwd
    • getDeclaredVariables
    • getFilename
    • getScope
    • getSourceCode

ref:https://github.com/typescript-eslint/typescript-eslint/pull/8377

qiita-cli 内で確認

  • node のバージョンが18.12.0のためnodeがバージョン変更しないと不可能
  • typescriptは5.4.3のため問題なし
  • eslintは8.5.7のため問題なし
  • 後方互換性ヘルパーを削除について、getFilename にgrepした際に定義されていたが今回の件とは関係ないので問題なし

TODO

  • node のバージョンを18.18.0に上げる

kimkim0814 avatar Jul 31 '24 09:07 kimkim0814

@dependabot rebase

kimkim0814 avatar Jul 31 '24 09:07 kimkim0814

@dependabot rebase

kimkim0814 avatar Dec 04 '24 05:12 kimkim0814