.rubocop.yml in reek-6.0.1 vs .rubocop.yml in reek-6.0.2
- old
+ new
@@ -7,10 +7,11 @@
AllCops:
Exclude:
- 'samples/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
+ NewCops: enable
TargetRubyVersion: 2.4
# Tables are nice
Layout/HashAlignment:
EnforcedColonStyle: table
@@ -55,10 +56,11 @@
Enabled: false
# Spec blocks can be any size
Metrics/BlockLength:
Exclude:
+ - '**/*.gemspec'
- 'spec/**/*'
# Keyword arguments make long parameter lists readable
Metrics/ParameterLists:
CountKeywordArgs: false
@@ -128,25 +130,5 @@
MinSize: 4
Metrics/ClassLength:
Exclude:
- 'lib/reek/cli/options.rb'
-
-# Activate new cops from RuboCop 0.80 - 0.83
-Lint/RaiseException:
- Enabled: true
-Lint/StructNewOverride:
- Enabled: true
-Layout/EmptyLinesAroundAttributeAccessor:
- Enabled: true
-Layout/SpaceAroundMethodCallOperator:
- Enabled: true
-Style/ExponentialNotation:
- Enabled: true
-Style/HashEachMethods:
- Enabled: true
-Style/HashTransformKeys:
- Enabled: true
-Style/HashTransformValues:
- Enabled: true
-Style/SlicingWithRange:
- Enabled: true