Merge pull request #2780 from issyl0/format_desc_cop_whitelist_more_words
format_desc_cop: whitelist more lowercase words
This commit is contained in:
commit
054ed10cb1
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user