From 3091262d66e2c0484c69e34030ce630a26d3eb31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 25 Apr 2023 00:58:35 +0200 Subject: [PATCH] build(ui): refine lint-staged configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ui/web/.lintstagedrc.js | 1 + ui/web/.vscode/settings.json | 9 +-------- 2 files changed, 2 insertions(+), 8 deletions(-) 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"] } -- 2.34.1