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

.rubocop.yml

index c131c0cd556d148e3cca431b27d28514ab1d87fb..529ff058f455989bf7be75c8a94d122a2c7b79f2 100644 (file)
@@ -60,8 +60,18 @@ Layout/SpaceBeforeBlockBraces:
   Enabled: false
 
 Layout/SpaceInsideBlockBraces:
+  Enabled: true
   EnforcedStyle: no_space
   SpaceBeforeBlockParameters: false
+  Exclude:
+    - 'config/initializers/10-patches.rb'
+    - 'config/initializers/backtrace_silencers.rb'
+    - 'db/migrate/007_create_journals.rb'
+    - 'db/migrate/096_add_commit_access_permission.rb'
+    - 'db/migrate/20170418090031_add_view_news_to_all_existing_roles.rb'
+    - 'db/migrate/20170419144536_add_view_messages_to_all_existing_roles.rb'
+    - 'lib/diff.rb'
+    - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
 
 Layout/SpaceInsideHashLiteralBraces:
   EnforcedStyle: no_space