From 0023bb52efc4488e0c50f947856a3dc0adf73a69 Mon Sep 17 00:00:00 2001 From: Julien Riou Date: Fri, 8 Mar 2019 18:31:17 +0100 Subject: [PATCH] Add pre-commit file --- .pre-commit-config.yaml | 10 ++++++++++ 1 file changed, 10 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..ff0dec4 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +--- +- repo: https://github.com/dnephin/pre-commit-golang + sha: master + hooks: + - id: go-fmt + - id: go-lint +- repo: https://github.com/adrienverge/yamllint + sha: master + hooks: + - id: yamllint