Skip to content

Commit

Permalink
feat: issue-#143 - add commitlint
Browse files Browse the repository at this point in the history
- Added 'commit-msg' hook,
  and (package) script.
  • Loading branch information
elycruz committed Jul 6, 2024
1 parent 0450a95 commit 4043aef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run commitlint ${1}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"test": "nyc --reporter=html --reporter=text ava ./test/*.test.ts -s && npm run test:rollup.config.spec.ts",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"output-coverage-lcov": "nyc report --reporter=text-lcov > coverage/tests.lcov",
"test:rollup.config.spec.ts": "tsc --project tsconfig.spec.json --noEmit"
"test:rollup.config.spec.ts": "tsc --project tsconfig.spec.json --noEmit",
"commitlint": "commitlint --edit"
},
"standard": {
"ignore": [
Expand Down

0 comments on commit 4043aef

Please sign in to comment.