From 119fb175ed07a9ba78defb2e108b963372b9d203 Mon Sep 17 00:00:00 2001 From: Benjamín Albiñana Date: Fri, 11 Nov 2022 17:37:54 +0100 Subject: xlint: detect trailing space in short_desc --- xlint | 1 + 1 file changed, 1 insertion(+) diff --git a/xlint b/xlint index 5c8e8e4..19bb98d 100755 --- a/xlint +++ b/xlint @@ -389,6 +389,7 @@ for argument; do if [ "$template" ]; then exists_once "$template" scan 'short_desc=.*\."' "unwanted trailing dot in short_desc" + scan 'short_desc=.*[[:space:]]"' "unwanted trailing space 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" -- cgit 1.4.1