diff --git a/.prettierrc b/.prettierrc index f441937b..4becd16d 100644 --- a/.prettierrc +++ b/.prettierrc @@ -5,5 +5,6 @@ "singleQuote": true, "importOrder": ["^@?fastify", "^@?graasp", "^(@/)|[./]"], "importOrderSeparation": true, - "importOrderSortSpecifiers": true + "importOrderSortSpecifiers": true, + "plugins": ["@trivago/prettier-plugin-sort-imports"] } diff --git a/package.json b/package.json index 103a3686..584236fd 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "husky": "8.0.3", "jest": "29.6.1", "jsdom": "19.0.0", - "prettier": "3.0.0", + "prettier": "3.0.1", "ts-jest": "29.1.1", "ts-node": "10.9.1", "tsc-alias": "1.8.7", diff --git a/yarn.lock b/yarn.lock index 99db73e7..f6928772 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1750,7 +1750,7 @@ __metadata: jest: 29.6.1 js-cookie: 3.0.5 jsdom: 19.0.0 - prettier: 3.0.0 + prettier: 3.0.1 qs: 6.11.2 ts-jest: 29.1.1 ts-node: 10.9.1 @@ -7125,12 +7125,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:3.0.0": - version: 3.0.0 - resolution: "prettier@npm:3.0.0" +"prettier@npm:3.0.1": + version: 3.0.1 + resolution: "prettier@npm:3.0.1" bin: prettier: bin/prettier.cjs - checksum: 6a832876a1552dc58330d2467874e5a0b46b9ccbfc5d3531eb69d15684743e7f83dc9fbd202db6270446deba9c82b79d24383d09924c462b457136a759425e33 + checksum: e1f3f16c7fe0495de3faa182597871f74927d787cce3c52095a66ff5d7eacc05173371d5f58bf12141a0a1b6bfe739a338531d6cf18b92c7256c1319f2c84e73 languageName: node linkType: hard