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