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

Allow configuration to be read from package.json #148

Open
Amndeep7 opened this issue Dec 28, 2020 · 4 comments
Open

Allow configuration to be read from package.json #148

Amndeep7 opened this issue Dec 28, 2020 · 4 comments

Comments

@Amndeep7
Copy link

In reference to DavidAnson/markdownlint#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.

@spyke113
Copy link

spyke113 commented Jul 2, 2022

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

@guoyunhe
Copy link

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.

@DavidAnson
Copy link
Collaborator

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

@max-ostapenko
Copy link

Looking forward to it.
My workaround for now is npx markdownlint --config package.json --configPointer /markdownlint ..

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

No branches or pull requests

5 participants