-
Notifications
You must be signed in to change notification settings - Fork 51
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
ESM is unsupported #160
Comments
+1 for this 👀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I am trying to use flat configs through the use of #156; my problem right now is that I cannot use it in my configuration, as my eslint configuration is in an ESM library.
The problem that I am facing is that all files in
configs/
aren't transpiled and make use ofrequire
, which is not supported in ESM. Tools like tsup can shim these (kind of), but it makes the bundling a lot harder, as now multiple other - not directly referenced - files need to be included during bundling.Expected behavior
Use of eslint-config-storybook in ESM packages.
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: