about summary refs log tree commit diff
path: root/app/javascript/mastodon/actions/alerts.js
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2022-12-18 10:51:37 -0500
committerGitHub <noreply@github.com>2022-12-19 00:51:37 +0900
commit06b68490d1957d680adc0c0c4ed2c84641de2056 (patch)
tree95127495c9e773fc71a38f3df2a833bfc6d03d09 /app/javascript/mastodon/actions/alerts.js
parent2889c686108e89a87317505f93b841f5a8a6649b (diff)
Enable eslint:recommended ruleset (#22433)
* Enable ESLint recommended ruleset

* Disable failing ESLint recommended rules

* Remove rules shadowed by eslint:recommended
Diffstat (limited to 'app/javascript/mastodon/actions/alerts.js')
-rw-r--r--app/javascript/mastodon/actions/alerts.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/mastodon/actions/alerts.js b/app/javascript/mastodon/actions/alerts.js
index 1670f9c10..0220b0af5 100644
--- a/app/javascript/mastodon/actions/alerts.js
+++ b/app/javascript/mastodon/actions/alerts.js
@@ -17,13 +17,13 @@ export function dismissAlert(alert) {
     type: ALERT_DISMISS,
     alert,
   };
-};
+}
 
 export function clearAlert() {
   return {
     type: ALERT_CLEAR,
   };
-};
+}
 
 export function showAlert(title = messages.unexpectedTitle, message = messages.unexpectedMessage, message_values = undefined) {
   return {
@@ -32,7 +32,7 @@ export function showAlert(title = messages.unexpectedTitle, message = messages.u
     message,
     message_values,
   };
-};
+}
 
 export function showAlertForError(error, skipNotFound = false) {
   if (error.response) {