Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user