diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 56c51bee0e3..12eee5702bc 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -454,6 +454,7 @@ Gitlab/RSpec/AvoidSetup: Enabled: true Include: - 'ee/spec/features/registrations/saas/**/*' + - 'ee/spec/features/trials/saas/**/*' RSpec/DuplicateSpecLocation: Enabled: true @@ -966,3 +967,23 @@ Cop/FeatureFlagUsage: Style/ArgumentsForwarding: Enabled: true AllowOnlyRestArgument: false + +Search/NamespacedClass: + Enabled: true + Exclude: + - 'config/**/*.rb' + - 'db/**/*.rb' + - 'ee/db/**/*.rb' + - 'ee/bin/**/*' + - 'ee/elastic/**/*.rb' # Advanced Search migrations issue: <> + - 'scripts/**/*' + - 'spec/migrations/**/*.rb' + - 'app/experiments/**/*_experiment.rb' + - 'ee/app/experiments/**/*_experiment.rb' + - 'lib/gitlab/instrumentation/**/*.rb' + +SidekiqLoadBalancing/WorkerDataConsistency: + Enabled: true + Include: + - 'app/workers/**/*' + - 'ee/app/workers/**/*' |