From: Jérôme Benoit Date: Mon, 24 Apr 2023 22:58:35 +0000 (+0200) Subject: build(ui): refine lint-staged configuration X-Git-Tag: v1.2.12~84 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3091262d66e2c0484c69e34030ce630a26d3eb31;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 8e97502a..2018e319 100644 --- a/ui/web/.lintstagedrc.js +++ b/ui/web/.lintstagedrc.js @@ -1,4 +1,5 @@ module.exports = { '*.{js,jsx,vue,cjs,mjs,ts,tsx,cts,mts}': 'eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore', + '*.{json,md,yml,yaml}': 'prettier --cache --write', }; diff --git a/ui/web/.vscode/settings.json b/ui/web/.vscode/settings.json index 6ff436bb..9ed868ae 100644 --- a/ui/web/.vscode/settings.json +++ b/ui/web/.vscode/settings.json @@ -2,12 +2,5 @@ "editor.codeActionsOnSave": { "source.fixAll": true }, - "cSpell.words": [ - "composables", - "iccid", - "idtag", - "imsi", - "ocpp", - "RFID" - ] + "cSpell.words": ["composables", "iccid", "idtag", "imsi", "ocpp", "RFID"] }