chore: add tsc check to lint-staged

This commit is contained in:
Arvid Norlin
2024-02-21 09:23:39 +01:00
parent 43b9c9d3b5
commit e00aef90de
2 changed files with 6 additions and 3 deletions

6
lint-staged.config.js Normal file
View File

@@ -0,0 +1,6 @@
const config = {
"*.{ts,tsx}": () => "tsc -p tsconfig.json --noEmit",
"*": "prettier --write",
}
export default config