From 485ba1505791226d9cd009e4a7f7a3ad227126d3 Mon Sep 17 00:00:00 2001 From: Pavel Bezliapovich Date: Tue, 29 Oct 2024 10:22:25 +0100 Subject: [PATCH] chore: Updated pre-commit hooks to match java-repo-template Refs: #72 --- .pre-commit-config.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1c3cb0..3453ed1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,6 +8,8 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: + - id: check-added-large-files + - id: check-case-conflict - id: check-merge-conflict - id: trailing-whitespace - id: check-xml @@ -15,6 +17,19 @@ repos: - id: check-yaml - id: no-commit-to-branch - id: mixed-line-ending + - id: end-of-file-fixer + - repo: local + hooks: + - id: sensitive-data-leak-urls + name: Sensitive data leak - URLs + entry: (?