From bf10aa2b83b1c837245df8f6a53efd1acb33356b Mon Sep 17 00:00:00 2001 From: klinch0 <68821526+klinch0@users.noreply.github.com> Date: Mon, 21 Oct 2024 10:00:05 +0300 Subject: [PATCH] fix exclude for templates (#434) ## Summary by CodeRabbit - **Chores** - Updated pre-commit hook configurations for improved line ending handling and markdown linting. - Broadened exclusion criteria for YAML files in templates directories. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c669497f..589b9e24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: - id: mixed-line-ending args: [--fix=lf] - id: check-yaml - exclude: packages/apps/postgres/templates/init-script.yaml + exclude: '^.*templates/.*\.yaml$' args: [--unsafe] - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.41.0