Skip to content

[Feature Request] add confirmCommit in skipQuestionsΒ #86

Closed
@FatehAK

Description

βœ… Checklist

  • I am using the latest version
  • I have searched FAQ

πŸ“„ System Info

System:
    OS: macOS 12.6.1
    CPU: (8) arm64 Apple M1
    Memory: 966.95 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.12.1 - ~/Library/Caches/fnm_multishells/13083_1670507240516/bin/node
    Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/13083_1670507240516/bin/yarn
    npm: 9.1.3 - ~/Library/Caches/fnm_multishells/13083_1670507240516/bin/npm
    Watchman: 2022.11.28.00 - /opt/homebrew/bin/watchman
  npmPackages:
    czg: ^1.4.0 => 1.4.0

πŸ”Ž Description

Concise Description

I'm trying to skip the confirmCommit step by adding it to the skipQuestions array in .commitlintrc.js

skipQuestions: ['body', 'breaking', 'footerPrefix', 'footer', 'confirmCommit'],

But doing so causes vim to open with an empty commit message

Expected behavior

Should be able to skip the confirmCommit step. A commit should be made directly if we reach the end of the czg steps.

Steps to reproduce

Add 'confirmCommit' to the skipQuestions array

Screenshots or Screen Recording(if possible)

πŸ”— Reproduction link / repo:

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions