From 44d57d8ab37b68435cc5fa98ac203b1af23c5b4e Mon Sep 17 00:00:00 2001 From: Adrian de la Rosa Date: Sun, 26 Apr 2026 16:14:02 +0200 Subject: [PATCH] chore: use explicit glob pattern in lint-staged config --- lint-staged.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint-staged.config.mjs b/lint-staged.config.mjs index 2def2b7..052e9d2 100644 --- a/lint-staged.config.mjs +++ b/lint-staged.config.mjs @@ -1,5 +1,5 @@ export default { - '*': ['prettier --write --ignore-unknown'], + '*.(css|js|json|jsx|md|mjs|mts|ts|tsx|yml|yaml)': ['prettier --write'], '*.(js|jsx|mjs|mts|ts|tsx)': [ 'eslint --fix --max-warnings 0 --no-warn-ignored', ],