🎨 Backend eslint compliant

This commit is contained in:
2022-01-13 01:06:49 +03:00
parent 9150fd813c
commit 6c1d62b389
3 changed files with 3048 additions and 140 deletions

View File

@@ -9,6 +9,8 @@
"author": "Anatoly Kopyl",
"license": "ISC",
"devDependencies": {
"eslint": "^8.6.0",
"eslint-config-airbnb-base": "^15.0.0",
"nodemon": "^2.0.7"
},
"dependencies": {
@@ -20,5 +22,16 @@
"express": "^4.17.1",
"express-session": "^1.17.1",
"mongodb": "^3.6.5"
},
"eslintConfig": {
"extends": "airbnb-base",
"rules": {
"no-underscore-dangle": [
"off"
],
"no-console": [
"off"
]
}
}
}