Temporarily disable Style/TopLevelMethodDefinition (#18109)

* Temporarily disable Style/TopLevelMethodDefinition

* shorten long lines
This commit is contained in:
Fernando Valverde 2022-07-14 06:59:51 -06:00 committed by GitHub
parent 7880f46829
commit a14d2f2ad7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.'