From 82ca318645fbf58466c2ac55279968d20d1bcf85 Mon Sep 17 00:00:00 2001 From: halykon <37235804+halykon@users.noreply.github.com> Date: Tue, 22 Aug 2023 05:51:47 -0700 Subject: [PATCH] disable comma-dangle for imports --- index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 0b8eb9b..298ec91 100644 --- a/index.js +++ b/index.js @@ -42,7 +42,13 @@ module.exports = { "array-callback-return": "off", "@typescript-eslint/space-infix-ops": "error", - "@typescript-eslint/comma-dangle": ["error", "always-multiline"], + "@typescript-eslint/comma-dangle": ["error", { + "arrays": "always-multiline", + "objects": "always-multiline", + "imports": "never", + "exports": "always-multiline", + "functions": "always-multiline" + }] "@typescript-eslint/consistent-type-definitions": ["error", "interface"], "@typescript-eslint/consistent-type-imports": ["error", {"prefer": "type-imports"}], "@typescript-eslint/no-inferrable-types": "error",