We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b05e32 commit 55a7c25Copy full SHA for 55a7c25
linter.py
@@ -17,12 +17,11 @@ class Ruby(RubyLinter):
17
18
"""Provides an interface to ruby -wc."""
19
20
- syntax = ('ruby', 'ruby on rails', 'rspec', 'html (rails)')
+ syntax = ('ruby', 'ruby on rails', 'rspec')
21
cmd = 'ruby -wc'
22
regex = (
23
r'^.+?:(?P<line>\d+): (?:(?P<error>.*?error)|(?P<warning>warning))[,:] (?P<message>[^\r\n]+)\r?\n'
24
r'(?:^[^\r\n]+\r?\n^(?P<col>.*?)\^)?'
25
)
26
multiline = True
27
- selectors = {'html (rails)': 'source.ruby.rails.embedded.html'}
28
comment_re = r'\s*#'
0 commit comments