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

[Feature request] HTML support in Flat config #309

Closed
LatenPath opened this issue Jan 16, 2024 · 2 comments
Closed

[Feature request] HTML support in Flat config #309

LatenPath opened this issue Jan 16, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@LatenPath
Copy link

Is your feature request related to a problem? Please describe.
Currently, the plugin not supported flat config.

Describe the solution you'd like
I want to use it not only for js/ts file, but also for html file with flat config.

Additional context
This is my flat config look like:
image

And Compat solution made plugin work with js file:
image

But I want it also work in HTML file:
image

I try import the parser like in document:
image
image

But it throw the error:
image

Please help me 😢

@LatenPath LatenPath added the enhancement New feature or request label Jan 16, 2024
@mcfarljw
Copy link

mcfarljw commented Feb 1, 2024

You can find a workaround here #280.

@LatenPath
Copy link
Author

I can't solve my issue with Compat solution. I will wait for Flat config support in future.

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
None yet
Development

No branches or pull requests

2 participants