From 742e8d1b5cfe6a40ea23c1b1db193ee0114eb263 Mon Sep 17 00:00:00 2001 From: Peter Sanderson Date: Wed, 6 Nov 2024 11:46:31 +0100 Subject: [PATCH] chore: enable no-extra-boolean-cast as it becames recomended --- .eslintrc.js | 1 + .../src/components/onboarding/CollapsibleOnboardingCard.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 58ac66586a7..5ecec96d0eb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -58,6 +58,7 @@ module.exports = { 'eslint-local-rules/*', ], rules: { + 'no-extra-boolean-cast': 'error', 'no-irregular-whitespace': 'error', 'no-empty': 'error', '@typescript-eslint/no-empty-object-type': 'off', diff --git a/packages/suite/src/components/onboarding/CollapsibleOnboardingCard.tsx b/packages/suite/src/components/onboarding/CollapsibleOnboardingCard.tsx index 9fd0058a807..c37bd1e7480 100644 --- a/packages/suite/src/components/onboarding/CollapsibleOnboardingCard.tsx +++ b/packages/suite/src/components/onboarding/CollapsibleOnboardingCard.tsx @@ -242,7 +242,7 @@ export const CollapsibleOnboardingCard = ({ {heading && (

{heading}