From 84419e71bf131b5a719fc339e6f0b1185214a75f Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Tue, 10 Aug 2021 18:54:42 +0200 Subject: [PATCH] Configure pre-commit hook for linting --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..08ad625 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/golangci/golangci-lint + rev: v1.41.1 + hooks: + - id: golangci-lint -- 2.45.2