rubocop: update style rules
Closes Homebrew/homebrew#42355. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
79678cb109
commit
6eba862388
@ -121,3 +121,13 @@ Style/SignalException:
|
||||
# trailing commas in method argument lists are a syntax error in 1.8
|
||||
Style/TrailingComma:
|
||||
Enabled: false
|
||||
|
||||
# We prefer compact if-else-end/case-when-end alignment
|
||||
Lint/EndAlignment:
|
||||
AlignWith: variable
|
||||
Style/CaseIndentation:
|
||||
IndentWhenRelativeTo: end
|
||||
|
||||
# We prefer Perl-style regex back references
|
||||
Style/PerlBackrefs:
|
||||
Enabled: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user