.rubocop.yml in nutrella-1.4.0 vs .rubocop.yml in nutrella-1.5.0
- old
+ new
@@ -1,7 +1,6 @@
require:
- - rubocop-performance
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.5
@@ -10,13 +9,25 @@
# 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
+
RSpec/AnyInstance:
Enabled: false
RSpec/ExampleLength:
Max: 15
@@ -42,9 +53,18 @@
RSpec/MultipleExpectations:
Max: 3
RSpec/SubjectStub:
Enabled: false
+
+Style/BlockDelimiters:
+ Enabled: true
+ EnforcedStyle: line_count_based
+ BracesRequiredMethods:
+ - 'let'
+
+Style/ExponentialNotation:
+ Enabled: true
# We can ignore this small performance improvement.
Style/FrozenStringLiteralComment:
Enabled: false