Skip to content

Commit

Permalink
Merge pull request #418 from mStirner/dev
Browse files Browse the repository at this point in the history
Add husky
  • Loading branch information
mStirner committed Jan 17, 2024
2 parents 331ca52 + 3161587 commit 3f05d5c
Show file tree
Hide file tree
Showing 16 changed files with 48 additions and 648 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint
22 changes: 22 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@
"grunt-contrib-uglify": "^5.0.1",
"grunt-env": "^1.0.1",
"grunt-run": "^0.8.1",
"husky": "^8.0.3",
"minimist": "^1.2.6",
"mocha": "^9.2.2",
"mocha.parallel": "^0.15.6",
"newman": "^6.0.0",
"nodemon": "^3.0.1",
"sinon": "^14.0.2"
}
}
}
15 changes: 0 additions & 15 deletions scripts/hooks/applypatch-msg.sample

This file was deleted.

24 changes: 0 additions & 24 deletions scripts/hooks/commit-msg.sample

This file was deleted.

114 changes: 0 additions & 114 deletions scripts/hooks/fsmonitor-watchman.sample

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/hooks/post-update.sample

This file was deleted.

14 changes: 0 additions & 14 deletions scripts/hooks/pre-applypatch.sample

This file was deleted.

4 changes: 0 additions & 4 deletions scripts/hooks/pre-commit

This file was deleted.

49 changes: 0 additions & 49 deletions scripts/hooks/pre-commit.sample

This file was deleted.

53 changes: 0 additions & 53 deletions scripts/hooks/pre-push.sample

This file was deleted.

Loading

0 comments on commit 3f05d5c

Please sign in to comment.