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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user