aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsabell Long2017-06-13 12:37:22 +0100
committerIsabell Long2017-06-13 12:37:22 +0100
commitb2f2fbfa6397ff30f34398a974b51a9ce0de30b0 (patch)
treef237fe664b1c9c28e8cbddfb841904c3b6351b7c
parented9942fbd1ec4243f0a92ab8f9b2411c8b1fb091 (diff)
downloadbrew-b2f2fbfa6397ff30f34398a974b51a9ce0de30b0.tar.bz2
format_desc_cop: whitelist more lowercase words
- From `homebrew-core` PR 14229, we decided to whitelist more words so that reordering to appease "description must start with a capital letter" wasn't so clunky.
-rw-r--r--Library/Homebrew/rubocops/formula_desc_cop.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/rubocops/formula_desc_cop.rb b/Library/Homebrew/rubocops/formula_desc_cop.rb
index 27b00b416..e44c222d8 100644
--- a/Library/Homebrew/rubocops/formula_desc_cop.rb
+++ b/Library/Homebrew/rubocops/formula_desc_cop.rb
@@ -38,8 +38,13 @@ module RuboCop
# - Checks if `desc` contains the formula name
class Desc < FormulaCop
VALID_LOWERCASE_WORDS = %w[
+ ex
+ eXtensible
iOS
macOS
+ malloc
+ ooc
+ preexec
xUnit
].freeze