config/default.yml in rubocop-1.63.4 vs config/default.yml in rubocop-1.64.1

- old
+ new

@@ -154,11 +154,11 @@ # rubocop is run. Keys are the name of the extension, and values are an array # of gems in the Gemfile that the extension is suggested for, if not already # included. SuggestExtensions: rubocop-rails: [rails] - rubocop-rspec: [rspec] + rubocop-rspec: [rspec, rspec-rails] rubocop-minitest: [minitest] rubocop-sequel: [sequel] rubocop-rake: [rake] rubocop-graphql: [graphql] rubocop-capybara: [capybara] @@ -3088,10 +3088,11 @@ EnforcedStyle: group SupportedStyles: - inline - group AllowModifiersOnSymbols: true + AllowModifiersOnAttrs: true SafeAutoCorrect: false Style/AccessorGrouping: Description: 'Checks for grouping of accessors in `class` and `module` bodies.' Enabled: true @@ -3685,10 +3686,11 @@ Style/DocumentationMethod: Description: 'Checks for missing documentation comment for public methods.' Enabled: false VersionAdded: '0.43' + AllowedMethods: [] Exclude: - 'spec/**/*' - 'test/**/*' RequireForNonPublicMethods: false @@ -4066,10 +4068,12 @@ - never # accepts both shorthand and explicit use of hash literal value. - either # forces use of the 3.1 syntax only if all values can be omitted in the hash. - consistent + # allow either (implicit or explicit) syntax but enforce consistency within a single hash + - either_consistent # Force hashes that have a symbol value to use hash rockets UseHashRocketsWithSymbolValues: false # Do not suggest { a?: 1 } over { :a? => 1 } in ruby19 style PreferHashRocketsForNonAlnumEndingSymbols: false @@ -5238,10 +5242,17 @@ Description: 'Prefer `Object#__send__` or `Object#public_send` to `send`, as `send` may overlap with existing methods.' StyleGuide: '#prefer-public-send' Enabled: false VersionAdded: '0.33' +Style/SendWithLiteralMethodName: + Description: 'Detects the use of the `public_send` method with a static method name argument.' + Enabled: pending + Safe: false + AllowSend: true + VersionAdded: '1.64' + Style/SignalException: Description: 'Checks for proper usage of fail and raise.' StyleGuide: '#prefer-raise-over-fail' Enabled: true VersionAdded: '0.11' @@ -5412,10 +5423,15 @@ Enabled: true SafeAutoCorrect: false VersionAdded: '0.29' VersionChanged: '1.20' +Style/SuperArguments: + Description: 'Call `super` without arguments and parentheses when the signature is identical.' + Enabled: pending + VersionAdded: '1.64' + Style/SuperWithArgsParentheses: Description: 'Use parentheses for `super` with arguments.' StyleGuide: '#super-with-args' Enabled: pending VersionAdded: '1.58' @@ -5447,10 +5463,10 @@ Style/SymbolProc: Description: 'Use symbols as procs instead of blocks when possible.' Enabled: true Safe: false VersionAdded: '0.26' - VersionChanged: '1.40' + VersionChanged: '1.64' AllowMethodsWithArguments: false # A list of method names to be always allowed by the check. # The names should be fairly unique, otherwise you'll end up ignoring lots of code. AllowedMethods: - define_method