config/rubocop.yml in meowcop-1.1.0 vs config/rubocop.yml in meowcop-1.2.0
- old
+ new
@@ -30,10 +30,19 @@
Metrics/AbcSize:
Max: 50
# Use the default setting
Metrics/BlockNesting:
Enabled: true
+Metrics/BlockLength:
+ Max: 30
+ Exclude:
+ # RuboCop's default
+ - 'Rakefile'
+ - '**/*.rake'
+ - 'spec/**/*.rb'
+ # In many cases, config/routes.rb has very long block
+ - 'config/routes.rb'
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 10
Metrics/LineLength:
@@ -54,10 +63,12 @@
Performance/RedundantBlockCall:
Enabled: false
Rails/Delegate:
Enabled: false
+Rails/HttpPositionalArguments:
+ Enabled: false
Rails/Output:
Enabled: false
Rails/OutputSafety:
Enabled: false
Rails/PluralizationGrammar:
@@ -224,9 +235,11 @@
Style/MultilineBlockLayout:
Enabled: false
Style/MultilineHashBraceLayout:
Enabled: false
Style/MultilineIfThen:
+ Enabled: false
+Style/MultilineMemoization:
Enabled: false
Style/MultilineMethodCallBraceLayout:
Enabled: false
Style/MultilineMethodCallIndentation:
Enabled: false