Skip to content

Commit

Permalink
Refs #36998 - disable Rails/ContentTag cop
Browse files Browse the repository at this point in the history
The cop is buggy before rubocop-rails 2.12.0 [1][2], but to get that
we'd need a newer theforeman-rubocop, which generates more offenses than
I am willing to fix today. Disable the cop like it was disabled in
foreman_ansible too [3].

[1] rubocop/rubocop-rails#260
[2] rubocop/rubocop-rails#526
[3] theforeman/foreman_ansible#357
  • Loading branch information
evgeni authored and jeremylenz committed Jan 23, 2024
1 parent 7f99691 commit 98c9fee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ inherit_from:
Rails:
Enabled: true

Rails/ContentTag:
Enabled: false

AllCops:
Exclude:
- db/migrate/20131014135042_katello_tables.rb
Expand Down

0 comments on commit 98c9fee

Please sign in to comment.