[Glitch] Enable ESLint Promise plugin defaults
Port a80ff32d9a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
parent
63992c6900
commit
0bf3bbf662
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue