From 62cb30c4282ef3b3fcc45d22b7d2d9666867d935 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Mon, 1 Aug 2016 19:49:14 -0400 Subject: xlint: refuse whitespace at start of short_desc Closes: #46 [via git-merge-pr] --- xlint | 1 + 1 file changed, 1 insertion(+) (limited to 'xlint') diff --git a/xlint b/xlint index 283ec48..ecd5a6b 100755 --- a/xlint +++ b/xlint @@ -132,6 +132,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=["'\''][\t ]' "short_desc should not start with whitespace" scan 'short_desc=["'\''].{73}' "short_desc should be less than 72 chars" scan 'license=.*[^L]GPL[^-]' "license GPL without version" scan 'license=.*LGPL[^-]' "license LGPL without version" -- cgit 1.4.1