fix(linting): Updating linting dependencies and fixing linting issues

This commit is contained in:
Chris Troutner
2022-01-08 15:52:43 -08:00
parent 7df1a1a1ed
commit cbbb7f76e4
21 changed files with 10845 additions and 11715 deletions
+3 -3
View File
@@ -100,7 +100,7 @@ app.set('views', path.join(__dirname, 'views'))
app.set('view engine', 'jade')
// Mount the docs
app.use('/docs', express.static(`${__dirname}/../docs`))
app.use('/docs', express.static(`${__dirname.toString()}/../docs`))
// Log each request to the console with IP addresses.
// app.use(logger("dev"))
@@ -285,11 +285,11 @@ function onError (error) {
case 'EACCES':
console.error(`${bind} requires elevated privileges`)
process.exit(1)
// break
break
case 'EADDRINUSE':
console.error(`${bind} is already in use`)
process.exit(1)
// break
break
default:
throw error
}