.rubocop.yml in url_canonicalize-0.2.0 vs .rubocop.yml in url_canonicalize-0.2.1
- old
+ new
@@ -1,38 +1,39 @@
---
AllCops:
DisplayStyleGuide: true
DisplayCopNames: true
- TargetRubyVersion: 2.2
- Exclude:
- - '*.gemspec'
- - spec/**/*
+ TargetRubyVersion: 2.6
+ NewCops: enable
-
Layout/DotPosition:
Description: 'Checks the position of the dot in multi-line method calls.'
EnforcedStyle: leading
Enabled: true
Layout/ExtraSpacing:
Description: 'Do not use unnecessary spacing.'
Enabled: true
+Layout/LineLength:
+ Max: 120
+ Exclude:
+ - spec/**/*
+
Lint/LiteralInInterpolation:
Description: 'Avoid interpolating literals in strings'
AutoCorrect: true
+Metrics/BlockLength:
+ Exclude:
+ - spec/**/*
+
Metrics/ClassLength:
CountComments: false # count full line comments?
Max: 200
Metrics/MethodLength:
Max: 12
-
-Metrics/LineLength:
- Max: 120
- Exclude:
- - spec/**/*
Naming/FileName:
Description: 'Use snake_case for source file names.'
Enabled: true