From bb008130ee5903bae626f1ef63f9e7e58e629d95 Mon Sep 17 00:00:00 2001 From: Simon Golms Date: Mon, 16 Oct 2023 15:47:18 +0200 Subject: [PATCH] feat(perfectionist): extend rule `sort-named-imports` - set `ignore-alias` option --- base/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/index.js b/base/index.js index 214f645..3d40155 100644 --- a/base/index.js +++ b/base/index.js @@ -114,7 +114,7 @@ module.exports = { "perfectionist/sort-jsx-props": ["error", { "ignore-case": true, type: "natural" }], "perfectionist/sort-maps": ["error", { "ignore-case": true, type: "natural" }], "perfectionist/sort-named-exports": ["error", { "ignore-case": true, type: "natural" }], - "perfectionist/sort-named-imports": ["error", { "ignore-case": true, type: "natural" }], + "perfectionist/sort-named-imports": ["error", { "ignore-alias": true, "ignore-case": true, type: "natural" }], "perfectionist/sort-object-types": ["error", { "ignore-case": true, type: "natural" }], "perfectionist/sort-objects": ["error", { "ignore-case": true, "partition-by-comment": true, type: "natural" }], "perfectionist/sort-svelte-attributes": ["error", { "ignore-case": true, type: "natural" }],