Skip to content

Load config-conventional in absence of user configuration #260

Open
@marionebl

Description

@marionebl

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

  • Load @commitlint/config-conventional if no user configuration was found
  • Do not merge user configuration onto @commitlint/config-conventional if found

Current Behavior

  • No configuration is loaded if no user configuration is provided
  • Running commitlint without configuration lets every commit message pass

Considerations

  • Should be considered a breaking change, consumers might depend on the "pass through" behaviour of unconfigured commitlint

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions