From d4e638e0a4fbe296249ab433d6b321a6b435da66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Tue, 7 Jan 2020 11:15:23 +0800 Subject: [PATCH] fix: lint-staged duplicated config close #5860 --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 239afcef..f61715d1 100644 --- a/package.json +++ b/package.json @@ -49,8 +49,7 @@ "prettier --write", "git add" ], - "**/*.{js,jsx}": "npm run lint-staged:js", - "**/*.{js,ts,tsx}": "npm run lint-staged:js" + "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js" }, "browserslist": [ "> 1%",