RFC: ESLint 9 Migration – Transitioning from JSON Config to config.js
gkbishnoi07 opened this issue · 6 comments
Description
Summary
This RFC proposes migrating the ESLint configuration from the deprecated .eslintrc.* format to the new eslint.config.js format introduced in ESLint 9. Additionally, it outlines handling the removal of .eslintignore in favor of the ignores property inside the configuration file.
Expected Outcomes
- Successful Migration to eslint.config.js – Ensures compatibility with ESLint 9.
- Removal of Deprecated Configurations – .eslintrc.* and .eslintignore are replaced with eslint.config.js.
- Consistent and Maintainable Linting Rules – The same linting standards are preserved.
Related Issues
No response
Questions
No.
Other
No.
Checklist
- I have read and understood the Code of Conduct.
- Searched for existing issues and pull requests.
- The issue name begins with
RFC:.
👋 Hi there! 👋
And thank you for opening your first issue! We will get back to you shortly. 🏃 💨
@kgryte @Planeshifter, could you please assign this issue to me? I would love to work on it!
We don't assign issues, but are happy to accept a PR.
We don't assign issues, but are happy to accept a PR.
Got it! Working on it
Hey @kgryte,
I have created eslint.config.js file and working for changes according to .eslintrc.*
But I'm not sure how to properly migrate the existing configuration to match the project's coding standards and linting requirements.
Also, Whether I should maintain the current ESLint version or migrate to v9.
Could you please provide guidance on this.
Thank you for help!
SAHIL KUMAR
Hey @sahilk45, I'm already working on it. I've migrated the basic things and am working on the remaining parts. I'll migrate ESLint to v9 soon and raise the PR shortly.