Set TargetRubyVersion in .rubocop.yml [ci skip]

closes #7621
This commit is contained in:
Benjamin Neff 2017-09-17 19:48:22 +02:00
parent d3d66f30c3
commit c7a3d85c83
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -1,4 +1,5 @@
AllCops: AllCops:
TargetRubyVersion: 2.3
Exclude: Exclude:
- "bin/**/*" - "bin/**/*"
- "db/schema.rb" - "db/schema.rb"
@ -167,9 +168,3 @@ Style/NumericPredicate:
# Reset some HoundCI changes back to Rubocop defaults # Reset some HoundCI changes back to Rubocop defaults
Layout/DotPosition: Layout/DotPosition:
EnforcedStyle: leading EnforcedStyle: leading
### backward compatibility
# only with ruby >= 2.4
Performance/RegexpMatch:
Enabled: false