-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load config-conventional in absence of user configuration #260
Comments
Could be made obsolete |
Yes, I'd also like this, especially when we are using the GitHub Actions. I tested a bare-minimum setup for actions, and well, with this change we can actually use it on every type of repository. I mean for GoLang, Ruby or other projects this could be great! |
I've got a couple of edge cases here I think. What should happen if...
I think case 1 is fairly simple, it should load conventional config. But cases 2 and 3 might be a bit harder. The way I see it, the conventional should only load for option 1 and 3. When the user specifies a configuration, it should not change that by any means. But might be that some users expect this anyway. But that could be fixed by good documentation of course. |
Ok, got something working for
|
In the lieu of a "zero configuration" movement in the wider JS tooling community we should evaluate if the inital obligatory configuration step for
commitlint
could be omitted.Expected Behavior
@commitlint/config-conventional
if no user configuration was found@commitlint/config-conventional
if foundCurrent Behavior
commitlint
without configuration lets every commit message passConsiderations
The text was updated successfully, but these errors were encountered: