Skip to content

Commit

Permalink
Merge pull request #15 from frothedoatmilk/master
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste authored Feb 29, 2024
2 parents 4695eaa + 6da601d commit 781f859
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
class HamlLint(RubyLinter):
"""Provides an interface to haml-lint."""

cmd = 'haml-lint ${args} ${temp_file}'
cmd = 'haml-lint ${args} --stdin ${file}'
regex = r'^.+?:(?P<line>\d+) \[(:?(?P<warning>W)|(?P<error>E))\] (?P<message>.+)'
tempfile_suffix = 'haml'

defaults = {
'selector': 'text.haml'
Expand Down

0 comments on commit 781f859

Please sign in to comment.