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.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index a19cba5eb46..d086bdf7361 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -307,6 +307,9 @@ Cop/ActiveRecordAssociationReload:
- 'spec/**/*'
- 'ee/spec/**/*'
+Cop/ActiveModelErrorsDirectManipulation:
+ Enabled: true
+
Gitlab/AvoidFeatureGet:
Enabled: true
@@ -572,6 +575,9 @@ Rails/SaveBang:
- 'ee/spec/**/*.rb'
- 'qa/spec/**/*.rb'
- 'qa/qa/specs/**/*.rb'
+ Exclude:
+ - spec/models/wiki_page/**/*
+ - spec/models/wiki_page_spec.rb
Cop/PutProjectRoutesUnderScope:
Include: