Skip to content

Commit b1ed94e

Browse files
committed
Remove unused flags
- `version_*` are unused - `config-*` are unused - `regex` should not be changed for JSON reporters
1 parent 78c5f89 commit b1ed94e

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
@@ -18,16 +18,10 @@ class Htmlhint(NodeLinter):
1818

1919
"""Provides an interface to htmlhint."""
2020

21+
cmd = ('htmlhint', '--format', 'json', '--nocolor', 'stdin')
2122
defaults = {
2223
'selector': 'text.html'
2324
}
24-
cmd = ('htmlhint', '--format', 'json', '--nocolor', 'stdin')
25-
version_args = '--version'
26-
version_re = r'(?P<version>\d+\.\d+\.\d+)'
27-
version_requirement = '>= 0.9.13'
28-
# empty regex so plugin initializes properly
29-
regex = r''
30-
config_file = ('--config', '.htmlhintrc')
3125

3226
def find_errors(self, output):
3327
"""

0 commit comments

Comments
 (0)