feat is contracted, most other commonly used tags are full words. #190

Open
opened 2026-02-17 11:52:44 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @mikemaccana on GitHub (Sep 8, 2023).

In the most common use of this spec the terms are almost always full words, with two exceptions feat and perf

Suggest retiring feat and perf and replace with feature and performance for consistency. perf is outside the scope of this repo though.

TERM FULL WORD
fix
feat 🚫
build
chore
ci (initialization)
docs
style
refactor
perf 🚫
test

Rationale

Searching for feature in commit messages using this spec won't return commits using the term feature, which is a reasonable commit message to add a feature.

Originally created by @mikemaccana on GitHub (Sep 8, 2023). In the [most common use of this spec](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional) the terms are almost always full words, with two exceptions `feat` and `perf` Suggest retiring `feat` and `perf` and replace with `feature` and `performance` for consistency. `perf` is outside the scope of this repo though. TERM | FULL WORD -- | -- fix | ✅ feat | 🚫 build | ✅ chore | ✅ ci | (initialization) docs | ✅ style | ✅ refactor | ✅ perf | 🚫 test | ✅ ## Rationale Searching for `feature` in commit messages using this spec won't return commits using the term `feature`, which is a reasonable commit message to add a feature.
Author
Owner

@purohitdheeraj commented on GitHub (Oct 6, 2023):

Very thoughtful , even in verbal communication while pair programming or while guiding juniors
i have observed that contracted words like feat and perf can create confusion

so it's great idea to make it complete
if needed i can work on this issue @mikemaccana

thank you , have a nice day

@purohitdheeraj commented on GitHub (Oct 6, 2023): Very thoughtful , even in verbal communication while pair programming or while guiding juniors i have observed that contracted words like feat and perf can create confusion so it's great idea to make it complete if needed i can work on this issue @mikemaccana thank you , have a nice day
Author
Owner

@Jakub-PMX commented on GitHub (Jan 24, 2024):

The dictionary explains what feat is:

an achievement that requires great courage, skill, or strength

So it can be confused with feature. Please change that feat into a feature 🙏

@Jakub-PMX commented on GitHub (Jan 24, 2024): The dictionary explains what `feat` is: > an achievement that requires great courage, skill, or strength So it can be confused with `feature`. Please change that `feat` into a `feature` 🙏
Author
Owner

@DoppioJP commented on GitHub (Jan 26, 2024):

Very thoughtful , even in verbal communication while pair programming or while guiding juniors i have observed that contracted words like feat and perf can create confusion

so it's great idea to make it complete if needed i can work on this issue @mikemaccana

thank you , have a nice day

  • @purohitdheeraj I have opened a PR #566 addressing this issue.
@DoppioJP commented on GitHub (Jan 26, 2024): > Very thoughtful , even in verbal communication while pair programming or while guiding juniors i have observed that contracted words like feat and perf can create confusion > > so it's great idea to make it complete if needed i can work on this issue @mikemaccana > > thank you , have a nice day - @purohitdheeraj I have opened a PR #566 addressing this issue.
Author
Owner

@javier-godoy commented on GitHub (Jan 26, 2024):

The proposed change adds 3 characters to the commit header (thereby substracting them from the commit subject, if one wants to keep it below 72 characters). Those 3 characters are precious, particularly for languages other than English where it's already difficult to fit such limit. I would rather keep feat:

@javier-godoy commented on GitHub (Jan 26, 2024): The proposed change adds 3 characters to the commit header (thereby substracting them from the commit subject, if one wants to keep it below 72 characters). Those 3 characters are precious, particularly for languages other than English where it's already difficult to fit such limit. I would rather keep `feat:`
Author
Owner

@Jakub-PMX commented on GitHub (Jan 29, 2024):

The proposed change adds 3 characters to the commit header (thereby substracting them from the commit subject, if one wants to keep it below 72 characters). Those 3 characters are precious, particularly for languages other than English where it's already difficult to fit such limit. I would rather keep feat:

In that case go with:

  • fe: for the feature
  • fi: for the fix
    etc.

Or, remove the prefix completely from the commit, knowing that the branch the commit is in, already has that prefix anyway, so why repeat yourself? And then, on the squash commit - put that prefix in (which will automatically be added anyway from the PR title) and there will still be a description in the separate lines of the commit message.

