We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d1eeae commit 696b8f4Copy full SHA for 696b8f4
1 file changed
linter.py
@@ -17,7 +17,7 @@ class Ruby(RubyLinter):
17
18
"""Provides an interface to ruby -wc."""
19
20
- syntax = 'ruby'
+ syntax = ('ruby', 'ruby on rails')
21
cmd = 'ruby -wc'
22
regex = (
23
r'^.+?:(?P<line>\d+): (?:(?P<error>.*?error)|(?P<warning>warning))[,:] (?P<message>[^\r\n]+)\r?\n'
0 commit comments