markdownlint-cli icon indicating copy to clipboard operation
markdownlint-cli copied to clipboard

Allow configuration to be read from package.json

Open Amndeep7 opened this issue 4 years ago • 4 comments

In reference to https://github.com/DavidAnson/markdownlint/issues/332, you said you'd be open to adding support for reading markdownlint-cli's config from package.json. Would you be willing to provide this functionality?

I believe this would be a similar effort to #85, which looked to add support for an external js config file.

Amndeep7 avatar Dec 28 '20 04:12 Amndeep7

I also need this feature. How about davidtheclark/cosmiconfig?

spyke113 avatar Jul 02 '22 10:07 spyke113

This feature will be awesome. You won't want to have tons of config files at project root. package.json is a good place for these configs.

guoyunhe avatar Sep 10 '23 12:09 guoyunhe

FYI, this is possible now with markdownlint-cli2: https://github.com/DavidAnson/markdownlint-cli2

DavidAnson avatar Sep 10 '23 16:09 DavidAnson