Skip to content

Commit

Permalink
Disable Rails/ContentTag
Browse files Browse the repository at this point in the history
Rubocop enforces #tag instead of #content_tag even though they are not
the same right now, with crucial differences. More info:

rubocop/rubocop-rails#260
  • Loading branch information
ig3io committed Feb 18, 2021
1 parent 0c678f6 commit d603e46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit d603e46

Please sign in to comment.