From 95447947562e3882ac28f8b8b1105aed45fd54dd Mon Sep 17 00:00:00 2001 From: Ricardo Costa <48949546+ripecosta@users.noreply.github.com> Date: Mon, 12 Aug 2024 23:15:42 +0100 Subject: [PATCH] fix: lint-staged prettier command --- lint-staged.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint-staged.config.mjs b/lint-staged.config.mjs index c427777fb..3b8382d3b 100644 --- a/lint-staged.config.mjs +++ b/lint-staged.config.mjs @@ -1,4 +1,4 @@ export default { - '!*.?(c|m){js,ts}?(x)': ['prettier --write '], + '!*.?(c|m){js,ts}?(x)': ['prettier --write --ignore-unknown'], '*.?(c|m){js,ts}?(x)': ['prettier --write --ignore-unknown', 'eslint --cache --fix --env-info'], };