diff --git a/.eslintrc.json b/.eslintrc.json index 6fecbe88..283fa26b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,7 +6,6 @@ "no-console": 0, "no-eval": 1, "no-process-env": 0, - "no-native-reassign": ["error", {"exceptions": ["Notification"]}], "no-underscore-dangle": 1, "react/jsx-boolean-value": [1, "always"], "react/jsx-indent": [2, 2], diff --git a/src/browser/js/notification.js b/src/browser/js/notification.js index 0c4c0dde..ca8a3730 100644 --- a/src/browser/js/notification.js +++ b/src/browser/js/notification.js @@ -6,7 +6,7 @@ const {remote} = require('electron'); const appIconURL = `file:///${remote.app.getAppPath()}/resources/appicon.png`; function override(eventHandlers) { - Notification = function constructor(title, options) { + Notification = function constructor(title, options) { // eslint-disable-line no-global-assign, no-native-reassign if (process.platform === 'win32') { // Replace with application icon. options.icon = appIconURL;