Skip to content

Commit

Permalink
chore(husky): added the actual pre-commit hook to run csharpier on each
Browse files Browse the repository at this point in the history
  • Loading branch information
mezdelex committed Nov 13, 2024
1 parent a4463b9 commit da85aa7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

## husky task runner examples -------------------
## Note : for local installation use 'dotnet' prefix. e.g. 'dotnet husky'

## run all tasks
#husky run

### run all tasks with group: 'group-name'
#husky run --group group-name

## run task with name: 'task-name'
#husky run --name task-name

## pass hook arguments to task
#husky run --args "$1" "$2"

## or put your custom commands -------------------
#echo 'Husky.Net is awesome!'

dotnet husky run

0 comments on commit da85aa7

Please sign in to comment.