From 3cca82eada440b5f25a0df7cf5a09c91051c4403 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 13 Apr 2018 17:54:00 +0200 Subject: [PATCH] Exclude "gas" linter, enable "misspell" Signed-off-by: Knut Ahlers --- .zsh/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/config.sh b/.zsh/config.sh index 7cc6918..1100d9a 100644 --- a/.zsh/config.sh +++ b/.zsh/config.sh @@ -32,7 +32,7 @@ bindkey "\033[4~" end-of-line ## Aliases alias alpine='docker run --rm -ti alpine /bin/sh' alias bcrypt='python3 -c "import bcrypt; import sys; print(bcrypt.hashpw(sys.argv[1].encode(\"utf-8\"), bcrypt.gensalt(10)).decode(\"utf-8\"))"' -alias gometalinter='gometalinter --enable-all -D aligncheck -D errcheck -D lll --cyclo-over=15 -e bindata.go --vendor' +alias gometalinter='gometalinter --enable-all -D aligncheck -D errcheck -D lll -D gas -E misspell --cyclo-over=15 -e bindata.go --vendor' alias htpasswd='python3 -c "import crypt; import sys; print(crypt.crypt(sys.argv[1], crypt.mksalt(crypt.METHOD_SHA512)));"' alias mysql='docker run --rm -ti -v $(pwd):$(pwd) -w $(pwd) mysql bash' alias mysqlpw='python3 -c "import hashlib; import sys; print(\"*{}\".format(hashlib.sha1(hashlib.sha1(sys.argv[1].encode(\"utf-8\")).digest()).hexdigest().upper()))"'