MCPcopy Create free account
hub / github.com/conventional-changelog/commitlint / normalizeFlags

Function normalizeFlags

@commitlint/cli/src/cli.ts:458–464  ·  view source on GitHub ↗
(flags: CliFlags)

Source from the content-addressed store, hash-verified

456}
457
458function normalizeFlags(flags: CliFlags): CliFlags {
459 const edit = getEditValue(flags);
460 return {
461 ...flags,
462 edit,
463 };
464}
465
466// core.commentChar and core.commentString are aliases, so the last one set wins.
467// For "auto", git picks "#" unless a message line already starts with it.

Callers 1

mainFunction · 0.85

Calls 1

getEditValueFunction · 0.85

Tested by

no test coverage detected