Skip to content

Commit

Permalink
chore: enable no-extra-boolean-cast as it becames recomended
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-sanderson committed Nov 6, 2024
1 parent 9b3cb8e commit 742e8d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export const CollapsibleOnboardingCard = ({

{heading && (
<H2
margin={{ bottom: !!description ? spacings.sm : spacings.xxl }}
margin={{ bottom: description ? spacings.sm : spacings.xxl }}
align="center"
>
{heading}
Expand Down

0 comments on commit 742e8d1

Please sign in to comment.