From 9f2ef9bbc251e3824f4306126fdc9dec95734a8a Mon Sep 17 00:00:00 2001 From: ubden Date: Mon, 13 Oct 2025 23:57:08 +0300 Subject: [PATCH] Update .pre-commit-config.yaml to expand exclusion patterns for linting hooks - Added additional file types to the exclusion list for the end-of-file-fixer and prettier hooks, including shell scripts, YAML files, and Docker-related files. - This enhances the linting process by preventing unnecessary checks on specific file types. --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93d166f9..43066b18 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: trailing-whitespace exclude: "\\.(md|txt)$" - id: end-of-file-fixer - exclude: "(dokploy/VERSION|\\.md|\\.json)$" + exclude: "(dokploy/VERSION|\\.md|\\.json|\\.sh|\\.yml|\\.yaml|Dockerfile|Containerfile|\\.dockerignore|\\.gitignore)$" - id: check-yaml exclude: "(docker-compose.*\\.yml|overrides/.*\\.yaml)$" - id: check-added-large-files @@ -27,7 +27,7 @@ repos: hooks: - id: prettier types_or: [yaml] - exclude: "(yarn\\.lock|\\.lock|apps\\.json|dokploy\\.json|docker-compose.*\\.yml|overrides/.*\\.yaml|\\.github/workflows/.*\\.yml)$" + exclude: "(yarn\\.lock|\\.lock|apps\\.json|dokploy\\.json|docker-compose.*\\.yml|overrides/.*\\.yaml|\\.github/workflows/.*\\.yml|\\.pre-commit-config\\.yaml)$" - repo: https://github.com/jumanjihouse/pre-commit-hooks rev: 3.0.0