Add Style/WordArray at rubocop.yml #1463

This commit is contained in:
nasia 2017-06-03 13:48:49 +03:00
parent 5bb52f24a5
commit 6cb11ff2f3
6 changed files with 8 additions and 12 deletions

View file

@ -104,6 +104,10 @@ Style/TrailingBlankLines:
Style/TrailingWhitespace:
Enabled: true
# Check for array literals made up of word-like strings, that are not using the %w() syntax
Style/WordArray:
Enabled: true
# This cop checks for numeric comparisons that can be replaced by a predicate method.
Style/ZeroLengthPredicate:
Enabled: true