about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-05-16 16:20:46 +0200
committerLeah Neukirchen <leah@vuxu.org>2022-05-16 16:20:46 +0200
commit29d03d6dc621881b78699efecad895bb2017b5bb (patch)
treee5d75b65b2c7f6e734f9d3ae02e3ad0f367dfc9c
parentdc3688eb4fa1e475dd0ac6906fc16a261d46fafc (diff)
downloadxtools-29d03d6dc621881b78699efecad895bb2017b5bb.tar.gz
xtools-29d03d6dc621881b78699efecad895bb2017b5bb.tar.xz
xtools-29d03d6dc621881b78699efecad895bb2017b5bb.zip
xlint: detect space before tabs
-rwxr-xr-xxlint1
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"