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

Config file #65

Open
andrewbaxter opened this issue Feb 4, 2023 · 1 comment
Open

Config file #65

andrewbaxter opened this issue Feb 4, 2023 · 1 comment

Comments

@andrewbaxter
Copy link
Owner

A config file makes it easier for contributors to get the default style. genemichaels doesn't have a lot of parameters atm but it would be good to support reading config from a config file regardless.

The config file should just be style configuration, stuff like thread counts should be command line args-only (or maybe a user-config file) since it'll depend on the user.

This issue is just about formatting config. Handling overrides seems like it would be painful and manual unless clap has something built in, so I'd be happy with moving the style params to be config-file-only.

@AaronKutch
Copy link

One thing I'm noticing is that the default max comment width seems to be 87 which is a curious choice, rustfmt uses 80.

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

No branches or pull requests

2 participants