mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-22 10:08:55 +00:00
Change eslint to disallow unused variables
This commit is contained in:
parent
99fcb60a44
commit
8ef3137d02
@ -32,7 +32,6 @@ module.exports = {
|
||||
'no-throw-literal': 0,
|
||||
camelcase: 0,
|
||||
'valid-jsdoc': 0,
|
||||
'no-unused-vars': 1,
|
||||
'no-path-concat': 1,
|
||||
'quote-props': [2, 'as-needed']
|
||||
},
|
||||
|
@ -70,7 +70,7 @@ app.on('login', (event, webContents, request, authInfo, callback) => {
|
||||
createLoginWindow(callback);
|
||||
});
|
||||
|
||||
ipcMain.on('notification', (event, title, opts) => {
|
||||
ipcMain.on('notification', () => {
|
||||
if (!isOSX() || mainWindow.isFocused()) {
|
||||
return;
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ setNotificationCallback((title, opt) => {
|
||||
ipcRenderer.send('notification', title, opt);
|
||||
});
|
||||
|
||||
document.addEventListener('DOMContentLoaded', event => {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
// do things
|
||||
|
||||
window.addEventListener('contextmenu', event => {
|
||||
|
Loading…
Reference in New Issue
Block a user