diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2019-09-10 16:24:10 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-09-10 16:24:10 +0000 |
commit | daf7810e2ee323e39e3cc0b1c6f3fe15a9977a14 (patch) | |
tree | ad30eb329787116653940d22a95cad1e99ebb0ab /.rubocop.yml | |
parent | 0078ea44c292cd0e5eb7f4ae52358087c8ee34db (diff) | |
download | gitlab-ce-daf7810e2ee323e39e3cc0b1c6f3fe15a9977a14.tar.gz |
Add Scalability/FileUploads cop
This cop prevents you from using file in API, it points you to the
development documentation about workhorse file acceleration.
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index f24cbb6ce92..73743ebf9a2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -275,3 +275,8 @@ RSpec/BeSuccessMatcher: - 'ee/spec/support/shared_examples/controllers/**/*' - 'spec/support/controllers/**/*' - 'ee/spec/support/controllers/**/*' +Scalability/FileUploads: + Enabled: true + Include: + - 'lib/api/**/*.rb' + - 'ee/lib/api/**/*.rb' |