Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/search/namespaced_class.rb')
-rw-r--r--rubocop/cop/search/namespaced_class.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/rubocop/cop/search/namespaced_class.rb b/rubocop/cop/search/namespaced_class.rb
index 8824107ae61..7d0901cb6f6 100644
--- a/rubocop/cop/search/namespaced_class.rb
+++ b/rubocop/cop/search/namespaced_class.rb
@@ -20,8 +20,10 @@ module RuboCop
# These namespaces are considered acceptable.
# Note: Nested namespace like Foo::Bar are also supported.
- PERMITTED_NAMESPACES = %w[Search EE::Search API::Search EE::API::Search RuboCop::Cop::Search]
- .map { |x| x.split('::') }.freeze
+ PERMITTED_NAMESPACES = %w[
+ Search EE::Search API::Search EE::API::Search API::Admin::Search RuboCop::Cop::Search
+ API::Entities::Search::Zoekt
+ ].map { |x| x.split('::') }.freeze
SEARCH_REGEXES = [
/elastic/i,