diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 253c6ce4..9b5d474d 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -30,6 +30,14 @@ module.exports = {
argsIgnorePattern: '^_',
},
],
+ '@typescript-eslint/no-misused-promises': [
+ 'error',
+ {
+ checksConditionals: true,
+ checksVoidReturn: false,
+ checksSpreads: true,
+ },
+ ],
},
root: true,
}
diff --git a/app/components/AudioInputSelector.tsx b/app/components/AudioInputSelector.tsx
index 33442046..627d85c7 100644
--- a/app/components/AudioInputSelector.tsx
+++ b/app/components/AudioInputSelector.tsx
@@ -29,7 +29,6 @@ export const AudioInputSelector: FC<{ id?: string }> = ({ id }) => {
return (
- {/* eslint-disable-next-line @typescript-eslint/no-misused-promises */}