From 02f1261cfed3bb6a5f5376a4c0f31d2b521b7de4 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Mon, 22 Mar 2021 15:33:36 -0400 Subject: [PATCH] Update import sorting lint rule --- .eslintrc.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 4a5348dbf..960e747a6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -43,6 +43,11 @@ "react-native/no-color-literals": ["error"], "react-native/no-raw-text": ["error"], + "import/order": ["warn", { + "alphabetize": { "order": "asc", "caseInsensitive": true }, + "newlines-between": "always-and-inside-groups" + }], + "array-bracket-spacing": ["error", "always", { "objectsInArrays": false, "arraysInArrays": false }], "array-callback-return": ["error"], "arrow-spacing": ["error"], @@ -70,7 +75,6 @@ "quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": false }], "radix": ["error"], "semi": ["error"], - "sort-imports": ["warn", { "ignoreCase": true, "memberSyntaxSortOrder": ["all", "multiple", "single", "none"], "allowSeparatedGroups": true }], "space-before-blocks": ["error"], "space-in-parens": ["error"], "space-infix-ops": ["error"],