From: Jérôme Benoit Date: Thu, 7 May 2026 07:24:19 +0000 (+0200) Subject: chore: simplify root lint-staged config to cover all TS files X-Git-Tag: cli@v4.7.0~25 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2d7683c76ecb65067f3b8a13417b9279f3657733;p=e-mobility-charging-stations-simulator.git chore: simplify root lint-staged config to cover all TS files --- diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 79297cee..f78a7122 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,5 +1,4 @@ export default { - '**/*.{js,jsx,cjs,mjs}': ['prettier --cache --write', 'eslint --cache --fix'], + '**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}': ['prettier --cache --write', 'eslint --cache --fix'], '**/*.{json,md,yml,yaml}': ['prettier --cache --write'], - '{src,tests}/**/*.{ts,tsx,cts,mts}': ['prettier --cache --write', 'eslint --cache --fix'], }