.rubocop.yml in rspec-block_is_expected-1.0.2 vs .rubocop.yml in rspec-block_is_expected-1.0.3
- old
+ new
@@ -1,23 +1,36 @@
+inherit_from:
+ - .rubocop_todo.yml
+ - lib/rspec/block_is_expected/rubocop.yml
+
+require:
+ - rubocop-lts
+ - rubocop-md
+ - rubocop-rake
+ - rubocop-rspec
+
+inherit_gem:
+ rubocop-lts: rubocop-lts.yml
+
AllCops:
DisplayCopNames: true # Display the name of the failing cops
Exclude:
- 'gemfiles/vendor/**/*'
- 'vendor/**/*'
Metrics/BlockLength:
- ExcludedMethods:
+ AllowedMethods:
- context
- describe
- it
- shared_context
- shared_examples
- shared_examples_for
- namespace
- draw
-Metrics/LineLength:
+Layout/LineLength:
Enabled: false
Style/HashSyntax:
EnforcedStyle: hash_rockets
@@ -30,6 +43,9 @@
Style/SymbolArray:
Enabled: false
# Enable when drop support for Ruby < 2
Style/ExpandPathArguments:
+ Enabled: false
+
+RSpec/FactoryBot/CreateList:
Enabled: false