summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-20 09:24:38 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-20 09:24:38 +0000
commit898e2cc1dfa88b4ac39cb4b35011f61b37f57b51 (patch)
treec6524edb6c9a43cccf93be05c36883fde1a53ee4 /.rubocop.yml
parentb5571e6e22cdacc81f78eff5943d68c8ba220fbb (diff)
downloadgitlab-ce-898e2cc1dfa88b4ac39cb4b35011f61b37f57b51.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml73
1 files changed, 73 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 27dce2239d8..da3707972d3 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -299,3 +299,76 @@ Graphql/Descriptions:
RSpec/AnyInstanceOf:
Enabled: false
+
+# Cops for upgrade to gitlab-styles 3.1.0
+FactoryBot/FactoryClassName:
+ Enabled: false
+
+FactoryBot/CreateList:
+ Enabled: false
+
+Rails/SafeNavigationWithBlank:
+ Enabled: false
+
+Rails/ApplicationController:
+ Enabled: false
+
+Rails/ApplicationMailer:
+ Enabled: false
+
+Rails/RakeEnvironment:
+ Enabled: false
+
+Rails/HelperInstanceVariable:
+ Enabled: false
+
+Rails/EnumHash:
+ Enabled: false
+
+RSpec/ReceiveCounts:
+ Enabled: false
+
+RSpec/ContextMethod:
+ Enabled: false
+
+RSpec/ImplicitSubject:
+ Enabled: false
+
+RSpec/LeakyConstantDeclaration:
+ Enabled: false
+
+RSpec/EmptyLineAfterHook:
+ Enabled: false
+
+RSpec/HooksBeforeExamples:
+ Enabled: false
+
+RSpec/EmptyLineAfterExample:
+ Enabled: false
+
+RSpec/Be:
+ Enabled: false
+
+RSpec/DescribedClass:
+ Enabled: false
+
+RSpec/SharedExamples:
+ Enabled: false
+
+RSpec/EmptyLineAfterExampleGroup:
+ Enabled: false
+
+RSpec/ReceiveNever:
+ Enabled: false
+
+RSpec/MissingExampleGroupArgument:
+ Enabled: false
+
+RSpec/UnspecifiedException:
+ Enabled: false
+
+Style/MultilineWhenThen:
+ Enabled: false
+
+Style/FloatDivision:
+ Enabled: false \ No newline at end of file