From 53dbd1aedf0ae5dda4c79427182e9025269ea8d5 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alex.rose@rcsb.org> Date: Fri, 13 Mar 2020 16:27:17 -0700 Subject: [PATCH] ignore type params in eslint indent rule --- .eslintrc.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index bd27efce3..63e78508f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -16,7 +16,10 @@ "@typescript-eslint/class-name-casing": "off", "@typescript-eslint/indent": [ "warn", - 4 + 4, + { + "ignoredNodes": ["TSTypeParameterInstantiation"] + } ], "@typescript-eslint/member-delimiter-style": [ "off", @@ -35,7 +38,7 @@ "@typescript-eslint/quotes": [ "warn", "single", - { + { "avoidEscape": true, "allowTemplateLiterals": true } -- GitLab