From 656227d431b029d1de01a692ac523e1daf113345 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Mon, 3 May 2021 15:52:58 +1000 Subject: [PATCH] Remove null-assertion warnings for tests --- .eslintrc.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 4c45bf5290..a83ecf731f 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -31,5 +31,13 @@ "error", { "ignoreDeclarationSort": true, "ignoreCase": true } ] - } + }, + "overrides": [ + { + "files": ["*.spec.ts", "**/test_utils/*.ts"], + "rules": { + "@typescript-eslint/no-non-null-assertion": "off" + } + } + ] }