Closed Pajn closed 6 years ago
Makes sense. I'd actually like to allow for configuring this with an rc
file like .validate-commit-msgrc
or something like that... Either way, I'd be interested to see a PR for this :+1:
@kentcdodds I like your idea using an rc
file. I was thinking we could support .vcmrc
, and package.json
. In the order that if rc
is not present, then package.json
is used. What do you think?
Sounds great to me!
Ok great! I will take a look and submit a PR.
What about using https://www.npmjs.com/package/cosmiconfig?
This package has been deprecated. Please use https://github.com/marionebl/commitlint instead.
We have multiple projects in a single repository, I placed a package.json in the root which runs installs this package, but as it checks for a config in the cwd rather than the package.json it's installed from I can't set any config.
Something like this