Skip to content

Commit

Permalink
Chore: Fix prettier/lint-staged failing on unknown files
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Sep 27, 2024
1 parent 66a675e commit 0218e93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
.eslintignore
.gitattributes
.gitignore
.husky
.prettierignore
.yarn
*.gz
*.zip
*.png
coverage
yarn.lock
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 0218e93

Please sign in to comment.