From 0072e6015bd6e32406c33060eb9ab02c73744444 Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:21:28 -0500 Subject: [PATCH] test: disable new failing default typescript eslint rules to allow upgrading The latest major (v6) of the typescript eslint plugin contains several new rule defaults that currently cause errors in the repository code while linting. To facilitate an upgrade, these rules are now preemptively disabled. Once the update is complete, these rules can be evaluated for inclusion. The rules are as follows: * @typescript-eslint/no-unsafe-enum-comparison * @typescript-eslint/no-redundant-type-constituents * @typescript-eslint/no-base-to-string --- .eslintrc.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 954eb0855a7b..fe7d80c8449d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -103,7 +103,10 @@ "@typescript-eslint/require-await": "off", "@typescript-eslint/restrict-plus-operands": "off", "@typescript-eslint/restrict-template-expressions": "off", - "@typescript-eslint/unbound-method": "off" + "@typescript-eslint/unbound-method": "off", + "@typescript-eslint/no-unsafe-enum-comparison": "off", + "@typescript-eslint/no-redundant-type-constituents": "off", + "@typescript-eslint/no-base-to-string": "off" }, "overrides": [ {