CLI: Add --ignore-unknown (#8829)

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
This commit is contained in:
authored and GitHub committed 2020-08-21 09:11:59 +08:00
1 parent 7bf1803a11
commit e3d1f0dee0
19 files changed
+212 -18

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ and add this config to your `package.json`:
{
"husky": {
"hooks": {
"pre-commit": "git-format-staged -f 'prettier --stdin --stdin-filepath \"{}\"' ."
"pre-commit": "git-format-staged -f 'prettier --ignore-unknown --stdin --stdin-filepath \"{}\"' ."
}
}
}