diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-05-16 16:20:46 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-05-16 16:20:46 +0200 |
commit | 29d03d6dc621881b78699efecad895bb2017b5bb (patch) | |
tree | e5d75b65b2c7f6e734f9d3ae02e3ad0f367dfc9c | |
parent | dc3688eb4fa1e475dd0ac6906fc16a261d46fafc (diff) | |
download | xtools-29d03d6dc621881b78699efecad895bb2017b5bb.tar.gz xtools-29d03d6dc621881b78699efecad895bb2017b5bb.tar.xz xtools-29d03d6dc621881b78699efecad895bb2017b5bb.zip |
xlint: detect space before tabs
-rwxr-xr-x | xlint | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint index 2ec7d31..df26d94 100755 --- a/xlint +++ b/xlint @@ -425,6 +425,7 @@ for argument; do scan 'vinstall.* usr/share/man' "use vman" scan 'vinstall.* usr/share/licenses' "use vlicense" scan '^ ' "please indent with tabs" | once + scan '^ +\t' "bad indentation: space before tabs" scan '[\t ]$' "trailing whitespace" scan '[^\\]`' "use \$() instead of backticks" scan '^pkgname="[^$]+"' "pkgname must not be quoted" |