From 027342920a344ce7a881576a7506d1b6a3c5a4ce Mon Sep 17 00:00:00 2001 From: StepSecurity Bot Date: Sat, 31 Aug 2024 21:18:17 -0700 Subject: [PATCH] [StepSecurity] Apply security best practices (#68) Signed-off-by: StepSecurity Bot --- .pre-commit-config.yaml | 14 ++++++++++++++ 1 file changed, 14 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..feaa0a9 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +repos: +- repo: https://github.com/gherynos/pre-commit-java + rev: v0.2.4 + hooks: + - id: Checkstyle +- repo: https://github.com/gitleaks/gitleaks + rev: v8.16.3 + hooks: + - id: gitleaks +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: end-of-file-fixer + - id: trailing-whitespace