Enable ESLint Promise plugin defaults (#22229)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-02-16 15:30:56 +09:00
1 parent 29ec2c4fb5
commit 5e1c0c3d94
2 files changed
+6 -1

No files matched your search

@@ -3,7 +3,7 @@
const checkNotificationPromise = () => {
try {
// eslint-disable-next-line promise/catch-or-return
// eslint-disable-next-line promise/catch-or-return, promise/valid-params
Notification.requestPermission().then();
} catch(e) {
return false;