di-sukharev / opencommit

Generate awesome commits with AI in 1 second 🤯🔫
https://www.npmjs.com/package/opencommit
MIT License
5.76k stars 302 forks source link

[Feature]: Optout of conventional commits and support Gitmoji spec #239

Open stalinkay opened 11 months ago

stalinkay commented 11 months ago

Description

Currently opencommit supports a variant of Conventional Commits and Gitmoji.

This is incompatible with projects that use Gitmoji.

In the context of Gitmoji, the emoji already provides enough context as to what the commit is about. Titles should also use sentence case.

Suggested Solution

This is the correct format of Gitmoji commits.

<intention> [scope?][:?] <message>
 intention: An emoji from the list.
scope: An optional string that adds contextual information for the scope of the change.
message: A brief explanation of the change.

Examples:

✏️ Update the name attribute of 💫 🔧 Change Dependabot interval to monthly ⬆️ Bump prettier from 2.8.8 to 3.0.0 (#1529)

See Gitmoji

Alternatives

No response

Additional Context

No response

github-actions[bot] commented 10 months ago

Stale issue message