From 9641cf7c1759aa086d05e1c151e58c7d6cc529c5 Mon Sep 17 00:00:00 2001 From: waldronmatt Date: Fri, 3 Nov 2023 15:25:07 -0400 Subject: [PATCH] fix(lint-staged.config.cjs): update nx cmds to match existing style --- lint-staged.config.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lint-staged.config.cjs b/lint-staged.config.cjs index dd3401d7..93ca0fe9 100644 --- a/lint-staged.config.cjs +++ b/lint-staged.config.cjs @@ -6,6 +6,6 @@ module.exports = { 'npx publint run ./', 'npx manypkg check', ], - '*.{cjs,js,jsx,ts,tsx}': ['nx affected:lint --fix --files'], - '*.{ts,tsx}': ['nx affected:test --fix --files'], + '*.{cjs,js,jsx,ts,tsx}': ['nx affected -t lint --fix --files'], + '*.{ts,tsx}': ['nx affected -t test --fix --files'], };