Skip to content

Commit

Permalink
chore: split lint and lint:fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
fasenderos committed Aug 24, 2023
1 parent 808a62b commit 64dad18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <andrea.fassina82@gmail.com>",
Expand Down

0 comments on commit 64dad18

Please sign in to comment.