Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 386 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 386 Bytes

CommitLint Configuration

Lines the commit message and also runs the code through the linters and does not pass commit if errors are found

Installation

npm i @alexlit/config-commitlint -D

Connection

// commitlint.config.js
export default {
  extends: ['@alexlit/config-commitlint'],
};
# .husky/commit-msg
npx --no -- commitlint --edit "$1"