First solution to read a config file (same file name as the markdownlint package: .markdownlint.json) and merges the options with the default ones used by this package.
Solves #6 I think.
Probably is not the best place to read the config file (the file is read multiple times, every time a rule is going to be checked), but it's the place where the markdownlint object is imported and used, and I didn't want to change more code, just make this feature available in an easy way.
First solution to read a config file (same file name as the markdownlint package:
.markdownlint.json
) and merges the options with the default ones used by this package.Solves #6 I think.
Probably is not the best place to read the config file (the file is read multiple times, every time a rule is going to be checked), but it's the place where the markdownlint object is imported and used, and I didn't want to change more code, just make this feature available in an easy way.