Fix prettier (#598)

* Add .github/workflows to .prettierignore

* Add all filestypes to prettier and ignore via .prettierignore

* Add --ignore-unknown to prettier for lint-staged
This commit is contained in:
Daniel James Smith 2022-01-07 14:23:42 +01:00 committed by GitHub
parent c27fc39411
commit c6f20f8142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1,5 @@
# Build directories
dist
# Github Workflows
.github/workflows

View File

@ -70,6 +70,6 @@
"npm": "~8"
},
"lint-staged": {
"*.{js,ts,css,scss,md}": "prettier --write"
"*": "prettier --ignore-unknown --write"
}
}