.rubocop.yml in ffi-gdal-extensions-0.1.1 vs .rubocop.yml in ffi-gdal-extensions-0.1.2
- old
+ new
@@ -1,35 +1,27 @@
+---
+require:
+ - rubocop-performance
+
Metrics/ClassLength:
Max: 300
Metrics/LineLength:
Max: 120
Metrics/MethodLength:
Max: 20
-Style/AlignParameters:
- EnforcedStyle: with_fixed_indentation
-
Style/Documentation:
Enabled: false
-Style/DotPosition:
- EnforcedStyle: trailing
-
Style/DoubleNegation:
Enabled: false
Style/FormatString:
EnforcedStyle: percent
-Style/PercentLiteralDelimiters:
- PreferredDelimiters:
- '%i': '[]'
- '%w': '[]'
- '%W': '[]'
-
Style/PredicateName:
Exclude:
# Bindata has problems with srid? since srid is a parsed attribute. #z? and
# m? could get around this but it seemed more important to keep the API
# consistent.
@@ -40,10 +32,11 @@
Enabled: true
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
+ NewCops: enable
Include:
- Gemfile
Exclude:
- vendor/bundle/**/*
- TargetRubyVersion: 2.2
+ TargetRubyVersion: 2.6