codeclimate-community/codeclimate-markdownlint

Configuring rules

wjdp opened this issue · 6 comments

wjdp commented

Is there a current way to specify rules? I've tried a .mdlrc file in the project root but CC doesn't seem to pick up.

Hey @wjdp! Not currently – I punted on this. I'm going to add this feature over the next few days though and ship a new version.

Ha, I was literally just looking into this. It appears that Markdownlint is looking in ~/.mdlrc, so it may be a matter of passing a --config /code/.mdlrc option if that file exists.

/cc markdownlint/markdownlint#123

Right on. I'll do a pass on this, and look into what other command line flags should be supported via the config stanza.

@afeld @wjdp I just merged a pull to honor the .mdlrc file – if I ship this would that solve your issue?

wjdp commented

Yep, pretty sure it will

Great. Shipping this out this evening.