diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2017-05-05 00:37:32 +0300 |
---|---|---|
committer | Dennis Schubert <mail@dennis-schubert.de> | 2017-05-21 13:05:17 +0300 |
commit | c2eb53e8275649e6d79662c6001b4bd59acb45d8 (patch) | |
tree | 4cc63465baf8f22181a0072c7e493b5bb965d82a /.rubocop.yml | |
parent | 153569e29753435a4387ff337b4a3a09a6563df3 (diff) |
Bump rubocop
Use old style for Style/PercentLiteralDelimiters for now. Maybe we can
change this in the future, because the ruby style guide suggests to use
`[]` (which is also the new default for rubocop).
closes #7443#
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 2ebb26cff..36e1043e3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -164,6 +164,16 @@ Lint/Debugger: Style/NumericPredicate: 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 Style/DotPosition: EnforcedStyle: leading |