.rubocop.yml in git-branch--stray-1.8.0 vs .rubocop.yml in git-branch--stray-2.0.0
- old
+ new
@@ -1,34 +1,24 @@
-Layout/EmptyLinesAroundModuleBody:
- Enabled: false
+AllCops:
+ TargetRubyVersion: 2.6
+ NewCops: enable
+ Exclude:
+ - 'doc/*'
+ - 'tmp/*'
+ - 'pkg/*'
+
Layout/MultilineOperationIndentation:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/MethodLength:
Enabled: false
+Metrics/ModuleLength:
+ Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
-
-#
-# enable so-called "pending cops"
-# after "minor" RuboCop upgrades!
-#
-# https://docs.rubocop.org/en/latest/versioning/#pending-cops
-#
-
-Style/HashEachMethods:
- Enabled: true
-Style/HashTransformKeys:
- Enabled: true
-Style/HashTransformValues:
- Enabled: true
-Lint/RaiseException:
- Enabled: true
-Lint/StructNewOverride:
- Enabled: true