From 6899ba4c54355388b87bf493172aea594711ccbc Mon Sep 17 00:00:00 2001 From: Jorge Lobo Date: Mon, 12 Jul 2021 11:08:47 +0200 Subject: [PATCH] F #5422: lint command (server+client) Signed-off-by: Jorge Lobo --- src/fireedge/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fireedge/package.json b/src/fireedge/package.json index 087a871c6a..881ceca8a1 100644 --- a/src/fireedge/package.json +++ b/src/fireedge/package.json @@ -11,9 +11,10 @@ "start": "cross-env NODE_ENV=production babel-node ./dist/index.js", "pot": "node potfile.js", "po2json": "node po2json.js", - "lint": "eslint ./src/client/", + "lint": "npm run lint-client && npm run lint-server", + "lint-client": "eslint ./src/client/", "lint-server": "eslint ./src/server/", - "lint-fix": "eslint ./src/client/ --fix" + "lint-fix": "eslint ./src/ --fix" }, "author": "opennebula.io", "license": "ISC",