Closed
Description
💭 Describe the feature
- Add more configuire file and support custom define config file path
.cz.js
cz.config.js
Add scope filter options
Add typesDefault options
Support read promise Func options
💡 Proposed Solution
Add more js configuire file
💡 Inspiration by :commitizen/cz-cli#460 | commitizen/cz-cli#888 | commitizen/cz-cli#773
- current support :https://cz-git.qbenben.com/guide/configuration.html
- Maybe some projects do not use commitlint and want to use js script configuration files, but other files that currently support json are introduced
Add scope filter options
💡 Inspiration by :Tencent/tdesign-vue-next#847
- It was found in the PR that some system files should be automatically hidden.e.g
.DS_Store
- And the user can also customize the filter value
- This value should be the target value attribute
Add typesDefault options
💡 Inspiration by :vuepress-next
- In some processing of the project containing documents, if there is a modification of the
docs
in the git status, then it should be able to top
Support read promise Func options
💡 Inspiration by :
- Use pnpm package -
@pnpm/find-workspace-packages
can get monorepo items info - It nice util Func but it is async Fuc
- current cz-git options need supoort handling asynchronous functions dynamically