1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-06 00:03:29 +00:00

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