DEV: Update rubocop-discourse to latest version

The lastest version of rubocop-discourse enables rules regarding
plugins.
This commit is contained in:
Loïc Guitaut
2024-02-01 17:28:10 +01:00
committed by Loïc Guitaut
parent 7a6ba47e7b
commit f7d7092a7a
27 changed files with 169 additions and 118 deletions

View File

@ -0,0 +1,9 @@
# frozen_string_literal: true
module DiscoursePoll
module UserExtension
extend ActiveSupport::Concern
prepended { has_many :poll_votes, dependent: :delete_all }
end
end