From 5c2737ffa5e97848ef87999c618d141dfba5811f Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Sat, 12 Jul 2025 20:56:20 +0200 Subject: [PATCH] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5418deaea..094e9b2fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: - --skip="./.*,*.csv,*.json,*.ambr" - --quiet-level=2 files: \.(html|css|js|py|md)$ - exclude: (.vscode|.devcontainer|stirling-pdf/src/main/resources|Dockerfile|.*/pdfjs.*|.*/thirdParty.*|bootstrap.*|.*\.min\..*|.*diff\.js) + exclude: (.vscode|.devcontainer|app/core/src/main/resources|app/proprietary/src/main/resources|Dockerfile|.*/pdfjs.*|.*/thirdParty.*|bootstrap.*|.*\.min\..*|.*diff\.js) - repo: https://github.com/gitleaks/gitleaks rev: v8.27.2 hooks: @@ -34,3 +34,13 @@ repos: - id: trailing-whitespace files: ^.*(\.js|\.java|\.py|\.yml)$ exclude: ^(.*/pdfjs.*|.*/thirdParty.*|bootstrap.*|.*\.min\..*|.*diff\.js|\.github/workflows/.*$) + # - repo: https://github.com/thibaudcolas/pre-commit-stylelint + # rev: v16.21.1 + # hooks: + # - id: stylelint + # additional_dependencies: + # - stylelint@16.21.1 + # - stylelint-config-standard@38.0.0 + # - "@stylistic/stylelint-plugin@3.1.3" + # files: \.(css)$ + # args: [--fix] \ No newline at end of file