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.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index dcd66eeea92..2a2f6102dfe 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -274,6 +274,11 @@ Naming/FileName:
- XSS
- GRPC
+# Check for the use of before with let_it_be when using "add_role" methods
+# e.g. add_guest, add_reporter, add_developer
+RSpec/BeforeAllRoleAssignment:
+ Enabled: true
+
Rails/ApplicationRecord:
Enabled: true
Exclude: