codeclimate-community / codeclimate-markdownlint

8 stars 3 forks source link

Configuring rules #6

Closed wjdp closed 8 years ago

wjdp commented 8 years ago

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.

jpignata commented 8 years ago

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.

afeld commented 8 years ago

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 https://github.com/mivok/markdownlint/issues/123

jpignata commented 8 years ago

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

jpignata commented 8 years ago

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

wjdp commented 8 years ago

Yep, pretty sure it will

jpignata commented 8 years ago

Great. Shipping this out this evening.