Skip to content

Commit 83cf912

Browse files
authored
Merge pull request #80 from oleg-vinted/feature/add_word_re
2 parents 0da6362 + 83a3a9c commit 83cf912

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Rubocop(RubyLinter):
3333
r'((?P<code>\w+/\w+): )?'
3434
r'(?P<message>.+)$'
3535
)
36+
word_re = r'^((@|@@|\$)?\w+[!?]?)'
3637

3738
def cmd(self):
3839
"""Build command, using STDIN if a file path can be determined."""

0 commit comments

Comments
 (0)