Skip to content

Commit

Permalink
chore: commit lint
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-sf committed May 31, 2022
1 parent cdc3280 commit 760c460
Show file tree
Hide file tree
Showing 3 changed files with 624 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit "${1}"
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -15,9 +15,12 @@
"test:ember": "ember test",
"test:ember-compatibility": "ember try:each",
"version": "auto-changelog -p && git add CHANGELOG.md",
"deploy": "ember build --environment production && ember github-pages:commit --message \"Deploy gh-pages from commit $(git rev-parse HEAD)\" && git push origin gh-pages:gh-pages"
"deploy": "ember build --environment production && ember github-pages:commit --message \"Deploy gh-pages from commit $(git rev-parse HEAD)\" && git push origin gh-pages:gh-pages",
"prepare": "husky install"
},
"dependencies": {
"@commitlint/cli": "^17.0.1",
"@commitlint/config-conventional": "^17.0.0",
"ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.0.1"
},
Expand Down Expand Up @@ -63,6 +66,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-qunit": "^7.2.0",
"husky": "^8.0.1",
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
Expand Down

0 comments on commit 760c460

Please sign in to comment.