Merge pull request #2780 from issyl0/format_desc_cop_whitelist_more_words

format_desc_cop: whitelist more lowercase words
This commit is contained in:
Mike McQuaid 2017-06-13 14:36:30 +01:00 committed by GitHub
commit 054ed10cb1

View File

@ -38,8 +38,13 @@ module RuboCop
# - Checks if `desc` contains the formula name # - Checks if `desc` contains the formula name
class Desc < FormulaCop class Desc < FormulaCop
VALID_LOWERCASE_WORDS = %w[ VALID_LOWERCASE_WORDS = %w[
ex
eXtensible
iOS iOS
macOS macOS
malloc
ooc
preexec
xUnit xUnit
].freeze ].freeze