about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-16 01:30:56 -0500
committerClaire <claire.github-309c@sitedethib.com>2023-02-19 10:53:18 +0100
commit6fdd596cc88622abc585ef3da96699f8f987dfb5 (patch)
tree15ce4b572117d601a6fdded6f4cceb726bb06de2 /app/javascript
parent7452a959989f1259b68d08814437bab53ee89bb0 (diff)
[Glitch] Enable ESLint Promise plugin defaults
Port 5e1c0c3d946bef488f8e156ed3b5034740e731df to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/utils/notifications.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/utils/notifications.js b/app/javascript/flavours/glitch/utils/notifications.js
index 7634cac21..3cdf7caea 100644
--- a/app/javascript/flavours/glitch/utils/notifications.js
+++ b/app/javascript/flavours/glitch/utils/notifications.js
@@ -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;