From 7cd29c11904b8d61c8fe1910fccb1bb78e6b1012 Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Sun, 23 Apr 2023 19:18:53 -0600 Subject: [PATCH] configure ban-ts-comment in package.json, https://github.com/phetsims/chipper/issues/1389 --- package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a9f47c3..b599198 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,15 @@ ], "rules": { "@typescript-eslint/no-explicit-any": "error", - "@typescript-eslint/ban-ts-comment": "error" + "@typescript-eslint/ban-ts-comment": [ + "error", + { + "ts-expect-error": true, + "ts-ignore": true, + "ts-check": true, + "ts-nocheck": true + } + ] } } ]