.rubocop.yml in ga_events-1.4.1 vs .rubocop.yml in ga_events-2.0.0
- old
+ new
@@ -1,30 +1,25 @@
AllCops:
- TargetRubyVersion: 2.2
+ TargetRubyVersion: 2.3
Exclude:
- 'vendor/bundle/**/*'
DisplayCopNames: true
-Rails:
- Enabled: true
-Style/Encoding:
- EnforcedStyle: when_needed
- Enabled: true
Style/AsciiComments:
Enabled: false
Style/Documentation:
Enabled: false
Metrics/MethodLength:
Enabled: false
Style/MethodDefParentheses:
Enabled: false
-Style/MultilineOperationIndentation:
+Layout/MultilineOperationIndentation:
EnforcedStyle: aligned
-Style/MultilineMethodCallIndentation:
+Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
-Style/MultilineMethodDefinitionBraceLayout:
+Layout/MultilineMethodDefinitionBraceLayout:
Enabled: true
-Style/MultilineHashBraceLayout:
+Layout/MultilineHashBraceLayout:
Enabled: true
Style/SignalException:
Enabled: false
Metrics/ClassLength:
Enabled: false
@@ -35,6 +30,8 @@
Style/MultilineBlockChain:
Enabled: false
Style/CommentAnnotation:
Enabled: false
Style/GuardClause:
+ Enabled: false
+Metrics/BlockLength:
Enabled: false