Open drjasonharrison opened 4 years ago
I am trying to tune the settings for markdownlint but can't get the .mdlrc file to be used. This is on Ubuntu 18.04
I have put into the top of my git repository the file .mdlrc with contents:
.mdlrc
verbose true exclude_rule 'MD004' exclude_rule 'MD005' exclude_rule 'MD007' exclude_rule 'MD012' exclude_rule 'MD013' exclude_rule 'MD019' exclude_rule 'MD033' exclude_rule 'MD034' exclude_rule 'MD046'
the verbose setting definitely has an effect on the output of mdl but I cannot get the exclude_rule to work.
mdl
exclude_rule
Also it appears that I had to execute
sudo gem install mdl
to get mdl install on the command line. I understand that pre-commit would have installed mdl under ~/.cache/pre-commit.
Could it be that the .mdlrc included with your pre-commit-hook is over ridding my repository's .mdlrc?
I am trying to tune the settings for markdownlint but can't get the .mdlrc file to be used. This is on Ubuntu 18.04
I have put into the top of my git repository the file
.mdlrc
with contents:the verbose setting definitely has an effect on the output of
mdl
but I cannot get theexclude_rule
to work.Also it appears that I had to execute
to get mdl install on the command line. I understand that pre-commit would have installed mdl under ~/.cache/pre-commit.
Could it be that the .mdlrc included with your pre-commit-hook is over ridding my repository's .mdlrc?