diff options
author | Robert Speicher <robert@gitlab.com> | 2016-10-21 11:26:16 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-10-21 11:26:16 +0000 |
commit | cd2275ce9117e227be274effe34fec7347e8a11c (patch) | |
tree | e0ab33f54c320877496a69ff4895a8ada5c36299 | |
parent | 257789e9b79254e841e79ed91969f08647744cbc (diff) | |
parent | e9218c7e4e6c46d72d0860ba1107643a9f15f542 (diff) | |
download | gitlab-ce-cd2275ce9117e227be274effe34fec7347e8a11c.tar.gz |
Merge branch 'change-rubocop-to-2-1' into 'master'
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.
See merge request !6978
-rw-r--r-- | .rubocop.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index bec2464c740..13df3f99613 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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. |