From 255504a7af765f9dc45e3557564cd7bdc82cdf2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 16 Nov 2024 14:01:53 +0100 Subject: [PATCH] chore: 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 --- .lintstagedrc.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.lintstagedrc.js b/.lintstagedrc.js index e4d94c7..b54501d 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,5 +1,8 @@ export default { - '*.{js,jsx,cjs,mjs}': ['biome format --write', 'eslint --cache --fix'], + '*.{js,jsx,cjs,mjs}': [ + 'biome format --no-errors-on-unmatched --write', + 'eslint --cache --fix', + ], '*.{md,yml,yaml}': ['prettier --cache --write'], '*.json': ['biome format --write'], } -- 2.34.1