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

is it possible to set default values for flags in the treefmt config file ? #202

Open
teto opened this issue Jul 16, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@teto
Copy link
Contributor

teto commented Jul 16, 2024

Is your feature request related to a problem? Please describe.

I almost always want to run treefmt with

--allow-missing-formatter -u info

Describe the solution you'd like

Set the option values in the config file/via the flake module

Describe alternatives you've considered
wrap the executable with those options

@brianmcgee
Copy link
Member

@teto I created an issue in the main treefmt repo for this. In the short term this could be achieved via the flake module. I'm undecided about adding it into treefmt itself, I'll try and find some time this week to think on it more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants