config/default.yml in rubocop-1.46.0 vs config/default.yml in rubocop-1.47.0
- old
+ new
@@ -151,10 +151,11 @@
rubocop-rspec: [rspec, rspec-rails]
rubocop-minitest: [minitest]
rubocop-sequel: [sequel]
rubocop-rake: [rake]
rubocop-graphql: [graphql]
+ rubocop-capybara: [capybara]
# Enable/Disable checking the methods extended by Active Support.
ActiveSupportExtensionsEnabled: false
#################### Bundler ###############################
@@ -2540,9 +2541,15 @@
VersionAdded: '0.25'
VersionChanged: '0.87'
CountComments: false # count full line comments?
Max: 100
CountAsOne: []
+
+Metrics/CollectionLiteralLength:
+ Description: 'Checks for `Array` or `Hash` literals with many entries.'
+ Enabled: pending
+ VersionAdded: '1.47'
+ LengthThreshold: 250
# Avoid complex methods.
Metrics/CyclomaticComplexity:
Description: >-
A complexity metric that is strongly correlated to the number