]> source.dussan.org Git - redmine.git/commitdiff
rubocop: add db/schema.rb to global exclude
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 16 Oct 2019 13:00:18 +0000 (13:00 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 16 Oct 2019 13:00:18 +0000 (13:00 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18688 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop.yml
.rubocop_todo.yml

index 0381fc488e87ca7322699b3a388c15f9fd3b0f54..22b3e0687e3a051613ec559709d0bd73913b3418 100644 (file)
@@ -13,6 +13,7 @@ AllCops:
     - '**/lib/generators/**/templates/*'
     - '**/lib/tasks/**/*'
     - '**/files/**/*'
+    - 'db/schema.rb'
 
 # Enable extensions
 
index 56550bfac002eaea09e255aac19104df5e54faf5..c4c66b15d2fe0466617613a264784d3185fad6fe 100644 (file)
@@ -147,13 +147,6 @@ Layout/EmptyLinesAroundAccessModifier:
     - 'config/initializers/10-patches.rb'
     - 'lib/redmine/syntax_highlighting.rb'
 
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: empty_lines, no_empty_lines
-Layout/EmptyLinesAroundBlockBody:
-  Exclude:
-    - 'db/schema.rb'
-
 # Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle.
 # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only