From b8c0c3c74636fd4b0586951011919bc05e1f651d Mon Sep 17 00:00:00 2001 From: Nathan Hammond Date: Fri, 2 Dec 2022 14:37:03 +0800 Subject: [PATCH] Update lint-staged behavior. (#2904) Before #2859: `eslint --quiet --fix` After #2859: `pnpm run lint --quiet --fix --` => `eslint . --ext js,jsx,ts,tsx --quiet --fix --` After this: `eslint --ext js,jsx,ts,tsx --quiet --fix --` Removes the sneaky `.`. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 787dd91c536d9..770abe53a1188 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ - "pnpm run lint --quiet --fix --", + "eslint --ext js,jsx,ts,tsx --quiet --fix --", "prettier --write" ], "*.{md,mdx,mjs,yml,yaml,css}": [