-
Notifications
You must be signed in to change notification settings - Fork 14
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 config support #557
Comments
Hi, It is planned. I didn't had the time to work on LintHTML recently, but I am planning on restarting developments in January. |
I hope progress can be made on this. |
Hi, |
Hi, sorry it took longer than I thought to take this. |
Hey @KamiKillertO ! Thank you for all you do! What about trying the Node.js testruner? 🙂 |
I thought about it and might give it a try in the future. But for now I already spend too much time setting up things 😬 |
I have merged the ESM migration PR and I'll release a beta version soon |
Done. I have released |
Hey @KamiKillertO I tried the new version. A few things it would be nice to fix
I get an error, but I have it
but if I switch config back (to
|
For the first point. |
@what1s1ove I've just released |
Hey @KamiKillertO! I wanted to express my gratitude for all your hard work! I've just finished addressing all the comments. You can find the PR here if anyone wants to take a look. I have one more request for future consideration. Would it be possible to move the types back to |
@what1s1ove I've published an new version |
Hey @KamiKillertO ! Now it looks perfect! Thank you so much! |
Hey @KamiKillertO ! I think I found one more issue with the new version. After updating the NPM to a new version my
Here is my /** @type {import('@linthtml/linthtml').Config} */
let config = {
extends: `linthtml-config-htmlacademy`,
rules: {
'doctype-first': false,
},
}
export default config The linthtml-config-htmlacademy package has the https://github.com/what1s1ove/whatislove.dev/blob/main/apps/whatislove-dev/package.json#L13 You can try it in my repo to get more details:
UPD: I receive this error even if I install the |
@what1s1ove The problem here is that |
Thank you! I will contact the authors of |
Hello. I'm the author of |
It was fast! I just wanted to submit an issue in your repository 😁 |
As soon as linthtml updates its major version due to the switch to ESM, I will immediately update my package. |
Great news. |
@what1s1ove @nikolai-shabalin I've just publish a new version |
That's good news. Thank you |
Hey @KamiKillertO, all I have tested it and can confirm that everything works as expected! You can see this in this PR what1s1ove/whatislove.dev#537 (there are some other changes in it as well, as I fixed some linting errors). Thank you for your work! ❤️ |
Hello, everyone! Thanks for such a cool linter!
Is there any plan to support ESM in the near future (
linthtml.config.js
😍)? I have only a few of my favorite packages left that don't have ESM support (hopefully, their number will decrease, lol).The text was updated successfully, but these errors were encountered: