From: Jérôme Benoit Date: Thu, 28 Dec 2023 12:57:33 +0000 (+0100) Subject: build: refine lint-staged configuration X-Git-Tag: v1.2.31~24 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f4cae986c1ae568c8ba6da39fbb579faea8a0a81;p=e-mobility-charging-stations-simulator.git build: refine lint-staged configuration Signed-off-by: Jérôme Benoit --- diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 2a11a898..08c56631 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,5 +1,5 @@ export default { - '{src,tests}/**/*.{ts,tsx,cts,mts}': ['prettier --cache --write' /* , 'eslint --cache --fix' */], + '{src,tests}/**/*.{ts,tsx,cts,mts}': ['prettier --cache --write', 'eslint --cache --fix'], '**/*.{json,md,yml,yaml}': ['prettier --cache --write'], '**/*.{js,jsx,cjs,mjs}': ['prettier --cache --write', 'eslint --cache --fix'], };