commit prompt using commitlint.config.js
npm install -g @commitlint/prompt-cli @commitlint/config-angular
echo "export default {extends: ['@commitlint/config-angular']};" > commitlint.config.jsgit add .
commitTo load the config from a custom path, pass --config (or -g):
commit --config ./config/commitlint.config.jsA full usage guide is available at docs/prompt.