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

[indent] - Feature request - Allow HTML, HEAD and BODY to be on same level #101

Open
gian1200 opened this issue Aug 8, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@gian1200
Copy link

gian1200 commented Aug 8, 2022

Is it possible to add a configuration to optionally allow this scenario?

Some of the projects where I'm advocting to implement "@html-eslint" use this format.

<!DOCTYPE html>
<html lang="es">

<head>
	...
</head>

<body>
	...
</body>

</html>

Current message:

  • Expected indentation of 2 tab but found 1 tab. eslint(@html-eslint/indent)
@yeonjuan
Copy link
Owner

yeonjuan commented Aug 9, 2022

Hi @gian1200 :) thanks for the suggestion. I think we can add options on @html-eslint/indent.

@yeonjuan yeonjuan added the enhancement New feature or request label Aug 9, 2022
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