diff --git a/.rubocop.yml b/.rubocop.yml index 3568d9d7b..6b348bc22 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -672,11 +672,13 @@ Style/SwapValues: Style/TopLevelMethodDefinition: Description: 'This cop looks for top-level method definitions.' - Enabled: true - Exclude: - - scripts/release - - scripts/stage_release - - 'spec/**/*_spec.rb' + Enabled: false +# We're disabling it for the time being until a new version of rubocop +# (> 1.31.2) is released with a fix for false positives that are coming up. +# These files below were the original files excluded from this rule. +# Exclude: +# - scripts/release +# - scripts/stage_release Style/TrailingCommaInArguments: Description: 'Checks for trailing comma in argument lists.'