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

upgrade eslint to v9 #34

Open
1 task done
ren-yamanashi opened this issue Nov 11, 2024 · 0 comments
Open
1 task done

upgrade eslint to v9 #34

ren-yamanashi opened this issue Nov 11, 2024 · 0 comments

Comments

@ren-yamanashi
Copy link

ren-yamanashi commented Nov 11, 2024

Overview

The current version of eslint is v8, but it seems to have already passed EOL.
see: https://eslint.org/blog/2024/09/eslint-v8-eol-version-support/

Therefore, I suggest updating eslint to v9.

Notes

In eslint v9, the default writing method will be flatConfig, so one of the following modifications will be necessary.

  1. Rewrite the current config to flatConfig

  2. Set the environment variable (ESLINT_USE_FLAT_CONFIG=false) to continue using the config.
    (see: https://eslint.org/docs/latest/use/configure/migration-guide#start-using-flat-config-files)

In v10, environment variables will also be removed, so in the long term, I think it would be better to rewrite it to flatConfig.
see: https://eslint.org/blog/2023/10/flat-config-rollout-plans/#eslintrc-removed-in-eslint-v10.0.0

Acknowledgements

  • I may be able to implement this issue
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

No branches or pull requests

1 participant