Rubocop: Dont allow puts or print to stdout
This commit is contained in:
parent
647ff6240e
commit
615bb94135
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
AllCops:
|
AllCops:
|
||||||
|
RunRailsCops: true
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/**/*'
|
- 'spec/**/*'
|
||||||
- 'features/**/*'
|
- 'features/**/*'
|
||||||
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue