-
Notifications
You must be signed in to change notification settings - Fork 4
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
Create stub config files #53
Comments
I have a first pass at this in the
If you have any suggestions for config for other languages I can include those too, but I haven't really used |
The branch looks great! I tried it out and I love that it creates For Perl, I would suggest adding: [commands.perlimports]
type = "both"
include = [ "**/*.{pl,pm,t,psgi}" ]
cmd = [ "perlimports" ]
lint_flags = ["--lint" ]
tidy_flags = ["-i" ]
ok_exit_codes = 0
expect_stderr = true It might also be helpful if you could specify a different config file path rather than the default, so that you could create one in your home directory or with a |
This is done in v0.6.0. |
Thank you! |
As a wishlist item, it would be cool to have
precious config --create
to create a stub config file, maybe including some defaults for various languages.precious config --create --lang go --lang bash precious.toml
I added something like this to
perlimports
and I use it all the time:perlimports --create-config-file perlimports.toml
This is somewhat related to #3
The text was updated successfully, but these errors were encountered: