From 64dad18216ed59c65290aef0193f4d1d10407869 Mon Sep 17 00:00:00 2001 From: Andrea Fassina Date: Thu, 24 Aug 2023 21:35:00 +0200 Subject: [PATCH] chore: split lint and lint:fix command --- package.json | 1 + packages/api-gateway/package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fce8264..fa546f4 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "clean": "rm -rf node_modules packages/*/node_modules", "format": "pnpm run workspace -- format", "lint": "pnpm run workspace -- lint", + "lint:fix": "pnpm run workspace -- lint:fix", "prepare": "husky install", "test": "pnpm run workspace -- test", "start": "pnpm run workspace -- start", diff --git a/packages/api-gateway/package.json b/packages/api-gateway/package.json index 6e2fe6d..e264b1b 100644 --- a/packages/api-gateway/package.json +++ b/packages/api-gateway/package.json @@ -11,7 +11,8 @@ "start:dev:db": "bash ./scripts/start-db.sh", "start:debug": "nest start --debug --watch", "start:prod": "node dist/main", - "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", + "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"", + "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "pnpm run lint && c8 tap" }, "author": "Andrea Fassina ",