diff options
author | Stan Hu <stanhu@gmail.com> | 2019-04-27 23:38:05 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-29 06:14:53 -0700 |
commit | fad99d934f73536929c4a12e25308473b52769b5 (patch) | |
tree | ead2f1bb4608d3db4713ce1bf8e80a4f0e637318 /rubocop/rubocop.rb | |
parent | b02458ef52ac3e61d3c8b924e092e956375c15f7 (diff) | |
download | gitlab-ce-fad99d934f73536929c4a12e25308473b52769b5.tar.gz |
Add Rubocop rule to ban include ActionView::Context
Diffstat (limited to 'rubocop/rubocop.rb')
-rw-r--r-- | rubocop/rubocop.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rubocop/rubocop.rb b/rubocop/rubocop.rb index 50eab6f9270..ce6bdbf292c 100644 --- a/rubocop/rubocop.rb +++ b/rubocop/rubocop.rb @@ -4,6 +4,7 @@ require_relative 'cop/gitlab/predicate_memoization' require_relative 'cop/gitlab/httparty' require_relative 'cop/gitlab/finder_with_find_by' require_relative 'cop/gitlab/union' +require_relative 'cop/include_action_view_context' require_relative 'cop/include_sidekiq_worker' require_relative 'cop/safe_params' require_relative 'cop/active_record_association_reload' |