From fabf06d2729cddc47a0e50d69a319d2460f952cd Mon Sep 17 00:00:00 2001 From: Galorhallen Date: Tue, 25 Oct 2022 10:00:54 +0200 Subject: [PATCH] Add pre-commit --- .pre-commit-config.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8399d90..31274fb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,4 +8,11 @@ repos: - id: no-go-testing - id: go-unit-tests - id: go-build - - id: go-mod-tidy \ No newline at end of file + - id: go-mod-tidy +- repo: https://github.com/pre-commit/pre-commit-hooks.git + rev: v4.3.0 + hooks: + - id: end-of-file-fixer + - id: trailing-whitespace + - id: mixed-line-ending + - id: check-merge-conflict