mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: Update rubocop-discourse to latest version
The lastest version of rubocop-discourse enables rules regarding plugins.
This commit is contained in:

committed by
Loïc Guitaut

parent
7a6ba47e7b
commit
f7d7092a7a
@ -19,7 +19,7 @@ after_initialize do
|
||||
POST_CUSTOM_FIELD ||= "local_dates".freeze
|
||||
end
|
||||
|
||||
%w[../lib/discourse_local_dates/engine.rb].each { |path| load File.expand_path(path, __FILE__) }
|
||||
require_relative "lib/discourse_local_dates/engine"
|
||||
|
||||
register_post_custom_field_type(DiscourseLocalDates::POST_CUSTOM_FIELD, :json)
|
||||
|
||||
|
Reference in New Issue
Block a user