From e5bf448796003727b9d41a7def8e95e3c76f2951 Mon Sep 17 00:00:00 2001 From: Piotr Wójcik Date: Thu, 3 Jan 2019 23:25:48 +0100 Subject: xlint: check for initial article in short_desc --- xlint | 1 + 1 file changed, 1 insertion(+) (limited to 'xlint') diff --git a/xlint b/xlint index 4ed3c4c..07acb32 100755 --- a/xlint +++ b/xlint @@ -228,6 +228,7 @@ for template; do if [ -f "$template" ]; then scan 'short_desc=.*\."' "unwanted trailing dot in short_desc" scan 'short_desc=["'\''][a-z]' "short_desc should start uppercase" + scan 'short_desc=["'\''](An?|The) ' "short_desc should not start with an article" scan 'short_desc=["'\''][\t ]' "short_desc should not start with whitespace" scan 'short_desc=["'\''].{73}' "short_desc should be less than 72 chars" scan 'license=.*[^NL]GPL[^-]' "license GPL without version" -- cgit 1.4.1