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