From 68e902756d4d7c617cfec42a5eaaf759a82d3a5a Mon Sep 17 00:00:00 2001 From: toririm Date: Sun, 8 Sep 2024 12:22:23 +0900 Subject: [PATCH] add: import fmt conf --- .prettierrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.prettierrc b/.prettierrc index d93c5dc4..76501b0d 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,5 +2,30 @@ "plugins": [ "prettier-plugin-tailwindcss", "@ianvs/prettier-plugin-sort-imports" + ], + "importOrder": [ + "", + "", + "", + "", + "^[~]", + "", + "^[.]" + ], + "overrides": [ + { + "files": "**/*.test.ts", + "options": { + "importOrder": [ + "^vitest", + "", + "", + "", + "^[~]", + "", + "^[.]" + ] + } + } ] }