]> source.dussan.org Git - redmine.git/commitdiff
add Layout/SpaceBeforeSemicolon excluding files to .rubocop.yml
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 13:44:32 +0000 (13:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 13:44:32 +0000 (13:44 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20486 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop.yml

index eabc36533eba61bfa153f9301e6d5a6532b35ae4..fca9b0023b6a3ca6e6d4da5e61d5494139038410 100644 (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.