diff --git a/linter.py b/linter.py index e4f9cb5..bde4922 100644 --- a/linter.py +++ b/linter.py @@ -33,6 +33,7 @@ class Rubocop(RubyLinter): r'((?P\w+/\w+): )?' r'(?P.+)$' ) + word_re = r'^((@|@@|\$)?\w+[!?]?)' def cmd(self): """Build command, using STDIN if a file path can be determined."""