conventional-changelog-archived-repos / validate-commit-msg

DEPRECATED. Use https://github.com/marionebl/commitlint instead. githook to validate commit messages are up to standard
http://conventionalcommits.org/
MIT License
556 stars 101 forks source link

Allow multiple configuration options #90

Closed Garbee closed 6 years ago

Garbee commented 7 years ago

Currently the config is hard-coded to use one type of file and only in JSON format. This is not as good for developers since they can't say, use package.json, or YAML to get comments, etc. V2 should take advantage of the config package to allow multiple file types for the configuration as well as the ability to use package.json.

spirosikmd commented 7 years ago

Hey @Garbee! Configuration through package.json is supported, right? Though if .vcmrc is used it has precedence over package.json configuration.

stevemao commented 7 years ago

cosmiconfig supports all major config options.

spirosikmd commented 7 years ago

This is a very good option @stevemao! It will fix #89 as well!

Garbee commented 7 years ago

Cosmic looks much better for a library target. I'll look at using that one before the other config library (which is more targeted towards full applications.)

hutson commented 6 years ago

This package has been deprecated. Please use https://github.com/marionebl/commitlint instead.