From b4bb75826e017f6a51c5674bd69c502e152addf8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 23 Oct 2022 10:19:21 +0200 Subject: [PATCH] Refine lint-staged configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .lintstagedrc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 2dcf75bb..699dd0fa 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,5 +1,5 @@ { - "{src,test}/**/*.ts": ["prettier --write", "eslint --cache --fix"], + "{src,test}/**/*.{ts,tsx}": ["prettier --write", "eslint --cache --fix"], "**/*.{json,md,yml,yaml}": ["prettier --write"], - "**/*.{js,mjs}": ["prettier --write", "eslint --cache --fix"] + "**/*.{js,jsx,mjs,cjs}": ["prettier --write", "eslint --cache --fix"] } -- 2.34.1