Temporarily disable Style/TopLevelMethodDefinition (#18109)
* Temporarily disable Style/TopLevelMethodDefinition * shorten long lines
This commit is contained in:
parent
7880f46829
commit
a14d2f2ad7
1 changed files with 7 additions and 5 deletions
12
.rubocop.yml
12
.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.'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue