react-express-mongodb: lint sources
to fix some syntax issues in the existing code, the commit put in place prettier and format the code Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
committed by
Guillaume Lours
parent
be8875c9b6
commit
be7f09b6ba
@@ -5,6 +5,8 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"format": "prettier --write {**/,}*.js",
|
||||
"lint": "prettier --check {**/,}*.js",
|
||||
"dev": "nodemon server.js"
|
||||
},
|
||||
"author": "Syed Afzal",
|
||||
@@ -22,6 +24,7 @@
|
||||
"validator": "^10.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.3"
|
||||
"nodemon": "^2.0.3",
|
||||
"prettier": "^2.0.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user