tc39/how-we-work

figure out how to get superlinter to use markdownlint config file

ctcpip opened this issue · 2 comments

I tried in vain to move markdownlint rules to a config file (.markdownlint.json / .markdownlint.yml) -- instead of having to specify rules to ignore in every single file) but superlinter wasn't picking it up. surely there must be a way...

I did not try an .mdlrc file though because it appeared that superlinter uses markdownlint for node, not markdownlint for ruby

oh, apparently it's a superlinter config value that needs to be set: MARKDOWN_CONFIG_FILE

and of course the default is .markdown-lint.yml whereas I added a .markdownlint.yaml which is the "correct" filename that is automatically loaded by markdownlint normally

will give it another go

finally got it. resolved via #117