Skip to content

Commit

Permalink
Merge pull request #1274 from ZachHaber/husky
Browse files Browse the repository at this point in the history
Replace validate-commit-msg, fix husky config, and remove codecov
  • Loading branch information
lamweili committed Jul 6, 2022
2 parents 1ca79da + e5e5729 commit 2af3bb6
Show file tree
Hide file tree
Showing 7 changed files with 8,781 additions and 280 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Expand Up @@ -22,6 +22,7 @@
*.txt text eol=lf
*.xml text eol=lf
*.yml text eol=lf
.husky/* text eol=lf

# Exclude the `.htaccess` file from GitHub's language statistics
# https://github.com/github/linguist#using-gitattributes
Expand Down
4 changes: 4 additions & 0 deletions .husky/commit_msg
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-push
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm test && npm run typings
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions commitlint.config.js
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };

0 comments on commit 2af3bb6

Please sign in to comment.