Add cache to lint-staged for prettier (#4862)

This commit is contained in:
Oscar Hinton 2023-02-24 17:09:23 +01:00 committed by GitHub
parent a643074709
commit 6df106ca47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@
"react": "^18.0.0"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"*": "prettier --cache --ignore-unknown --write",
"*.ts": "eslint --cache --cache-strategy content --fix"
},
"engines": {