summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 693ee0ae847..049340f90d4 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -51,7 +51,6 @@ Style/FrozenStringLiteralComment:
- 'danger/**/*'
- 'db/**/*'
- 'ee/db/**/*'
- - 'ee/spec/**/*'
- 'ee/lib/tasks/**/*'
- 'lib/tasks/**/*'
- 'qa/**/*'
@@ -179,6 +178,11 @@ Gitlab/ModuleWithInstanceVariables:
- spec/support/**/*.rb
- features/steps/**/*.rb
+Gitlab/ConstGetInheritFalse:
+ Enabled: true
+ Exclude:
+ - 'qa/bin/*'
+
Gitlab/HTTParty:
Enabled: true
Exclude:
@@ -218,6 +222,12 @@ ActiveRecordAssociationReload:
- 'spec/**/*'
- 'ee/spec/**/*'
+Naming/PredicateName:
+ Enabled: true
+ Exclude:
+ - 'spec/**/*'
+ - 'ee/spec/**/*'
+
RSpec/FactoriesInMigrationSpecs:
Enabled: true
Include: