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

[require-doctype] should ignore when there is no html tag #153

Closed
yeonjuan opened this issue Oct 30, 2023 · 0 comments · Fixed by #154
Closed

[require-doctype] should ignore when there is no html tag #153

yeonjuan opened this issue Oct 30, 2023 · 0 comments · Fixed by #154

Comments

@yeonjuan
Copy link
Owner

For use in templates, this rule should not generate an error if <html> <html> is not present.

  • AS-IS
// error "Missing `<!DOCTYPE HTML>`"
<div>

</div>
  • TO-BE
// no-error
<div>

</div>
@yeonjuan yeonjuan changed the title [require-doctype] Support template usage [require-doctype] should ignore when there is no html tag Oct 31, 2023
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

Successfully merging a pull request may close this issue.

1 participant