Skip to content

gitmoji and subject are somehow redundant #18

Open
@hans-lizihan

Description

@hans-lizihan

originally in gitmoji 1.0, you use enum-type to enforce usage of gitmoji, that works great and I really enjoyed it.

Now in 2.0, it seems commitlint-config-gitmoji not only enforces on the gitmoji, but also on the subject in coventional-commit, i think this is a bit redundant.

e.g.

:bug: bug: Fixed a bug

git gitmoji has already indicated that the subject of this commit message is a bug, extra subject bug: is just way too tedious.

i'd recommend to provide some configuration options to restore behavior of usage of only gitmoji without extra enum type being passed in.

e.g.

:bug: Fixed a bug

or with scope

:bug:(feature) Null pointer bug in the feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions