mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Installed some modules, eslint fix
This commit is contained in:
parent
ee0f0a9f3b
commit
c6db31221e
3 changed files with 5 additions and 3 deletions
|
@ -16,6 +16,6 @@ module.exports = {
|
|||
eqeqeq: ['warn', 'smart'],
|
||||
'no-unused-vars': 'off',
|
||||
'no-prototype-builtins': 'off',
|
||||
'id-length': ['error', { exceptions: ['x'] }],
|
||||
'id-length': ['error', { exceptions: [] }],
|
||||
},
|
||||
}
|
||||
|
|
|
@ -2,11 +2,13 @@
|
|||
"name": "node-ejs",
|
||||
"main": "server.js",
|
||||
"dependencies": {
|
||||
"babel-eslint": "^10.1.0",
|
||||
"better-sqlite3": "^6.0.1",
|
||||
"connect-busboy": "0.0.2",
|
||||
"cookie-parser": "^1.4.5",
|
||||
"cors": "^2.8.5",
|
||||
"ejs": "^1.0.0",
|
||||
"eslint": "^7.10.0",
|
||||
"express": "^4.6.1",
|
||||
"express-ejs-layouts": "^1.1.0",
|
||||
"sqlite3": "^4.1.1",
|
||||
|
|
|
@ -56,9 +56,9 @@ try {
|
|||
...modules,
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
} catch (err) {
|
||||
logger.Log('Failed to read extra modules file')
|
||||
console.log(e)
|
||||
console.log(err)
|
||||
}
|
||||
|
||||
// Setting up exits
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue