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

RFC: ESLint 9 Migration – Transitioning from JSON Config to config.js #6170

Open
3 tasks done
gkbishnoi07 opened this issue Mar 19, 2025 · 6 comments
Open
3 tasks done

Comments

@gkbishnoi07
Copy link
Contributor

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:.
@stdlib-bot
Copy link
Contributor

👋 Hi there! 👋

And thank you for opening your first issue! We will get back to you shortly. 🏃 💨

@gkbishnoi07
Copy link
Contributor Author

@kgryte @Planeshifter, could you please assign this issue to me? I would love to work on it!

@kgryte
Copy link
Member

kgryte commented Mar 19, 2025

We don't assign issues, but are happy to accept a PR.

@gkbishnoi07
Copy link
Contributor Author

We don't assign issues, but are happy to accept a PR.

Got it! Working on it

@sahilk45
Copy link
Contributor

sahilk45 commented Mar 22, 2025

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

@gkbishnoi07
Copy link
Contributor Author

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.

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

4 participants