Skip to content

Commit

Permalink
Merge pull request #2 from thuandt/hadolint-1.2.1-fix
Browse files Browse the repository at this point in the history
[FIX] Problem with version 1.2.x and add ignore settings
  • Loading branch information
niksite authored Sep 27, 2016
2 parents 99d29fd + a6f7915 commit 1c9ce41
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,21 @@ class Hadolint(Linter):
"""Provides an interface to hadolint."""

syntax = 'dockerfile'
cmd = 'hadolint -i'
cmd = 'hadolint'
executable = None
version_args = '-v'
version_re = r'Haskell Dockerfile Linter v(?P<version>\d+\.\d+)'
version_requirement = '>= 0.1'
regex = r'L(?P<line>\d+) (?P<message>.+)'
regex = r'(.+)\:(?P<line>[^\s]+) (?P<message>.+)'
multiline = False
line_col_base = (1, 1)
tempfile_suffix = None
tempfile_suffix = '-'
error_stream = util.STREAM_BOTH
selectors = {}
word_re = None
defaults = {}
inline_settings = None
defaults = {
'--ignore:,+': ''
}
inline_settings = ('ignore')
inline_overrides = None
comment_re = None

0 comments on commit 1c9ce41

Please # to comment.