Skip to content

Commit

Permalink
Trying to get autoformatting going on git commits
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinfrei committed Oct 13, 2024
1 parent 84116b3 commit 0919755
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bun format
git update-index --again
Binary file modified bun.lockb
Binary file not shown.
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,20 @@
"os": "bun run scripts/os.ts",
"- // z-": "",
"- // z ": "Build stuff for all the scripts (BUG: It's typechecking node_modules too!)",
"types": "tsc --noEmit -p tsconfig.json"
"types": "tsc --noEmit -p tsconfig.json",
"- // We're using husky to auto-format code upon commit": "",
"prepare": "husky"
},
"dependencies": {
"@freik/containers": "^0.2.17",
"@freik/typechk": "^0.6.4",
"@types/bun": "^1.1.9",
"@freik/workspace": "^0.6.4",
"@types/bun": "^1.1.11",
"husky": "^9.1.6",
"java-parser": "^2.3.2",
"prettier": "^3.3.3",
"prettier-plugin-java": "^2.6.4",
"simple-git": "^3.26.0",
"typescript": "^5.6.2",
"@freik/workspace": "^0.6.4"
"simple-git": "^3.27.0",
"typescript": "^5.6.3"
}
}

0 comments on commit 0919755

Please sign in to comment.