conventionalcommit / commitlint

commitlint checks if your commit messages meets the conventional commit format
MIT License
59 stars 4 forks source link

Feature Request: extend default config #12

Open haysclark opened 1 year ago

haysclark commented 1 year ago

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