You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using stylua as a library, the only formatting interface it
provides are the `format_code` and `format_ast` functions, which both
already expect a config file. To replicate the config file discovery
that the stylua CLI implements, one would have to copy this.
My motivation: For one of my projects I'm creating bindings for other
languages to the stylua_lib. There it would be really useful, if I could
use the config file discovery.
0 commit comments