.rubocop.yml in slack_resources-0.1.3 vs .rubocop.yml in slack_resources-0.1.4
- old
+ new
@@ -1,9 +1,11 @@
AllCops:
TargetRubyVersion: 2.5
Exclude:
- tmp
+ - lib/slack_resources/generator/event_api/fetch.rb
+ - vendor/**/*
Rails:
Enabled: true
Documentation:
@@ -25,19 +27,19 @@
Max: 30
Exclude:
- 'spec/**/*'
Metrics/MethodLength:
- Max: 40
+ Max: 200
Exclude:
- db/migrate/*.rb
Metrics/ModuleLength:
Max: 150
Metrics/ClassLength:
- Max: 150
+ Max: 300
Exclude:
- db/migrate/*.rb
Style/AsciiComments:
Enabled: false
@@ -92,5 +94,11 @@
Naming/UncommunicativeMethodParamName:
MinNameLength: 1
Layout/IndentArray:
EnforcedStyle: consistent
+
+Metrics/ParameterLists:
+ Max: 20
+
+Style/RescueModifier:
+ Enabled: false