Skip to content

Commit

Permalink
chore: Add pre-commit hook (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer authored Jun 3, 2024
1 parent 6be4a8d commit 15dfc79
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run fix
16 changes: 16 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"clean": "gts clean",
"compile": "tsc",
"fix": "gts fix",
"posttest": "jest-coverage-thresholds-bumper --silent"
"posttest": "jest-coverage-thresholds-bumper --silent",
"prepare": "husky"
},
"keywords": [],
"author": "",
Expand Down Expand Up @@ -66,6 +67,7 @@
"@types/rdfjs__dataset": "^2.0.0",
"chokidar": "^3.5.2",
"gts": "^5.2.0",
"husky": "^9.0.11",
"jest": "^29.5.0",
"jest-coverage-thresholds-bumper": "^1.1.0",
"jsonld-streaming-parser": "^3.0.0",
Expand Down

0 comments on commit 15dfc79

Please sign in to comment.