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

Include "espree" dependency in package.json #271

Closed
DEVTomatoCake opened this issue May 11, 2024 · 2 comments
Closed

Include "espree" dependency in package.json #271

DEVTomatoCake opened this issue May 11, 2024 · 2 comments

Comments

@DEVTomatoCake
Copy link

espree is required by this package (at least when using the flat config, according to the file name), but not included as dependency directly. This can cause errors if espree is not installed from other packages already.

parser: require("espree"),

This issue apparently occurred after updating eslint-plugin-html to v53, and doesn't occur on v52. I'm unable to reproduce this locally, however as espree is directly used in this package it always should be included in the package.json.

@BenoitZugmeyer
Copy link
Owner

Thank you for the headsup. The goal was not to depend on espree directly, but use the default eslint parser to lint the JS files. It should be fixed on main, I'll do a release someday.

@BenoitZugmeyer
Copy link
Owner

It's released!

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

No branches or pull requests

2 participants