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