diff options
author | BenjamÃn Albiñana <benalb@gmail.com> | 2022-11-11 17:37:54 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-11-12 22:03:27 +0100 |
commit | 119fb175ed07a9ba78defb2e108b963372b9d203 (patch) | |
tree | f093b3ae35a30cf26e5f6a7c11e2e643fbb8875c /xlint | |
parent | 248be132dff32a1d2ec45dce0c84f878fe8fdc51 (diff) | |
download | xtools-119fb175ed07a9ba78defb2e108b963372b9d203.tar.gz xtools-119fb175ed07a9ba78defb2e108b963372b9d203.tar.xz xtools-119fb175ed07a9ba78defb2e108b963372b9d203.zip |
xlint: detect trailing space in short_desc
Diffstat (limited to 'xlint')
-rwxr-xr-x | xlint | 1 |
1 files changed, 1 insertions, 0 deletions
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" |