From 2d655871058df8682bcfaa345aea51866c8e2dfb Mon Sep 17 00:00:00 2001 From: Dominik Stumpf <122315398+dominik-stumpf@users.noreply.github.com> Date: Wed, 10 Jul 2024 17:47:57 +0200 Subject: [PATCH] ci: add more files to lint staged filter (#1372) --- lint-staged.config.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lint-staged.config.mjs b/lint-staged.config.mjs index e7b2e62e06..29eeab61e4 100644 --- a/lint-staged.config.mjs +++ b/lint-staged.config.mjs @@ -1,6 +1,7 @@ const config = { - "*.{mjs,js,jsx,ts,tsx}": ["biome check --write ."], - "*.json": ["biome format --write ."], + "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [ + "biome check --write --no-errors-on-unmatched", // Format, sort imports, lint, and apply safe fixes + ], } export default config