From: Jérôme Benoit Date: Sun, 23 Oct 2022 08:19:21 +0000 (+0200) Subject: Refine lint-staged configuration X-Git-Tag: v1.1.86~23 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b4bb75826e017f6a51c5674bd69c502e152addf8;p=e-mobility-charging-stations-simulator.git Refine lint-staged configuration Signed-off-by: Jérôme Benoit --- 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"] }