config/default.yml in rubocop-rspec-1.13.0 vs config/default.yml in rubocop-rspec-1.14.0
- old
+ new
@@ -40,15 +40,27 @@
RSpec/DescribeMethod:
Description: Checks that the second argument to `describe` specifies a method.
Enabled: true
+RSpec/IteratedExpectation:
+ Description: Check that `all` matcher is used instead of iterating over an array.
+ Enabled: true
+
RSpec/EmptyExampleGroup:
Description: Checks if an example group does not include any tests.
Enabled: true
CustomIncludeMethods: []
+RSpec/EmptyLineAfterFinalLet:
+ Description: Checks if there is an empty line after the last let block.
+ Enabled: true
+
+RSpec/EmptyLineAfterSubject:
+ Description: Checks if there is an empty line after subject block.
+ Enabled: true
+
RSpec/ExampleLength:
Description: Checks for long examples.
Enabled: true
Max: 5
@@ -169,10 +181,14 @@
SupportedStyles:
- not_to
- to_not
Enabled: true
+RSpec/OverwritingSetup:
+ Enabled: true
+ Description: Checks if there is a let/subject that overwrites an existing one.
+
RSpec/RepeatedDescription:
Enabled: true
Description: Check for repeated description strings in example groups.
RSpec/RepeatedExample:
@@ -183,9 +199,13 @@
Description: Checks for proper shared_context and shared_examples usage.
Enabled: true
RSpec/SingleArgumentMessageChain:
Description: Checks that chains of messages contain more than one element.
+ Enabled: true
+
+RSpec/ScatteredLet:
+ Description: Checks for let scattered across the example group.
Enabled: true
RSpec/ScatteredSetup:
Description: Checks for setup scattered across multiple hooks in an example group.
Enabled: true