Skip to content

Commit

Permalink
Add Typescript checker pre-commit hook (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
mclmax authored Jun 6, 2024
1 parent 8dd26fc commit e9c315e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@ repos:
hooks:
- id: terraform_fmt
# - id: terraform_tfsec install is suboptimal

- repo: local
hooks:
- id: typescript-check
name: Typescript Checker
entry: npm run --prefix frontend_vue type-check
types_or: [javascript, jsx, ts, tsx, vue]
language: system
pass_filenames: false

0 comments on commit e9c315e

Please sign in to comment.