Skip to content

Commit 1ea6248

Browse files
authored
Merge pull request #16 from kaste/simplify
Remove unused flags
2 parents f136c6a + b1ed94e commit 1ea6248

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

linter.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,10 @@ class Htmlhint(NodeLinter):
2323

2424
"""Provides an interface to htmlhint."""
2525

26+
cmd = ('htmlhint', '--format', 'json', '--nocolor', 'stdin')
2627
defaults = {
2728
'selector': 'text.html'
2829
}
29-
cmd = ('htmlhint', '--format', 'json', '--nocolor', 'stdin')
30-
version_args = '--version'
31-
version_re = r'(?P<version>\d+\.\d+\.\d+)'
32-
version_requirement = '>= 0.9.13'
33-
# empty regex so plugin initializes properly
34-
regex = r''
35-
config_file = ('--config', '.htmlhintrc')
3630

3731
def find_errors(self, output):
3832
"""

0 commit comments

Comments
 (0)