Skip to content

Commit

Permalink
Merge pull request #16 from kaste/simplify
Browse files Browse the repository at this point in the history
Remove unused flags
  • Loading branch information
mmaday authored Nov 24, 2019
2 parents f136c6a + b1ed94e commit 1ea6248
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,10 @@ class Htmlhint(NodeLinter):

"""Provides an interface to htmlhint."""

cmd = ('htmlhint', '--format', 'json', '--nocolor', 'stdin')
defaults = {
'selector': 'text.html'
}
cmd = ('htmlhint', '--format', 'json', '--nocolor', 'stdin')
version_args = '--version'
version_re = r'(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 0.9.13'
# empty regex so plugin initializes properly
regex = r''
config_file = ('--config', '.htmlhintrc')

def find_errors(self, output):
"""
Expand Down

0 comments on commit 1ea6248

Please sign in to comment.