From 5f2502e33bdba94240977be2abf2bdeb667e9f03 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 18 Mar 2026 19:38:16 +0200 Subject: [PATCH] fix(pre-commit): remove md from biome check file pattern Biome 2.x does not support Markdown checking, causing errors on CLAUDE.md. Remove md from the hook's file filter. Also includes minor autofix changes from biome (trailing newlines). --- .pre-commit-config.yaml | 2 +- config/exports | 2 +- config/karabiner/karabiner.json | 2 +- local/bin/dfm | 0 scripts/cleanup-old-version-managers.sh | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 config/exports mode change 100644 => 100755 local/bin/dfm mode change 100644 => 100755 scripts/cleanup-old-version-managers.sh diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae20969..84d13c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: name: Biome Check entry: yarn biome check --write --files-ignore-unknown=true --no-errors-on-unmatched language: system - files: \.(js|ts|jsx|tsx|json|md)$ + files: \.(js|ts|jsx|tsx|json)$ - id: markdown-table-formatter name: Markdown Table Formatter entry: yarn markdown-table-formatter diff --git a/config/exports b/config/exports old mode 100644 new mode 100755 index bb732bd..54d0d7d --- a/config/exports +++ b/config/exports @@ -511,4 +511,4 @@ if [ -f "$XDG_CONFIG_HOME/exports-local" ]; then source "$XDG_CONFIG_HOME/export # shellcheck source=./exports-lakka if [ -f "$XDG_CONFIG_HOME/exports-$(hostname)" ]; then source "$XDG_CONFIG_HOME/exports-$(hostname)"; fi # shellcheck source=./exports-lakka-secret -if [ -f "$XDG_CONFIG_HOME/exports-$(hostname)-secret" ]; then source "$XDG_CONFIG_HOME/exports-$(hostname)-secret"; fi \ No newline at end of file +if [ -f "$XDG_CONFIG_HOME/exports-$(hostname)-secret" ]; then source "$XDG_CONFIG_HOME/exports-$(hostname)-secret"; fi diff --git a/config/karabiner/karabiner.json b/config/karabiner/karabiner.json index 2e6943b..ca40844 100644 --- a/config/karabiner/karabiner.json +++ b/config/karabiner/karabiner.json @@ -65,4 +65,4 @@ "virtual_hid_keyboard": { "keyboard_type_v2": "iso" } } ] -} \ No newline at end of file +} diff --git a/local/bin/dfm b/local/bin/dfm old mode 100644 new mode 100755 diff --git a/scripts/cleanup-old-version-managers.sh b/scripts/cleanup-old-version-managers.sh old mode 100644 new mode 100755 index 70b242c..1aaf282 --- a/scripts/cleanup-old-version-managers.sh +++ b/scripts/cleanup-old-version-managers.sh @@ -135,4 +135,4 @@ if command -v brew &> /dev/null; then done fi -msgr yay "Cleanup complete! Run 'mise install' to set up tools via mise." \ No newline at end of file +msgr yay "Cleanup complete! Run 'mise install' to set up tools via mise."