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 ",