refactor: add prefer-const to .eslintrc + fix errors (#14880)

This commit is contained in:
Milan Burda 2018-10-02 03:56:31 +02:00 committed by Samuel Attard
parent 07161a8452
commit 3ad3ade828
47 changed files with 239 additions and 238 deletions

View file

@ -129,7 +129,7 @@ describe('BrowserWindow with affinity module', () => {
nodeIntegration: false
})
]).then(args => {
let w1 = args[1]
const w1 = args[1]
return Promise.all([
testNodeIntegration(false),
w1,
@ -169,7 +169,7 @@ describe('BrowserWindow with affinity module', () => {
nodeIntegration: true
})
]).then(args => {
let w1 = args[1]
const w1 = args[1]
return Promise.all([
testNodeIntegration(true),
w1,