From cf2dadf53722c53339d6e6325d4ab5a3ff6f3d85 Mon Sep 17 00:00:00 2001 From: "appsec-bot[bot]" <106172280+appsec-bot[bot]@users.noreply.github.com> Date: Tue, 24 May 2022 19:22:44 +0000 Subject: [PATCH] Update pre commit configuration file --- .pre-commit-config.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..7660c6a --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,30 @@ +repos: + # Websec hook is MANDATORY, DO NOT comment it. + - repo: https://github.com/mercadolibre/fury_websec-git-hooks + rev: v1.0.0 + hooks: + - id: pre_commit_hook + stages: [commit] + - id: post_commit_hook + stages: [post-commit] + + # Next hooks are Code Quality hooks. + # If you want them to run on each commit, uncomment them + # These are OPTIONAL. + + # - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks + # rev: v2.3.0 + # hooks: + # - id: pretty-format-java + # args: [--autofix] + # - repo: https://github.com/mercadolibre/fury_code-quality-pre-commit-java + # rev: 1.0.1 + # hooks: + # - id: checkstyle + # args: + # - -c + # - .code_quality/checkstyle_rules.xml + # - id: pmd + # args: + # - -R + # - .code_quality/pmd_rules.xml