chore(tooling): add husky and lint-staged

This commit is contained in:
Michael Zetterberg
2024-03-26 13:12:21 +01:00
parent 083c57d0ca
commit e65df3eb97
14 changed files with 828 additions and 206 deletions

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

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