mirror of
https://github.com/sstent/sublime-text-3.git
synced 2026-01-25 22:51:41 +00:00
7 lines
203 B
Python
7 lines
203 B
Python
from lint import Linter
|
|
|
|
class HTML(Linter):
|
|
language = 'html'
|
|
cmd = ('tidy', '-q', '-e', '-utf8')
|
|
regex = r'^line (?P<line>\d+) column (?P<col>\d+) - (Warning|Error)?\s*:?\s*(?P<error>.+)$'
|