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

Release with new ESLint types? #3133

Open
djahandarie opened this issue Dec 28, 2024 · 2 comments
Open

Release with new ESLint types? #3133

djahandarie opened this issue Dec 28, 2024 · 2 comments

Comments

@djahandarie
Copy link

Hiya, like many projects my project is upgrading to the new flat eslint config format. Unfortunately the eslint.config.js doesn't type check properly currently:

Module '"/home/darius/yomitan/node_modules/eslint-plugin-import/lib/index"' has no default export.ts(1192)

I believe the types added around two months ago here 9d1f639 should solve this issue.

Is there any chance we could get a new release with that included? I think probably a lot of mixed javascript / typescript projects will face this issue.

@michaelfaith
Copy link
Contributor

Can you try importing with * as (e.g. import * as importPlugin from 'eslint-plugin-import')

@ljharb
Copy link
Member

ljharb commented Dec 28, 2024

That commit indeed isn't released yet. there's a number of open PRs i'm hoping to get into it, but I'll try to cut one in the next couple days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants