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" } }