aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/lint3
-rwxr-xr-xscripts/update_deps3
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lint b/scripts/lint
index 7850f0e..14e5002 100755
--- a/scripts/lint
+++ b/scripts/lint
@@ -1,3 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: AGPL-3.0-only
+# SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+
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
diff --git a/scripts/update_deps b/scripts/update_deps
index 723e858..448dff3 100755
--- a/scripts/update_deps
+++ b/scripts/update_deps
@@ -1,5 +1,8 @@
#!/bin/sh
+# SPDX-License-Identifier: AGPL-3.0-only
+# SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+
set -eux
go get -t -u