audit: flag any desc that starts with the formula name
The previous version didn’t work with descs like: "TheFormula serves a web page"
This commit is contained in:
parent
2ef51381c9
commit
a2e2553bd8
@ -393,7 +393,7 @@ class FormulaAuditor
|
||||
problem "Description shouldn't start with an indefinite article (#{$1})"
|
||||
end
|
||||
|
||||
if desc =~ /^#{formula.name} is\s/i
|
||||
if desc =~ /^#{formula.name}\s/i
|
||||
problem "Description shouldn't include the formula name"
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user