Skip to content

Commit b3b0cf7

Browse files
committed
Better syntax_map by default, only need 'html' syntax.
1 parent 5874b79 commit b3b0cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class HtmlTidy(Linter):
1717

1818
"""Provides an interface to tidy."""
1919

20-
syntax = ('html', 'html 5')
20+
syntax = 'html'
2121
cmd = 'tidy -errors -quiet -utf8'
2222
regex = r'^line (?P<line>\d+) column (?P<col>\d+) - (?:(?P<error>Error)|(?P<warning>Warning)): (?P<message>.+)'
2323
error_stream = util.STREAM_STDERR

0 commit comments

Comments
 (0)