summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-07-25 08:59:23 +0000
committerLin Jen-Shin <godfat@godfat.org>2018-07-25 17:47:12 +0800
commitb95da565cd91fff0729fb4bf6632fb6224de8843 (patch)
treebc2fb2fe99f42b2aae6ff9ed6557366c7959d7b4 /.rubocop.yml
parent068768e1f8b64f7de4fe18b094e7f2e7555c9398 (diff)
downloadgitlab-ce-b95da565cd91fff0729fb4bf6632fb6224de8843.tar.gz
Enable rubocop for db/**/* and ee/db/**/*49582-enable-cops-for-db
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 0582bfe8d70..c8b1ce327e2 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -10,9 +10,9 @@ AllCops:
Exclude:
- 'vendor/**/*'
- 'node_modules/**/*'
- - 'db/**/*'
- 'db/fixtures/**/*'
- - 'ee/db/**/*'
+ - 'db/schema.rb'
+ - 'ee/db/geo/schema.rb'
- 'tmp/**/*'
- 'bin/**/*'
- 'generator_templates/**/*'
@@ -34,6 +34,8 @@ Style/MutableConstant:
Naming/FileName:
ExpectMatchingDefinition: true
Exclude:
+ - 'db/**/*'
+ - 'ee/db/**/*'
- 'spec/**/*'
- 'features/**/*'
- 'ee/spec/**/*'