-
Notifications
You must be signed in to change notification settings - Fork 4
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
[WIP] chore(config): migrate to new eslint config #441
base: main
Are you sure you want to change the base?
Conversation
4203f2a
to
9343427
Compare
@skjnldsv I pushed some commits fixing the config, it is now possible to use it for linting. I think the problem was that eslint must be setup to support esm, but it was set to ES6 (min. 2017 is required, for some options even ES2020). |
lint is failing :) |
This would be a breaking change @susnux @raimund-schluessler ? |
1124cc2
to
2314760
Compare
Hm, it feels like yes, but as we already require an eslint version that supports flat configs this should not break any packages that works with the current release. |
New ESLint with flat config was released 🎉 Just waiting for this blocker: typescript-eslint/typescript-eslint#8211 |
Signed-off-by: John Molakvoæ <[email protected]>
… `module` or `exports` Signed-off-by: Ferdinand Thiessen <[email protected]>
… using es2020+ Signed-off-by: Ferdinand Thiessen <[email protected]>
…lled Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
2314760
to
2375241
Compare
@susnux typescript-eslint/typescript-eslint#8211 is no longer blocking |
@tcitworld lets see if vuejs/eslint-config-typescript#76 is a blocker. |
merged as well. |
Current blocker: standard/eslint-config-standard#412 (and standard/eslint-config-standard#427 ). Easiest: We decide for this RFC, then we can simply drop that all. Or we stick with ESLint as also a formatter and either wait or go with eslint-stylistic |
I'm kinda stuck. Anyone feel free to help
Currently struggling with the plugins and the extends.
Seems we could help ourselves from https://eslint.org/blog/2022/08/new-config-system-part-2/#backwards-compatibility-utility
Refs: