Apply Layout/LeadingBlankLines rubocop rule

This rule is pretty obvious. However, we weren't following it in a
couple of places.
This commit is contained in:
Javi Martín
2019-10-25 22:49:54 +02:00
parent d218e09654
commit a0554f5bba
3 changed files with 3 additions and 2 deletions

View File

@@ -70,6 +70,9 @@ Layout/IndentationConsistency:
Layout/IndentationWidth:
Enabled: true
Layout/LeadingBlankLines:
Enabled: true
Layout/MultilineBlockLayout:
Enabled: true

View File

@@ -1,4 +1,3 @@
class BudgetAdministrator < ApplicationRecord
belongs_to :budget
belongs_to :administrator

View File

@@ -1,4 +1,3 @@
require_dependency Rails.root.join("app", "models", "verification", "residence").to_s
class Verification::Residence