Merge pull request #3470 from overleaf/eslint

Upgrade and configure ESLint

GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
This commit is contained in:
Alf Eaton
2020-12-16 03:08:28 +00:00
committed by Copybot
parent 1fcf94c3b9
commit 2ff1cf43d6
264 changed files with 3356 additions and 6520 deletions
@@ -1,5 +1,5 @@
/* eslint-disable
handle-callback-err,
node/handle-callback-err,
max-len,
no-unused-vars,
*/
@@ -102,14 +102,11 @@ export default App.controller('LaunchpadController', function(
$scope.statusChecks.websocket.error = 'socket.io not loaded'
return
}
const socket = io.connect(
null,
{
reconnect: false,
'connect timeout': 30 * 1000,
'force new connection': true
}
)
const socket = io.connect(null, {
reconnect: false,
'connect timeout': 30 * 1000,
'force new connection': true
})
socket.on('connectionAccepted', function() {
$scope.statusChecks.websocket.status = 'ok'