Skip to content

Latest commit

 

History

History
74 lines (64 loc) · 2.61 KB

README.md

File metadata and controls

74 lines (64 loc) · 2.61 KB

Hexagonal Architecture Based On DDD

Architecture

Overview

Usage

Pre-commit Hook && Commitlint && Golangci-lint

manually install

# install pre-commit
brew install pre-commit
# install golangci-lint
brew install golangci-lint
# install commitlint
npm install -g @commitlint/cli @commitlint/config-conventional
# add commitlint config
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
# add pre-commit hook
make precommit.rehook

or just type

make init && make precommit.rehook

Reference