The plugin currently complains if a file has opening <html> and <body> tags but no closing tags. When using this plugin in WordPress and PHP templates (which works mostly great), it is common to place these tags in separate files. It would be helpful to disable the ending tag validation to prevent the following error messages:
[error] footer.php: SyntaxError: Unexpected closing tag "body". It may happen when the tag has already been closed by another tag.
Suggested Solution
Add a setting to disable the closing tag validation.
Description
The plugin currently complains if a file has opening
<html>
and<body>
tags but no closing tags. When using this plugin in WordPress and PHP templates (which works mostly great), it is common to place these tags in separate files. It would be helpful to disable the ending tag validation to prevent the following error messages:Suggested Solution
Add a setting to disable the closing tag validation.
Alternatives
No response
Additional Context
No response