From a859475cf506dc98bc016597456672d161c08cae Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Mon, 12 Feb 2024 15:04:49 -0800 Subject: [PATCH] lint: work around Endo lint bug https://github.com/endojs/endo/pull/2032 --- .eslintrc.cjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 3e04adce8362..3c6f9098ddb6 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -47,6 +47,9 @@ module.exports = { plugins: ['@typescript-eslint', 'prettier'], extends: ['@agoric', 'plugin:ava/recommended'], rules: { + // UNTIL on Endo with https://github.com/endojs/endo/pull/2032 + '@endo/no-nullish-coalescing': 'off', + '@typescript-eslint/prefer-ts-expect-error': 'warn', '@typescript-eslint/no-floating-promises': 'error', // so that floating-promises can be explicitly permitted with void operator