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

.rubocop.yml

index 529ff058f455989bf7be75c8a94d122a2c7b79f2..aa9a7455a577a1f4f2bba1e6358cd0ab87f45553 100644 (file)
@@ -114,6 +114,12 @@ Style/AsciiComments:
     # We can not change nor remove it.
     - 'app/models/repository/git.rb'
 
+Style/BlockDelimiters:
+  Enabled: true
+  Exclude:
+    - 'db/migrate/007_create_journals.rb'
+    - 'lib/diff.rb'
+
 Style/EmptyElse:
   EnforcedStyle: empty