diff options
author | Piotr Wójcik <chocimier@tlen.pl> | 2019-01-03 23:25:48 +0100 |
---|---|---|
committer | Toyam Cox <aviator45003@gmail.com> | 2019-01-03 19:33:44 -0500 |
commit | e5bf448796003727b9d41a7def8e95e3c76f2951 (patch) | |
tree | 08c7c1ccc177eb3acb2e134f0863cc627c8848f6 | |
parent | e751ef516df1ffb20e4976f5550840c54e4f631a (diff) | |
download | xtools-e5bf448796003727b9d41a7def8e95e3c76f2951.tar.gz xtools-e5bf448796003727b9d41a7def8e95e3c76f2951.tar.xz xtools-e5bf448796003727b9d41a7def8e95e3c76f2951.zip |
xlint: check for initial article in short_desc
-rwxr-xr-x | xlint | 1 |
1 files changed, 1 insertions, 0 deletions
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" |