From 2ff8b9d356f5c86e0067498b5162c890cfe7abf9 Mon Sep 17 00:00:00 2001 From: Timon Masberg Date: Wed, 13 Dec 2023 14:51:08 +0100 Subject: [PATCH] style: fix missing import sort plugin in prettier config --- .prettierrc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.prettierrc b/.prettierrc index dd73dac7..1913acf2 100644 --- a/.prettierrc +++ b/.prettierrc @@ -6,10 +6,15 @@ "proseWrap": "always", "overrides": [ { - "files": ["*.ts"], + "files": [ + "*.ts" + ], "options": { "parser": "typescript", - "importOrder": ["^@kordis/(.*)$", "^[./]"], + "importOrder": [ + "^@kordis/(.*)$", + "^[./]" + ], "importOrderSeparation": true, "importOrderSortSpecifiers": true, "importOrderParserPlugins": [ @@ -20,6 +25,9 @@ } } ], - "plugins": ["prettier-plugin-tailwindcss"], + "plugins": [ + "@trivago/prettier-plugin-sort-imports", + "prettier-plugin-tailwindcss" + ], "tailwindConfig": "./apps/spa/tailwind.config.js" }