Closed LatenPath closed 8 months ago
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.
js/ts
html
flat config
Additional context This is my flat config look like:
And Compat solution made plugin work with js file:
Compat
js
But I want it also work in HTML file:
HTML
I try import the parser like in document:
parser
But it throw the error:
Please help me 😢
You can find a workaround here https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/280.
I can't solve my issue with Compat solution. I will wait for Flat config support in future.
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 forhtml
file withflat config
.Additional context This is my
flat config
look like:And
Compat
solution made plugin work withjs
file:But I want it also work in
HTML
file:I try import the
parser
like in document:But it throw the error:
Please help me 😢