Skip to content

Commit

Permalink
ci: add more files to lint staged filter (#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf authored Jul 10, 2024
1 parent c3ce80e commit 2d65587
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lint-staged.config.mjs
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2d65587

Please sign in to comment.