From: Jérôme Benoit Date: Mon, 24 Apr 2023 23:14:48 +0000 (+0200) Subject: build(ui): refine lint-staged configuration X-Git-Tag: v1.2.12~80 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7eb60c05967f8d03f8a2d7aad26ac42383c60a3e;p=e-mobility-charging-stations-simulator.git build(ui): refine lint-staged configuration Signed-off-by: Jérôme Benoit --- diff --git a/ui/web/.lintstagedrc.js b/ui/web/.lintstagedrc.js index 022afa74..5b460e07 100644 --- a/ui/web/.lintstagedrc.js +++ b/ui/web/.lintstagedrc.js @@ -1,5 +1,5 @@ module.exports = { - '*.{json,md,yml,yaml}': 'prettier --cache --write', + '*.{json,md,yml,yaml,html,js,jsx,cjs,mjs}': 'prettier --cache --write', '*.{js,jsx,vue,cjs,mjs,ts,tsx,cts,mts}': 'eslint . --cache --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore', };