From: Jérôme Benoit Date: Mon, 24 Apr 2023 23:11:06 +0000 (+0200) Subject: build(ui): order lint-staged X-Git-Tag: v1.2.12~81 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=884c3516c30c60d8589a4f82e3a42a552b0b2875;p=e-mobility-charging-stations-simulator.git build(ui): order lint-staged Signed-off-by: Jérôme Benoit --- diff --git a/ui/web/.lintstagedrc.js b/ui/web/.lintstagedrc.js index af444c57..022afa74 100644 --- a/ui/web/.lintstagedrc.js +++ b/ui/web/.lintstagedrc.js @@ -1,5 +1,5 @@ module.exports = { + '*.{json,md,yml,yaml}': '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', - '*.{json,md,yml,yaml}': 'prettier --cache --write', };