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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-20 13:43:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-20 13:43:29 +0300
commit3b1af5cc7ed2666ff18b718ce5d30fa5a2756674 (patch)
tree3bc4a40e0ee51ec27eabf917c537033c0c5b14d4 /.rubocop.yml
parent9bba14be3f2c211bf79e15769cd9b77bc73a13bc (diff)
Add latest changes from gitlab-org/gitlab@16-1-stable-eev16.1.0-rc42
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 81ad4cd31f3..95240342be3 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -557,6 +557,7 @@ RSpec/FactoryBot/AvoidCreate:
- 'spec/components/**/*.rb'
- 'spec/mailers/**/*.rb'
- 'spec/routes/directs/*.rb'
+ - 'spec/lib/sidebars/**/*.rb'
- 'ee/spec/presenters/**/*.rb'
- 'ee/spec/serializers/**/*.rb'
- 'ee/spec/helpers/**/*.rb'
@@ -564,6 +565,7 @@ RSpec/FactoryBot/AvoidCreate:
- 'ee/spec/components/**/*.rb'
- 'ee/spec/mailers/**/*.rb'
- 'ee/spec/routes/directs/*.rb'
+ - 'ee/spec/lib/sidebars/**/*.rb'
RSpec/FactoryBot/StrategyInCallback:
Enabled: true
@@ -1007,3 +1009,16 @@ SidekiqLoadBalancing/WorkerDataConsistency:
# This cop is disabled for Ruby 3.0+ anyway.
Lint/NonDeterministicRequireOrder:
Enabled: false
+
+Graphql/ResourceNotAvailableError:
+ Exclude:
+ # Definition of `raise_resource_not_available_error!`
+ - 'lib/gitlab/graphql/authorize/authorize_resource.rb'
+
+RSpec/FactoryBot/LocalStaticAssignment:
+ Include:
+ - spec/factories/**/*.rb
+ - ee/spec/factories/**/*.rb
+
+Rails/TransactionExitStatement:
+ Enabled: true