From d603e467a921a28553edbe771cc330d75d333483 Mon Sep 17 00:00:00 2001 From: Ignacio Contreras Pinilla Date: Thu, 18 Feb 2021 12:45:37 +0100 Subject: [PATCH] Disable Rails/ContentTag Rubocop enforces #tag instead of #content_tag even though they are not the same right now, with crucial differences. More info: https://github.com/rubocop-hq/rubocop-rails/issues/260 --- default.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/default.yml b/default.yml index d5f08cc..99f316c 100644 --- a/default.yml +++ b/default.yml @@ -26,6 +26,11 @@ Rails/AssertNot: Include: - "**/spec/**/*" +# Don't enforce tag over content tag until this issue is properly handled: +# https://github.com/rubocop-hq/rubocop-rails/issues/260 +Rails/ContentTag: + Enabled: false + Rails/FilePath: EnforcedStyle: "arguments"