build: switch from prettier to rome as code formatter
[poolifier.git] / .lintstagedrc.js
index 5455fcaa785dae7bd8a7460c2c70b15ac66f72b7..a247d74dd636806f0d1692053b2f87922424c93b 100644 (file)
@@ -1,8 +1,8 @@
 module.exports = {
   '**/*.{ts,tsx,js,jsx,cjs,mjs}': [
-    'prettier --cache --write',
+    'rome format --write',
     'ts-standard --fix',
     'eslint --cache --fix'
   ],
-  '**/*.{json,md,yml,yaml}': ['prettier --cache --write']
+  '**/*.{json,md,yml,yaml}': ['rome format --write']
 }