mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add Style/WordArray at rubocop.yml #1463
This commit is contained in:
parent
5bb52f24a5
commit
6cb11ff2f3
6 changed files with 8 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue