Change target Ruby version for Rubocop to 2.1.

We have to use the lowest common denominator to check the supported syntax
and in our case it is Ruby 2.1.
Please note that it will not help with unsupported syntax in HAML files
because they are not checked by Rubocop.
This commit is contained in:
Adam Niedzielski 2016-10-19 10:04:05 +02:00
parent 2510345ee5
commit e9218c7e4e
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ require:
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.3
TargetRubyVersion: 2.1
# Cop names are not d§splayed in offense messages by default. Change behavior
# by overriding DisplayCopNames, or by giving the -D/--display-cop-names
# option.