From 375dc521dc2cad76f91f48312ceff61ed0cd6af9 Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Fri, 26 Nov 2021 11:16:54 +0100 Subject: [PATCH] do not include pre-commit in repo. --- .gitignore | 1 + .pre-commit-config.yaml | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) create mode 100644 .gitignore delete mode 100644 .pre-commit-config.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e90b739 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index af12555..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,18 +0,0 @@ -repos: -- repo: https://git.candidator.se/go/dev-tools/pre-commit-golang.git - rev: f898003d6bfc677c18ee10210eb663fa5394cfb5 - hooks: - - id: go-fmt - - id: go-vet - - id: go-staticcheck - - id: go-imports - - id: go-cyclo - args: [-over=100] - - id: revive - - id: gosec - - id: validate-toml - - id: no-go-testing - # - id: golangci-lint - - id: go-critic - - id: go-unit-tests - - id: go-build