Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.mdlrc file appears to be ignored #70

Open
drjasonharrison opened this issue Sep 11, 2020 · 0 comments
Open

.mdlrc file appears to be ignored #70

drjasonharrison opened this issue Sep 11, 2020 · 0 comments

Comments

@drjasonharrison
Copy link

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:

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.

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant