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