From 769a7f6f93ccd0985c674d932f7f64faf40e5531 Mon Sep 17 00:00:00 2001 From: Facundo Acevedo Date: Sat, 1 Jan 2022 23:25:52 -0300 Subject: [PATCH] Add pre-commit configuration file --- .pre-commit-config.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..f074867 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,23 @@ +--- +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-json + - id: pretty-format-json + - id: detect-private-key + - repo: https://github.com/hadolint/hadolint + rev: v2.8.0 + hooks: + - id: hadolint + - repo: https://github.com/gruntwork-io/pre-commit + rev: v0.1.16 + hooks: + - id: shellcheck + exclude: ^(files/manifests/|templates/)