Commit 615bb941 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Rubocop: Dont allow puts or print to stdout

parent 647ff624
...@@ -970,7 +970,7 @@ Rails/HasAndBelongsToMany: ...@@ -970,7 +970,7 @@ Rails/HasAndBelongsToMany:
Rails/Output: Rails/Output:
Description: 'Checks for calls to puts, print, etc.' Description: 'Checks for calls to puts, print, etc.'
Enabled: false Enabled: true
Rails/ReadWriteAttribute: Rails/ReadWriteAttribute:
Description: >- Description: >-
...@@ -991,6 +991,7 @@ Rails/Validation: ...@@ -991,6 +991,7 @@ Rails/Validation:
# #
# #
AllCops: AllCops:
RunRailsCops: true
Exclude: Exclude:
- 'spec/**/*' - 'spec/**/*'
- 'features/**/*' - 'features/**/*'
...@@ -1001,3 +1002,5 @@ AllCops: ...@@ -1001,3 +1002,5 @@ AllCops:
- 'lib/backup/**/*' - 'lib/backup/**/*'
- 'lib/tasks/**/*' - 'lib/tasks/**/*'
- 'lib/email_validator.rb' - 'lib/email_validator.rb'
- 'lib/gitlab/upgrader.rb'
- 'lib/gitlab/seeder.rb'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment