Skip to content

High performance self-hosted photo and video management solution.

chore(web): organize prettier trigger order (#3538)

Alex88e92332ee94
diff --git a/web/.prettierrc b/web/.prettierrc
index a095d3a516..4d8d9e29b5 100644
--- a/web/.prettierrc
+++ b/web/.prettierrc
@@ -3,5 +3,6 @@
"trailingComma": "all",
"printWidth": 120,
"semi": true,
- "organizeImportsSkipDestructiveCodeActions": true
+ "organizeImportsSkipDestructiveCodeActions": true,
+ "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"]
}
diff --git a/web/package.json b/web/package.json
index 9ed929774b..31eae368dd 100644
--- a/web/package.json
+++ b/web/package.json
@@ -13,8 +13,8 @@
"check:all": "npm run check:code && npm run test:cov",
"lint": "eslint . --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
- "format": "prettier --check --plugin-search-dir=. .",
- "format:fix": "prettier --write --plugin-search-dir=. .",
+ "format": "prettier --check .",
+ "format:fix": "prettier --write .",
"test": "jest",
"test:cov": "jest --coverage",
"test:watch": "npm test -- --watch"