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

ESLint 9 migration #35

Closed
devtobi opened this issue Jul 17, 2024 · 3 comments · Fixed by #424
Closed

ESLint 9 migration #35

devtobi opened this issue Jul 17, 2024 · 3 comments · Fixed by #424
Assignees
Labels
Priority: High The issue contains work with high priority. Template: Frontend Issues regarding the frontend template. Template: Webcomponent Issues regarding the webcomponent template. Type: Maintenance The issue contains maintenance work.

Comments

@devtobi
Copy link
Member

devtobi commented Jul 17, 2024

ESLint 9 introduced the flat config format. The old configuration format is deprecated and thus eslintrc and eslintignore file need to be removed. FlatCompat allows for backwards compatibility with incompatible ESLint plugins not optimized for ESLint 9 yet.
See devtobi/cv#129 for an example.

@devtobi devtobi added Template: Frontend Issues regarding the frontend template. Template: Webcomponent Issues regarding the webcomponent template. Status: Accepted Type: Maintenance The issue contains maintenance work. Priority: High The issue contains work with high priority. labels Jul 17, 2024
@devtobi devtobi moved this from Open to Accepted in it@M RefArch Templates Jul 24, 2024
@devtobi
Copy link
Member Author

devtobi commented Aug 28, 2024

As stated on the homepage of ESLint:

ESLint v8.x end-of-life is 2024-10-05 and will not be maintained after that. Upgrade or consider long-term support options

@devtobi devtobi self-assigned this Aug 30, 2024
@devtobi
Copy link
Member Author

devtobi commented Sep 10, 2024

See vuejs/eslint-config-typescript#76 (comment) for an example.

@devtobi
Copy link
Member Author

devtobi commented Oct 2, 2024

Good news. ;)

FlatCompat might no longer be needed in near future, because the last two ESLint 9 incompatible versions just got RC releases with FlatConfig support. See

We should delay our migration to ESLint 9 until new stable versions of those dependencies are available.
Alternative would be to do the migration now and bump to the RC versions. We could then bump to stable versions afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High The issue contains work with high priority. Template: Frontend Issues regarding the frontend template. Template: Webcomponent Issues regarding the webcomponent template. Type: Maintenance The issue contains maintenance work.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant