From 0218e938d76c0d92005e3d5a06f8c06796430481 Mon Sep 17 00:00:00 2001 From: Simon Boudrias Date: Fri, 27 Sep 2024 15:52:30 -0400 Subject: [PATCH] Chore: Fix prettier/lint-staged failing on unknown files --- .prettierignore | 8 -------- package.json | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.prettierignore b/.prettierignore index a7cde37b2..eb13b895e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,11 +1,3 @@ -.eslintignore -.gitattributes -.gitignore .husky -.prettierignore .yarn -*.gz -*.zip -*.png coverage -yarn.lock diff --git a/package.json b/package.json index 8c98fab42..befe56c10 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "url": "https://github.com/SBoudrias/Inquirer.js.git" }, "lint-staged": { - "*": "yarn prettier --write", + "*": "yarn prettier --write --ignore-unknown", "*.m?[jt]sx?": "yarn eslint --fix" } }