From c7a3d85c83ef93acc64c0be16dcb1c9a7ded8d8c Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sun, 17 Sep 2017 19:48:22 +0200 Subject: [PATCH] Set TargetRubyVersion in .rubocop.yml [ci skip] closes #7621 --- .rubocop.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 57d22e083..896e50f7a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,4 +1,5 @@ AllCops: + TargetRubyVersion: 2.3 Exclude: - "bin/**/*" - "db/schema.rb" @@ -167,9 +168,3 @@ Style/NumericPredicate: # Reset some HoundCI changes back to Rubocop defaults Layout/DotPosition: EnforcedStyle: leading - -### backward compatibility - -# only with ruby >= 2.4 -Performance/RegexpMatch: - Enabled: false