diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 3bb1d4fbb7..afc279c710 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -363,6 +363,10 @@ class FormulaAuditor if desc =~ /([Cc]ommand ?line)/ problem "Description should use \"command-line\" instead of \"#{$1}\"" end + + if desc =~ %r[^([Aa]n?)\s] + problem "Please remove the indefinite article \"#{$1}\" from the beginning of the description" + end end def audit_homepage