Make the linter happy

Make the linter happy

diff --git a/app/assets/javascripts/discourse/widgets/default-notification-item.js.es6 b/app/assets/javascripts/discourse/widgets/default-notification-item.js.es6
index a48899f..114ff29 100644
--- a/app/assets/javascripts/discourse/widgets/default-notification-item.js.es6
+++ b/app/assets/javascripts/discourse/widgets/default-notification-item.js.es6
@@ -85,11 +85,11 @@ export const DefaultNotificationItem =
       return I18n.t(`notifications.${notificationName}`, { description, username });
     },
 
-    icon(notificationName, data) {
+    icon(notificationName) {
       return iconNode(`notification.${notificationName}`);
     },
 
-    title(notificationName, data) {
+    title(notificationName) {
       if (notificationName) {
         return I18n.t(`notifications.titles.${notificationName}`);
       } else {
diff --git a/app/assets/javascripts/discourse/widgets/invitee-accepted-notification-item.js.es6 b/app/assets/javascripts/discourse/widgets/invitee-accepted-notification-item.js.es6
index 7d2c5e6..b88d168 100644
--- a/app/assets/javascripts/discourse/widgets/invitee-accepted-notification-item.js.es6
+++ b/app/assets/javascripts/discourse/widgets/invitee-accepted-notification-item.js.es6
@@ -1,6 +1,5 @@
 import { createWidgetFrom } from "discourse/widgets/widget";
 import { DefaultNotificationItem } from "discourse/widgets/default-notification-item";
-import { postUrl } from "discourse/lib/utilities";
 import { userPath } from "discourse/lib/url";
 
 createWidgetFrom(DefaultNotificationItem, "invitee-accepted-notification-item", {
diff --git a/app/assets/javascripts/discourse/widgets/user-notifications.js.es6 b/app/assets/javascripts/discourse/widgets/user-notifications.js.es6
index ce11008..e487b6e 100644
--- a/app/assets/javascripts/discourse/widgets/user-notifications.js.es6
+++ b/app/assets/javascripts/discourse/widgets/user-notifications.js.es6
@@ -89,17 +89,17 @@ export default createWidget("user-notifications", {
       result.push(h("div.spinner-container", h("div.spinner")));
     } else if (state.notifications.length) {
       const notificationItems =
-        state.notifications.map(attrs => {
+        state.notifications.map(notificationAttrs => {
 
           const notificationName =
-            this.site.notificationLookup[attrs.notification_type];
+            this.site.notificationLookup[notificationAttrs.notification_type];
 
           const widgetNames = [
             `${notificationName.replace(/_/g, '-')}-notification-item`,
             "default-notification-item"
           ];
 
-          return this.attach(widgetNames, attrs);
+          return this.attach(widgetNames, notificationAttrs);
         });
 
       result.push(h("hr"));

GitHub sha: d025e188