Skip to content
Snippets Groups Projects
Commit f78a6398 authored by Alexis Hildebrandt's avatar Alexis Hildebrandt Committed by Dominyk Tiller
Browse files

audit: add check for indefinite article


at the beginning of desc.

Closes Homebrew/homebrew#42404.

Signed-off-by: default avatarDominyk Tiller <dominyktiller@gmail.com>
parent 09e0bcf1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment