⬆️(frontend) upgrade frontend to ESLint 9

Manually upgrade the frontend codebase to ESLint 9.

Update the linting configuration and related code where required to
maintain compatibility with the new major version.
This commit is contained in:
lebaudantoine
2026-06-03 17:39:51 +02:00
committed by aleb_the_flash
parent 73a7841b96
commit 6ccc9ef0bf
18 changed files with 1696 additions and 775 deletions
@@ -12,7 +12,9 @@ export const useMuteParticipants = () => {
return Promise.all(promises)
} catch (error) {
console.error('An error occurred while muting participants :', error)
throw new Error('An error occurred while muting participants.')
throw new Error('An error occurred while muting participants.', {
cause: error,
})
}
}
return { muteParticipants }