From 1cb6268d4eb7286c57752fbd90b0b24a49f506c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 1 Jul 2023 15:00:50 +0200 Subject: [PATCH] Add and apply Layout/ClosingHeredocIndentation rule --- .rubocop.yml | 3 +++ spec/factories/legislations.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 3d1c997bf..a5ad75143 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -21,6 +21,9 @@ Bundler/OrderedGems: Layout/AssignmentIndentation: Enabled: true +Layout/ClosingHeredocIndentation: + Enabled: true + Layout/DotPosition: Enabled: true diff --git a/spec/factories/legislations.rb b/spec/factories/legislations.rb index 3c1dbe41b..4ae250317 100644 --- a/spec/factories/legislations.rb +++ b/spec/factories/legislations.rb @@ -134,7 +134,7 @@ FactoryBot.define do |----|---------|-----|--------| | 1 | Roberta | 39 | M | | 2 | Oliver | 25 | F | - BODY_MARKDOWN + BODY_MARKDOWN end end