From b2f2fbfa6397ff30f34398a974b51a9ce0de30b0 Mon Sep 17 00:00:00 2001 From: Isabell Long Date: Tue, 13 Jun 2017 12:37:22 +0100 Subject: [PATCH] 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. --- Library/Homebrew/rubocops/formula_desc_cop.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/Homebrew/rubocops/formula_desc_cop.rb b/Library/Homebrew/rubocops/formula_desc_cop.rb index 27b00b4164..e44c222d87 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