summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-22 13:44:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-22 13:44:32 +0000
commit63a731c695af174ecfd3dd478f32b995747298ed (patch)
tree9c26c59e0fe2c6f57373c4ad91635c2b2b09efef /.rubocop.yml
parent19a7c7fd0fb22500a878b618960562c12b1f58e5 (diff)
downloadredmine-63a731c695af174ecfd3dd478f32b995747298ed.tar.gz
redmine-63a731c695af174ecfd3dd478f32b995747298ed.zip
add Layout/SpaceBeforeSemicolon excluding files to .rubocop.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@20486 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
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.