Comments (3)
according to https://www.conventionalcommits.org/en/v1.0.0/#specification
I don't think the spec is disallowing dashes here, cannot a noun include a dash? for example: fix(well-being): some title
. In this case, the noun is compound.
I know I hand-picked an example on purpose to make my point, and it sounds like "well-being" might not be a usual scope. However, a scope normally refers/maps to a folder or project in the repo, and why wouldn't folders contain dashes?
I disagree that this is a bug. If you want to enforce scopes to not have dashes on your side, you could create a custom rule via plugins.
from commitlint.
I know I hand-picked an example on purpose to make my point, and it sounds like "well-being" might not be a usual scope.
Actually, it's much simpler to come up with a better example. Let's say we fix something in this repo itself in the config-angular folder: the scope might become config-angular
.
from commitlint.
yes i get you point, @knocte =)
it's just that i use many tools based on conventionnal commit , and when i used something with a -
in it , some of the tools need to be tweak.
your explanation is totally right , but i prefered to raised an issue , like this ppl will be aware of that in case of =)
and i think when you use an hyphen noun
, is not just a simple noun but it's a compound noun
, not quite the same =/
tbh: i'm fully agree with you , config-angular
should be totally right =)
from commitlint.
Related Issues (20)
- Can not use @commitlint/cz-commitlint as commitizen's adapter HOT 5
- Commitlint cli running 19.0.3 gives error HOT 19
- fix: console show DeprecationWarning info when use @commitlint\[email protected]
- wrapper.mjs is not included in published @commitlint/config-conventional package HOT 11
- ERR_IMPORT_ASSERTION_TYPE_MISSING with json config package
- fix: @commitlint/config-nx-scopes not working for nx since version v19
- fix: `commitlint --last` fails HOT 2
- commitlint --edit does not change commit message once you enter a invalid commit message
- fix: Docs missing `issuePrefixes` HOT 3
- feat: <Badge for using commitlint in your repo> HOT 2
- refactor: switch from chalk to styleText (node:util) HOT 4
- feature: add flag to enable/disable multiple-scopes (default: enabled) HOT 13
- docs: Instructions for filtering nx projects are out of date
- fix: Git submodule file priority on commit message edit
- docs: add dockerhub docs
- fix: @commitlint/config-nx-scopes does not support [email protected] HOT 3
- feat: update conventional-changelog/conventional-commits packages to latest
- feat: update eslint to v9 HOT 5
- fix: commitlint is not working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commitlint.