summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-26 12:53:48 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-26 12:53:48 +0000
commit6f293870eb29141b55fa30e4247dd9903675647c (patch)
tree9530207eb9cd587cd9a944cdf1783244a800eec8 /.rubocop.yml
parent5a72c19e5dee8a775e5d79edf6e7a79590502342 (diff)
downloadredmine-6f293870eb29141b55fa30e4247dd9903675647c.tar.gz
redmine-6f293870eb29141b55fa30e4247dd9903675647c.zip
rubocop: revert r18852
git-svn-id: http://svn.redmine.org/redmine/trunk@18867 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 9c1be3f87..358474c96 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -33,9 +33,11 @@ Layout/AlignArguments:
Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
-# You can see results by "rubocop --only Layout/SpaceBeforeBlockBraces"
Layout/SpaceBeforeBlockBraces:
- EnforcedStyle: space
+ # "space" is used more than "no_space".
+ # But "no_space" is more natural in one liner.
+ # str = path.to_s.split(%r{[/\\]}).select{|p| !p.blank?}.join("/")
+ Enabled: false
# You can see results by "rubocop --only Layout/SpaceInsideBlockBraces"
Layout/SpaceInsideBlockBraces: