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
Add API to resolve configuration object #3783
Comments
What is it use case? |
I'm working on a new beautifier extension for Unibeautify. |
@muuvmuuv Thanks for writing up your use case. This is the second request, the other being #3734, to expose some of the internals of stylelint (as part of our API) to the benefit of tool authors. Unless anyone can think of a good reason why not to, I think we should welcome a PR do this (and undertake any necessary refactoring to make it possible) as our internals seem pretty solid and unlikely to change any time soon. |
Triaging issues... As no one has raised any objections to this feature, I'm going to label as "help wanted". @muuvmuuv Feel free to contribute this feature. |
Is this issue still relevant? |
Prettier has a function to resolve prettier config before actual formatting, I guess stylelint has something like that under the hood too. Would be nice to have this in the API aswell.
In prettier it looks like this:
I think stylelints "resolveConfig" is here:
stylelint/lib/printConfig.js
Lines 52 to 54 in 0fb8b6d
The text was updated successfully, but these errors were encountered: