Skip to content

Commit

Permalink
type check in pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
macfarlandian committed Oct 13, 2020
1 parent 29f2b57 commit f290aa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
}
},
"lint-staged": {
"*.{ts,tsx}": "bash -c tsc",
"*.{js,jsx,ts,tsx,css,scss}": "eslint --fix",
"*.json": "prettier --write",
"**/*.{ts,tsx}": "bash -c tsc",
"**/*.{js,jsx,ts,tsx,css,scss}": "eslint --fix",
"**/*.json": "prettier --write"
}
Expand Down

0 comments on commit f290aa5

Please sign in to comment.