.rubocop.yml in nutrella-1.5.2 vs .rubocop.yml in nutrella-1.5.3
- old
+ new
@@ -1,33 +1,29 @@
require:
+ - rubocop-rake
- rubocop-rspec
AllCops:
- TargetRubyVersion: 2.5
+ NewCops: enable
+ TargetRubyVersion: 2.6
Exclude:
- 'bin/**/*'
# Rubocop and I cannot agree.
Layout/MultilineMethodCallBraceLayout:
Enabled: false
-Layout/SpaceAroundMethodCallOperator:
- Enabled: true
-
-Lint/RaiseException:
- Enabled: true
-
-Lint/StructNewOverride:
- Enabled: true
-
Metrics/BlockLength:
Enabled: false
Naming/MemoizedInstanceVariableName:
EnforcedStyleForLeadingUnderscores: required
+Rake/Desc:
+ Enabled: false
+
RSpec/AnyInstance:
Enabled: false
RSpec/ExampleLength:
Max: 15
@@ -60,24 +56,12 @@
Enabled: true
EnforcedStyle: line_count_based
BracesRequiredMethods:
- 'let'
-Style/ExponentialNotation:
- Enabled: true
-
# We can ignore this small performance improvement.
Style/FrozenStringLiteralComment:
Enabled: false
-
-Style/HashEachMethods:
- Enabled: true
-
-Style/HashTransformKeys:
- Enabled: true
-
-Style/HashTransformValues:
- Enabled: true
# We like to use the hash rocket in rake files.
Style/HashSyntax:
Exclude:
- 'Rakefile'