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

[Feature] Support ESLint v9 #2

Open
theoludwig opened this issue Apr 28, 2024 · 3 comments
Open

[Feature] Support ESLint v9 #2

theoludwig opened this issue Apr 28, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@theoludwig
Copy link
Owner

Reference: https://eslint.org/blog/2024/04/eslint-v9.0.0-released/

@theoludwig theoludwig added the enhancement New feature or request label Apr 28, 2024
@theoludwig theoludwig self-assigned this Apr 28, 2024
@Walidoux
Copy link

Walidoux commented May 6, 2024

This might be handy for you as I had stumbled upon your config:

Also this comment is subject to change

  • no-new-symbol deprecated and replaced by no-new-native-nonconstructor
  • no-confusing-arrow deprecated in ESLint v8.53.0
  • no-mixed-operators deprecated in ESLint v8.53.0
  • quote-props deprecated in ESLint v8.53.0

Out of context of this issue, we might want to remove { "allowKeywords": true } for dot-notation because by default it is set to true, same for enforceForSwitchCase option key inside use-isnan, newIsCap option key inside new-cap, allowSamePrecedence option key inside no-mixed-operators

Again out of context, we might want to add enforceForJSX to true in no-unused-expressions

@Walidoux
Copy link

Yesterday, I started migrating from v8.5.6 to v9.2.0 in another project, and it was a burden because of how much the Eslint's server, I guess, is no synced with the VSCode extension's version. I had to install the pre-release version, and yet I ran onto issues where .eslintrc files couldn't be found because Eslint has switched to flat configs: eslint.config.js, and this is where I realized that this wouldn't be possible, at least for for now, because a lot of plugins that currently use do not support the latest version of Eslint.
I think we just have to wait for merge PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants