Switch PercentLiteralDelimiters to new default
Let's change that to the new rubocop default, which is also the suggestion in the ruby style guide. See https://github.com/bbatsov/ruby-style-guide#percent-literal-braces closes #7466
This commit is contained in:
parent
1751e21a87
commit
0d232f1d1b
1 changed files with 0 additions and 10 deletions
10
.rubocop.yml
10
.rubocop.yml
|
|
@ -164,16 +164,6 @@ Lint/Debugger:
|
||||||
Style/NumericPredicate:
|
Style/NumericPredicate:
|
||||||
EnforcedStyle: comparison
|
EnforcedStyle: comparison
|
||||||
|
|
||||||
# Old defaults from rubocop < 0.48.1
|
|
||||||
Style/PercentLiteralDelimiters:
|
|
||||||
PreferredDelimiters:
|
|
||||||
default: '()'
|
|
||||||
'%i': '()'
|
|
||||||
'%I': '()'
|
|
||||||
'%r': '{}'
|
|
||||||
'%w': '()'
|
|
||||||
'%W': '()'
|
|
||||||
|
|
||||||
# Reset some HoundCI changes back to Rubocop defaults
|
# Reset some HoundCI changes back to Rubocop defaults
|
||||||
Style/DotPosition:
|
Style/DotPosition:
|
||||||
EnforcedStyle: leading
|
EnforcedStyle: leading
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue