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
Currently, we can use treefmt --init to create a barebone template of treefmt.toml. But it's a very empty one, having later to customize it by the user.
A better approach could potentially be presented to the user with a wizard option like Yeoman's, where by answering questions (with sane defaults) it can fill semiautomatically the treefmt.toml file for common languages.
The text was updated successfully, but these errors were encountered:
The init command could auto-detect what languages are being used in the repo and make recommendations based on what is available on the PATH.
The main issue that I see is that it requires maintaining that mapping (and users have to wait for the next release to get it), but it might also encourage users to share their configs.
Rationale
Currently, we can use
treefmt --init
to create a barebone template oftreefmt.toml
. But it's a very empty one, having later to customize it by the user.A better approach could potentially be presented to the user with a wizard option like Yeoman's, where by answering questions (with sane defaults) it can fill semiautomatically the
treefmt.toml
file for common languages.The text was updated successfully, but these errors were encountered: