A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/whizark/commitlint-config-cz/issues/2 below:

Accept cz config as an object · Issue #2 · whizark/commitlint-config-cz · GitHub

I'm not sure what kind of API works here, but let me describe my problem.

I built https://github.com/paulirish/commitlintbot which lints the title of Pull Requests with commitlint. As my project has custom types, I also use cz and thus I really appreciate you making this package which wires it all up very nicely. (thanks!)

But here's my challenge: The bot pulls the commitlint.config and cz-config over the github API, and then uses them to lint the title. All good so far, but I run this bot on now.sh which doesn't allow you to write to disk. And since commitlint-config-cz will only read the .cz-config.js from disk, I can't supply the configuration correctly.

Unfortunately I don't have a concrete proposal for how this could be done, but I'd be happy with something a little hacky if that's fine with you. :)

Cheers


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4