From de0ff06249cbc7418523691382fe0eaac9f44fdc Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 25 Aug 2022 17:54:30 +0200 Subject: [PATCH] Added lint-fix-all command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6ab3d73..a240b92 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "test:e2e": "jest --config ./test/jest-e2e.json", "webpack": "webpack --config webpack.config.ts", "genapi": "ts-node tools/apigen.ts", - "updateDto": "cd dto && yarn build && cd .. && yarn add ./dto && cd frontend && yarn add ../dto" + "updateDto": "cd dto && yarn build && cd .. && yarn add ./dto && cd frontend && yarn add ../dto", + "lint-fix-all": "yarn lint-fix && cd dto && yarn lint-fix && cd ../frontend && yarn lint --fix" }, "dependencies": { "@fastify/multipart": "^7.1.0",