chore: add 'use strict' to default app sources (#16346)

This commit is contained in:
Milan Burda 2019-01-10 20:54:34 +01:00 committed by Alexey Kuzmin
parent 2ee59cc82c
commit 102d8fe506
5 changed files with 16 additions and 0 deletions

8
default_app/.eslintrc Normal file
View file

@ -0,0 +1,8 @@
{
"parserOptions": {
"sourceType": "script"
},
"rules": {
"strict": ["error", "global"]
}
}

View file

@ -1,3 +1,5 @@
'use strict'
const { app, BrowserWindow } = require('electron')
const path = require('path')

View file

@ -1,3 +1,5 @@
'use strict'
const { app, dialog } = require('electron')
const fs = require('fs')

View file

@ -1,3 +1,5 @@
'use strict'
const { shell, Menu } = require('electron')
const isMac = process.platform === 'darwin'

View file

@ -1,3 +1,5 @@
'use strict'
const { remote, shell } = require('electron')
const fs = require('fs')
const path = require('path')