summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-04-28 18:02:17 +0000
committerRobert Speicher <robert@gitlab.com>2017-04-28 18:02:17 +0000
commit2952a447794e492122820b5a0eb54f75b83a2abd (patch)
treeb5be71fc8695d1394cb5db5e94ab79190e5ba81c /.rubocop.yml
parent3d2b663e0c3c5b40b9db8a27141efd43e2eb1961 (diff)
parent5069682d8ed892705ec1a933554cc4060e5691af (diff)
downloadgitlab-ce-2952a447794e492122820b5a0eb54f75b83a2abd.tar.gz
Merge branch 'enable-spec-file-name-cop' into 'master'
Enable RSpec/FilePath cop Closes #31316 See merge request !10911
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index e73500be2a9..8c43f6909cf 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -983,10 +983,12 @@ RSpec/ExpectActual:
# Checks the file and folder naming of the spec file.
RSpec/FilePath:
- Enabled: false
- CustomTransform:
- RuboCop: rubocop
- RSpec: rspec
+ Enabled: true
+ IgnoreMethods: true
+ Exclude:
+ - 'qa/**/*'
+ - 'spec/javascripts/fixtures/*'
+ - 'spec/requests/api/v3/*'
# Checks if there are focused specs.
RSpec/Focus: