chore: use `biome` instead of `rome`
[poolifier.git] / .lintstagedrc.js
index 91447fa063a13afc4db6e3df71af33d8b8926c74..ed9df14abdca715893d9d825deb72938a006c897 100644 (file)
@@ -1,8 +1,9 @@
 module.exports = {
-  '**/*.{ts,tsx,js,jsx,mjs,cjs}': [
-    'prettier --write',
+  '**/*.{ts,tsx,js,jsx,cjs,mjs}': [
+    'biome format --write --no-errors-on-unmatched',
     'ts-standard --fix',
     'eslint --cache --fix'
   ],
-  '**/*.{json,md,yml,yaml}': ['prettier --write']
+  '!(.vscode/**)**/*.json': ['biome format --write --no-errors-on-unmatched'],
+  '**/*.{md,yml,yaml}': ['prettier --cache --write']
 }