From da9efcc3c5f2755b52c64fa8a4c5cfa23e2f9ce6 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Tue, 9 Jan 2024 18:53:20 +0300 Subject: [PATCH] Fix EditorConfig checker error --- .githooks/pre-commit | 2 +- .prettierignore | 1 + TODO.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.githooks/pre-commit b/.githooks/pre-commit index d6a3877..2d81782 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -13,7 +13,7 @@ fi # editorconfig echo "Checking by EditorConfig..." -ec -exclude 'node_modules' . &> /dev/null +ec -exclude 'node_modules' -exclude 'venv' . &> /dev/null if [[ "$?" == 0 ]]; then echo "✅ EditorConfig" diff --git a/.prettierignore b/.prettierignore index 8948a86..9b1caed 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,7 @@ **/.git **/node_modules **/dist +**/venv test/js/engine.js *.html diff --git a/TODO.md b/TODO.md index 978d0f8..921c944 100644 --- a/TODO.md +++ b/TODO.md @@ -1 +1 @@ -- [ ] Неправильно отрабатывает один из Git хуков +- [x] Неправильно отрабатывает один из Git хуков