From 88e92332ee941087fc9e6cc31fb851ea46b33fc1 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 3 Aug 2023 16:26:48 -0500 Subject: [PATCH] chore(web): organize prettier trigger order (#3538) * chore(web): organize prettier trigger order * fix package.json * fix package.json --- web/.prettierrc | 3 ++- web/package.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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"