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

Migrate to v9 of ESLint and flat config #35

Open
ixahmedxi opened this issue Apr 6, 2024 · 2 comments
Open

Migrate to v9 of ESLint and flat config #35

ixahmedxi opened this issue Apr 6, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ixahmedxi
Copy link
Owner

With the release of ESLint v9, we will need to move packages/config/eslint to flat config style configuration and also remove all .eslintrc.cjs files and replace them with the modern counterparts.

The only hurdle I see to this being successful is eslint-config-next but honestly I am tempted to remove it because a lot of the useful rules aren't even working anymore, and that way the react config can be both react in general specific so we don't have a next.js and a react specific eslint configs.

https://github.com/antfu/eslint-config should be a big inspiration for this migration, not the formatting with ESLint part because we use prettier for that but the code organisation and config of that package is absolute awesome and we should learn from this and implement our new version with this as the inspiration.

@ixahmedxi ixahmedxi added the enhancement New feature or request label Apr 6, 2024
@duttaoindril
Copy link

duttaoindril commented Apr 29, 2024

I'd say remove eslint-config-next

@ixahmedxi
Copy link
Owner Author

I will wait a bit of time until the ecosystem catches up, prioritising stability here.

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
Status: Backlog
Development

No branches or pull requests

2 participants