aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-06 21:07:44 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-06 21:07:44 +0800
commit58e2c5fcac685540155811866991785891fec214 (patch)
tree01d64235d3aba0855f947403abe57fca0f3bf04c
parentssh: Remove unnecessary conversion (diff)
downloadforge-58e2c5fcac685540155811866991785891fec214.tar.gz
forge-58e2c5fcac685540155811866991785891fec214.tar.zst
forge-58e2c5fcac685540155811866991785891fec214.zip
lint: Add lint script
-rwxr-xr-xlint3
1 files changed, 3 insertions, 0 deletions
diff --git a/lint b/lint
new file mode 100755
index 0000000..7850f0e
--- /dev/null
+++ b/lint
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+golangci-lint run . --enable-all --disable wsl,wrapcheck,nlreturn,nonamedreturns,mnd,lll,intrange,godox,gochecknoglobals,gochecknoinits,forcetypeassert,gofmt,gofumpt,revive,stylecheck,exhaustruct,godot,unparam,err113,depguard