Skip to content

Commit

Permalink
use defaults.selector over syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Sep 18, 2018
1 parent 45838b5 commit 64970ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ class Brew(Linter):
"""Provides an interface to the Brew executable."""

cmd = ('brew', 'audit', '--strict', '--display-filename', '${file}')
syntax = 'ruby'
defaults = {
'selector': 'source.ruby'
}
regex = (
r'^(?P<file>.+): \* C: (?P<line>\d+): col (?P<col>\d+): (?P<message>.+)$'
)
Expand Down

0 comments on commit 64970ed

Please sign in to comment.