-
Notifications
You must be signed in to change notification settings - Fork 401
simplify eslint flat config #1786
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
base: main
Are you sure you want to change the base?
Conversation
And enable the recommended lints in JS files again. Unclear why the lint triggers on this one import, though.
it's what allows understanding the exports field.
282b8dc
to
2889863
Compare
no idea why but it stopped complaining once the conversion to flat config was finished. something about import plugin got reconfigured.
only a single function from this non tree shakeable CJS dependency was needed.
2889863
to
12a138d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we remove @typescript-eslint/parser
and @eslint/compat
imports here, we can remove the dependencies from package.json too right?
|
Sorry for the delay. I think this is good to get merged once the conflicts are resolved |
And enable import lints on JS files again, not just TS files.
Also silence a lint by using a deep import from the CommonJS package
semver
. npm/node-semver#712 (comment)