😎 Linting errors fixed

This commit is contained in:
akashnimare
2016-08-23 23:11:29 +05:30
parent dc6e603097
commit 773a06a47f
2 changed files with 10 additions and 1 deletions

View File

@@ -128,7 +128,7 @@ function createMainWindow() {
return win; return win;
} }
// TODO: fix certificate errors // TODO - fix certificate errors
app.commandLine.appendSwitch('ignore-certificate-errors', 'true'); app.commandLine.appendSwitch('ignore-certificate-errors', 'true');
app.on('window-all-closed', () => { app.on('window-all-closed', () => {

View File

@@ -44,6 +44,15 @@
}, },
"xo": { "xo": {
"esnext": true, "esnext": true,
"overrides":[
{
"files": "app/main/*.js",
"rules": {
"max-lines": ["warn", 350],
"no-warning-comments": 0
}
}
],
"envs": [ "envs": [
"node", "node",
"browser" "browser"