.rubocop.yml in mrkt-1.1.0 vs .rubocop.yml in mrkt-1.1.1
- old
+ new
@@ -1,37 +1,28 @@
+require: rubocop-rake
+
AllCops:
TargetRubyVersion: 2.5
Exclude:
- 'bin/**/*'
- 'vendor/**/*'
+ NewCops: enable
-Layout/EmptyLinesAroundAttributeAccessor:
- Enabled: true
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/FirstHashElementIndentation:
Enabled: false
Layout/HashAlignment:
Enabled: false
Layout/LineLength:
Max: 128
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
-Layout/SpaceAroundMethodCallOperator:
- Enabled: true
-Lint/DeprecatedOpenSSLConstant:
- Enabled: true
-Lint/MixedRegexpCaptureTypes:
- Enabled: true
-Lint/RaiseException:
- Enabled: true
-Lint/StructNewOverride:
- Enabled: true
-
Metrics/AbcSize:
- Max: 17
+ Exclude:
+ - 'lib/mrkt/concerns/connection.rb'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Metrics/MethodLength:
Max: 20
@@ -39,33 +30,11 @@
Max: 6
Naming/AccessorMethodName:
Enabled: false
-Style/AccessorGrouping:
- Enabled: true
-Style/BisectedAttrAccessor:
- Enabled: true
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
-Style/ExponentialNotation:
- Enabled: true
Style/FrozenStringLiteralComment:
Enabled: false
-Style/HashEachMethods:
- Enabled: true
-Style/HashTransformKeys:
- Enabled: true
-Style/HashTransformValues:
- Enabled: true
-Style/RedundantAssignment:
- Enabled: true
-Style/RedundantFetchBlock:
- Enabled: true
-Style/RedundantRegexpCharacterClass:
- Enabled: true
-Style/RedundantRegexpEscape:
- Enabled: true
-Style/SlicingWithRange:
- Enabled: true