Skip to content

Commit

Permalink
Merge pull request #7692 from jrjohnson/husky-precommit
Browse files Browse the repository at this point in the history
Use husky to run pre-commit lint
  • Loading branch information
dartajax authored Mar 7, 2024
2 parents 43762a4 + d5da9d2 commit 59ff1c6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm lint
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@
"test:frontend": "pnpm run --filter frontend test",
"test:lti-course-manager": "pnpm run --filter lti-course-manager test",
"test:lti-dashboard": "pnpm run --filter lti-dashboard test",
"test:test-app": "pnpm run --filter test-app test"
"test:test-app": "pnpm run --filter test-app test",
"prepare": "husky"
},
"engines": {
"node": ">= 20",
"yarn": "use pnpm",
"npm": "use pnpm"
},
"devDependencies": {
"husky": "^9.0.11"
}
}
12 changes: 11 additions & 1 deletion pnpm-lock.yaml

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

0 comments on commit 59ff1c6

Please sign in to comment.