diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:41:38 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-02 21:41:38 -0800 |
commit | 615bb941358389a1fdfec34abc6af8b61db75580 (patch) | |
tree | 81db3f6c8c741cb549cbbc9923ac18578c72121d /.rubocop.yml | |
parent | 647ff6240ef5e8256a44b126aa7573812d5e70b7 (diff) | |
download | gitlab-ce-615bb941358389a1fdfec34abc6af8b61db75580.tar.gz |
Rubocop: Dont allow puts or print to stdout
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 5 |
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' |