From 89be2f3215015fa5fa3100f7321cf80015b17e79 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 4 Mar 2023 15:11:05 +0530 Subject: [PATCH] chore: add `consistent-type-imports` rule in eslint Signed-off-by: Pranav C --- packages/nocodb/.eslintrc.json | 43 ++-------------------------------- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/packages/nocodb/.eslintrc.json b/packages/nocodb/.eslintrc.json index 9e367810c2..144c3a0f87 100644 --- a/packages/nocodb/.eslintrc.json +++ b/packages/nocodb/.eslintrc.json @@ -57,46 +57,7 @@ "no-useless-catch": "off", "no-empty": "off", "@typescript-eslint/no-empty-function": "off", - "import/order": "off" - - -// "@typescript-eslint/member-ordering": [ -// "warn" , -// { -// "default": { -// "memberTypes": [ "static-field", -// "public-field", -// "instance-field", -// "protected-field", -// "private-field", -// "abstract-field", -// -// "public-static-field", -// "protected-static-field", -// "private-static-field", -// "public-instance-field", -// "public-decorated-field", -// "public-abstract-field", -// "protected-instance-field", -// "protected-decorated-field", -// "protected-abstract-field", -// "private-instance-field", -// "private-decorated-field", -// "private-abstract-field", -// -// -// -// "constructor", -// -// "public-static-method", -// "protected-static-method", -// "private-static-method", -// "public-method", -// "protected-method", -// "private-method" -// ] -// } -// } -// ] + "import/order": "off", + "@typescript-eslint/consistent-type-imports": "warn" } }