From: Toshi MARUYAMA Date: Sun, 22 Nov 2020 13:44:32 +0000 (+0000) Subject: add Layout/SpaceBeforeSemicolon excluding files to .rubocop.yml X-Git-Tag: 4.2.0~332 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=63a731c695af174ecfd3dd478f32b995747298ed;p=redmine.git add Layout/SpaceBeforeSemicolon excluding files to .rubocop.yml git-svn-id: http://svn.redmine.org/redmine/trunk@20486 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop.yml b/.rubocop.yml index eabc36533..fca9b0023 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -43,6 +43,11 @@ Layout/EmptyLineBetweenDefs: Layout/SpaceAroundEqualsInParameterDefault: Enabled: false +Layout/SpaceBeforeSemicolon: + Enabled: true + Exclude: + - 'config/initializers/10-patches.rb' + Layout/SpaceBeforeBlockBraces: # "space" is used more than "no_space". # But "no_space" is more natural in one liner.