init commitlint config in the current project.
const commitlintModule = require('@mxy-cli/commitlint-init');
// return package.json fragment, then this fragment will be merged to the last package.json
const pkgFragment = commitlintModule.init({commitlint: true});