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