html-eslint icon indicating copy to clipboard operation
html-eslint copied to clipboard

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

Open gian1200 opened this issue 3 years ago • 1 comments

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)

gian1200 avatar Aug 08 '22 14:08 gian1200

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

yeonjuan avatar Aug 09 '22 14:08 yeonjuan