Skip to content

Commit

Permalink
Disallow - in names
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-vinted committed Oct 8, 2024
1 parent 950cfd2 commit 83a3a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Rubocop(RubyLinter):
r'((?P<code>\w+/\w+): )?'
r'(?P<message>.+)$'
)
word_re = r'^((@|@@|\$)?[-\w]+[!?]?)'
word_re = r'^((@|@@|\$)?\w+[!?]?)'

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

0 comments on commit 83a3a9c

Please sign in to comment.