From 615bb941358389a1fdfec34abc6af8b61db75580 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 2 Feb 2015 21:41:38 -0800 Subject: Rubocop: Dont allow puts or print to stdout --- .rubocop.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.rubocop.yml') 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' -- cgit v1.2.3