remesh-js / remesh

A CQRS-based DDD framework for large and complex TypeScript/JavaScript applications
https://remesh-js.github.io/remesh/dist/index.html
MIT License
653 stars 40 forks source link

ci: upgrade husky config and add commitlint #61

Closed Hanyi-Wang-DarkStardust closed 2 years ago

Hanyi-Wang-DarkStardust commented 2 years ago

We're now using husky^8 where huskyrc file was replaced by .husky/**. (https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v8)

This PR upgrades husky config for the current project to be compatible with husky^8. Also, conventional commitlint is also added in husky hooks.