Skip to content

Commit

Permalink
chore(lint-staged): add TypeScript type checking with tsc --noEmit
Browse files Browse the repository at this point in the history
  • Loading branch information
amalv committed Jan 15, 2024
1 parent c9e0e94 commit 6dec8a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@
"vitest": "^1.0.4"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix",
"*.{ts,tsx}": [
"eslint --fix",
"tsc --noEmit"
],
"*test.{ts,tsx}": "npm run test:staged"
}
}

1 comment on commit 6dec8a7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.