diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-11-01 07:32:04 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-11-01 07:32:04 +0900 |
commit | 146b1c2e3389bc70ea0b54abf7843fc1d6c8cd5f (patch) | |
tree | e6877230dc7e9f18af128f7bf73180be05f53c64 /.rubocop.yml | |
parent | 3664e9cb798ea47a6ef10088b3fb2a7529b0dc9b (diff) | |
download | rails-146b1c2e3389bc70ea0b54abf7843fc1d6c8cd5f.tar.gz rails-146b1c2e3389bc70ea0b54abf7843fc1d6c8cd5f.tar.bz2 rails-146b1c2e3389bc70ea0b54abf7843fc1d6c8cd5f.zip |
Enable `Style/RedundantReturn` rubocop rule, and fixed a couple more
Follow up of #31004.
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index ec33b1ee33..399fc66730 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -136,6 +136,10 @@ Lint/EndAlignment: Lint/RequireParentheses: Enabled: true +Style/RedundantReturn: + Enabled: true + AllowMultipleReturnValues: true + Style/Semicolon: Enabled: true AllowAsExpressionSeparator: true |