From: Jérôme Benoit Date: Tue, 11 Oct 2022 11:09:51 +0000 (+0200) Subject: Refine lint-staged configuration X-Git-Tag: v2.3.1~25 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8476f6f5b7af5f652096a966353effcc53a8dc38;p=poolifier.git Refine lint-staged configuration Signed-off-by: Jérôme Benoit --- diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 8fb42212..5335989f 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,4 +1,8 @@ module.exports = { - '**/*.{js,mjs,ts}': ['eslint --cache --fix'], + '**/*.{js,mjs,ts}': [ + 'prettier --write', + 'prettierx --write', + 'eslint --cache --fix' + ], '**/*.{json,md,yml}': ['prettier --write', 'prettierx --write'] }