Skip to content

Commit 0314d75

Browse files
committed
Added rspec syntax.
1 parent 8f5933e commit 0314d75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Ruby(RubyLinter):
1717

1818
"""Provides an interface to ruby -wc."""
1919

20-
syntax = ('ruby', 'ruby on rails')
20+
syntax = ('ruby', 'ruby on rails', 'rspec')
2121
cmd = 'ruby -wc'
2222
regex = (
2323
r'^.+?:(?P<line>\d+): (?:(?P<error>.*?error)|(?P<warning>warning))[,:] (?P<message>[^\r\n]+)\r?\n'

0 commit comments

Comments
 (0)