ci(eslint): fail on warnings

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-01-23 22:51:21 +01:00 committed by Philip Molares
parent bf743b4266
commit 8ea28bf1c7

View file

@ -13,7 +13,7 @@
"start:dev": "rimraf dist && nest start --watch", "start:dev": "rimraf dist && nest start --watch",
"start:debug": "rimraf dist && nest start --debug --watch", "start:debug": "rimraf dist && nest start --debug --watch",
"start:prod": "node dist/main", "start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"", "lint": "eslint --max-warnings 0 \"{src,apps,libs,test}/**/*.ts\"",
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",