commitlint icon indicating copy to clipboard operation
commitlint copied to clipboard

Feature Request: extend default config

Open haysclark opened this issue 2 years ago • 0 comments

It would be nice to have a smaller config file when only making small alterations to the Default Config of commitlint. Adding a behavior allowing users to override the default config would allow for much smaller .commitlint.yaml files.

e.g.

# .commitlint.yaml

extends: default
# or maybe
formatter: overwrite # or `extend`, 'overlay', 'merge', ...etc

# then just what values should be overwritten
settings:
  # Loosen up on the line lengths
  header-max-length:
    argument: 72
  body-max-line-length:
    argument: 100
  footer-max-line-length:
    argument: 100

haysclark avatar Dec 23 '22 19:12 haysclark