From e12083e3ba03db2cb5dfbbedfa9da8b574ee51a9 Mon Sep 17 00:00:00 2001 From: Proddy Date: Sat, 22 Apr 2023 09:45:54 +0200 Subject: [PATCH] added more eslint rules --- interface/.eslintrc.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/interface/.eslintrc.json b/interface/.eslintrc.json index c207db972..32758fa78 100644 --- a/interface/.eslintrc.json +++ b/interface/.eslintrc.json @@ -59,6 +59,20 @@ "prefer": "type-imports" } ], + "import/order": [ + "warn", + { + "groups": ["builtin", "external", "parent", "sibling", "index", "object", "type"], + "pathGroups": [ + { + "pattern": "@/**/**", + "group": "parent", + "position": "before" + } + ], + "alphabetize": { "order": "asc" } + } + ], // "autofix/no-unused-vars": [ // "error", // {