Enable literal as condition rule in rubocop
This way deverlopers who don't run the ruby syntax check locally with warnings enabled will be informed by HoundCI.
This commit is contained in:
@@ -30,6 +30,9 @@ Layout/TrailingBlankLines:
|
|||||||
Layout/TrailingWhitespace:
|
Layout/TrailingWhitespace:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
Lint/LiteralAsCondition:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Lint/UselessAssignment:
|
Lint/UselessAssignment:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user