.rubocop.yml in cron-kubernetes-1.1.0 vs .rubocop.yml in cron-kubernetes-2.0.0
- old
+ new
@@ -1,29 +1,31 @@
AllCops:
Exclude:
- "gemfiles/*"
+ SuggestExtensions: false
+ TargetRubyVersion: 2.7
Documentation:
Exclude:
- "**/railtie.rb"
- "spec/**/*"
Style/StringLiterals:
EnforcedStyle: double_quotes
-Metrics/LineLength:
+Layout/LineLength:
Max: 120
-Layout/AlignHash:
+Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Style/RaiseArgs:
EnforcedStyle: compact
Style/EmptyMethod:
EnforcedStyle: expanded
-Layout/IndentArray:
+Layout/FirstArrayElementIndentation:
IndentationWidth: 4
-Layout/IndentHash:
+Layout/FirstHashElementIndentation:
IndentationWidth: 4
Style/ConditionalAssignment:
EnforcedStyle: assign_inside_condition
Layout/FirstParameterIndentation:
IndentationWidth: 4