Browse Source

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
PS-589-2fa-device-verification-settings
Daniel James Smith 4 years ago committed by GitHub
parent
commit
c6f20f8142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .prettierignore
  2. 2
      package.json

4
.prettierignore

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

2
package.json

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

Loading…
Cancel
Save