1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

add Layout/SpaceBeforeSemicolon excluding files to .rubocop.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@20486 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-22 13:44:32 +00:00
parent 19a7c7fd0f
commit 63a731c695

View File

@ -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.