Closed
@Zhengqbbb

Description

💭 Describe the feature

  1. Add more configuire file and support custom define config file path
  • .cz.js
  • cz.config.js
  1. Add scope filter options

  2. Add typesDefault options

  3. 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

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 :

https://.com/element-plus/element-plus/blob/1a19b43b19af5be0fb3828b2cb320d19097762eb/commitlint.config.js#L5-L13

  • 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