Open chenrui333 opened 2 years ago
We do this in our package.json as a workaround so we can use YAML:
"scripts": {
"lint:links-yaml": "js-yaml -c .markdown-link-check.yml > .markdown-link-check.json",
"lint:links": "yarn lint:links-yaml && markdown-link-check --quiet -c .markdown-link-check.json docs/**/*.md",
},
But agreed it'd be nice to just have it natively ;)
I would like to see YAML supported is so that comments can be placed in the config file. Currently the json parser doesn't appear to support comments (not supported by the strict json protocol). I would like to have comments on some of the ignorePatterns in my usage.
I think it would be nice to support YAML config instead of JSON config