From 3ee8bd19894075cb2a034fc02b26c1c83c5cd44b Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Tue, 31 Oct 2023 21:23:20 +0100 Subject: [PATCH] also group $ or @ imports --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f552108..85a04e8 100644 --- a/index.js +++ b/index.js @@ -6,5 +6,5 @@ export default { trailingComma: 'all', plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-packagejson'], - importOrder: ['', '', '', '', '^[.]'], + importOrder: ['', '', '', '', '^[@$]', '', '^[.]'], } diff --git a/package.json b/package.json index 080262d..e7d57d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nicco.io/prettier", - "version": "1.0.0", + "version": "1.0.1", "description": "Personal Prettier config", "keywords": [ "prettier",