summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:41:38 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:41:38 -0800
commit615bb941358389a1fdfec34abc6af8b61db75580 (patch)
tree81db3f6c8c741cb549cbbc9923ac18578c72121d /.rubocop.yml
parent647ff6240ef5e8256a44b126aa7573812d5e70b7 (diff)
downloadgitlab-ce-615bb941358389a1fdfec34abc6af8b61db75580.tar.gz
Rubocop: Dont allow puts or print to stdout
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index c14303ab1f8..1b62416f74c 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -970,7 +970,7 @@ Rails/HasAndBelongsToMany:
Rails/Output:
Description: 'Checks for calls to puts, print, etc.'
- Enabled: false
+ Enabled: true
Rails/ReadWriteAttribute:
Description: >-
@@ -991,6 +991,7 @@ Rails/Validation:
#
#
AllCops:
+ RunRailsCops: true
Exclude:
- 'spec/**/*'
- 'features/**/*'
@@ -1001,3 +1002,5 @@ AllCops:
- 'lib/backup/**/*'
- 'lib/tasks/**/*'
- 'lib/email_validator.rb'
+ - 'lib/gitlab/upgrader.rb'
+ - 'lib/gitlab/seeder.rb'