Fix eslint error

This commit is contained in:
Yuya Ochiai 2016-11-07 23:13:19 +09:00
parent e535608328
commit efa1171763
2 changed files with 1 additions and 2 deletions

View file

@ -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],

View file

@ -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;