1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 15:32:50 -05:00

pre-commit: add go mod tidy

This commit is contained in:
bbedward
2026-01-26 16:46:38 -05:00
parent 17eaa761f8
commit 705d5b04dd
2 changed files with 13 additions and 0 deletions

View File

@@ -10,3 +10,11 @@ repos:
hooks:
- id: shellcheck
args: [-e, SC2164, -e, SC2001, -e, SC2012, -e, SC2317]
- repo: local
hooks:
- id: go-mod-tidy
name: go mod tidy
entry: go mod tidy
language: system
files: (go\.mod|go\.sum|\.go)$
pass_filenames: false