Regardless of your or my preferences, the feat means something different than the feature - those are 2 different words.

@Jakub-PMX commented on GitHub (Jan 29, 2024): > The proposed change adds 3 characters to the commit header (thereby substracting them from the commit subject, if one wants to keep it below 72 characters). Those 3 characters are precious, particularly for languages other than English where it's already difficult to fit such limit. I would rather keep `feat:` In that case go with: - `fe:` for the feature - `fi:` for the fix etc. Or, remove the prefix completely from the commit, knowing that the branch the commit is in, already has that prefix anyway, so why repeat yourself? And then, on the squash commit - put that prefix in (which will automatically be added anyway from the PR title) and there will still be a description in the separate lines of the commit message. Regardless of your or my preferences, the `feat` means something different than the `feature` - those are 2 different words.
Author
Owner

@Jakub-PMX commented on GitHub (Jan 31, 2024):

@javier-godoy How about refactor? It is 8 characters, while feature is 7. 🤔

@Jakub-PMX commented on GitHub (Jan 31, 2024): @javier-godoy How about `refactor`? It is 8 characters, while `feature` is 7. 🤔
Author
Owner

@javier-godoy commented on GitHub (Jan 31, 2024):

@Jakub-PMX

@javier-godoy How about refactor? It is 8 characters, while feature is 7. 🤔

refactor is not defined in the conventional commits specification (only fix and feat are).

@javier-godoy commented on GitHub (Jan 31, 2024): @Jakub-PMX > @javier-godoy How about `refactor`? It is 8 characters, while `feature` is 7. 🤔 `refactor` is not defined in the conventional commits _specification_ (only `fix` and `feat` are).
Author
Owner

@DoppioJP commented on GitHub (Feb 18, 2024):

@Jakub-PMX

@javier-godoy How about refactor? It is 8 characters, while feature is 7. 🤔

refactor is not defined in the conventional commits specification (only fix and feat are).

Claro 👍

@DoppioJP commented on GitHub (Feb 18, 2024): > @Jakub-PMX > > > @javier-godoy How about `refactor`? It is 8 characters, while `feature` is 7. 🤔 > > `refactor` is not defined in the conventional commits _specification_ (only `fix` and `feat` are). Claro 👍
Author
Owner

@NikosAlexandris commented on GitHub (Apr 4, 2024):

Precious characters, indeed. Precious language, nonetheless. I'd vote for full words (i.e. "feature"). I didn't know that "feat" is a word, though.

@NikosAlexandris commented on GitHub (Apr 4, 2024): Precious characters, indeed. Precious language, nonetheless. I'd vote for full words (i.e. "feature"). I didn't know that "feat" is a word, though.
Author
Owner

@DoppioJP commented on GitHub (Jan 23, 2026):

This comes back like a bad nightmare. It is beyond me why natively English speaking people involved in this project went with feat while feature has been used for many years before. I get that some want to save 3 "precious" characters 🤦‍♂️ , people have weird preferences. Maybe my preference to use feature is also weird 🤷‍♂️ .

Anyway, seeing that this CC (sorry, using the word "conventional" here don't make no sense to me) is widely adopted and tangled into many tools, which then are forced on some people at work, I am starting a new quest:

Adding feature type/prefix as a legal citizen at CC realm, alongside existing feat

I realise that getting this approved here (which at this stage I am not sure why I believe is possible), is just a start. Then I will go through all the tools, which I came across and will submit PRs there, which will allow to include feature there as well.

🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞

@DoppioJP commented on GitHub (Jan 23, 2026): This comes back like a bad nightmare. It is beyond me why natively English speaking people involved in this project went with `feat` while `feature` has been used for many years before. I get that some want to save 3 "precious" characters 🤦‍♂️ , people have weird preferences. Maybe my preference to use `feature` is also weird 🤷‍♂️ . Anyway, seeing that this CC (sorry, using the word "conventional" here don't make no sense to me) is widely adopted and tangled into many tools, which then are forced on some people at work, I am starting a new quest: # Adding `feature` type/prefix as a legal citizen at CC realm, alongside existing `feat` I realise that getting this approved here (which at this stage I am not sure why I believe is possible), is just a start. Then I will go through all the tools, which I came across and will submit PRs there, which will allow to include `feature` there as well. 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞 🤞
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/conventionalcommits.org#190