-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
nitpick init: Specify style url(s) in the command line #458
Comments
Hello @mjpieters. First of all, thank you very much for all the issues and pull requests you created. 🙏🏻 About this URL argument to I plan to add more stuff to The plan for #330 is not super accurate anymore (too much hassle), and I didn't update the description. |
@mjpieters This is actually what I had in mind for I already mentioned this issue there, they can co-exist in harmony.
#330 is still valid. |
🎉 This issue has been resolved in version 0.32.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Problem
I am advocating the use of nitpick in a larger organisation, by providing them with something copy-paste friendly. This makes adoption of an otherwise overwhelming pile of linters, formatters and tools to support those much, much simpler.
This does require that we use a central style definition, one that supports checks and fixes for internal tools.
Currently, I have to either recreate what
nitpick fix
does to locate any existing configuration and generate project-appropriate changes or parse the output ofnitpick init
to see if we need to use sed to replace the default URL.Possible solution
If
nitpick init
took URLs as arguments our “bootstrap snippet” can be reduced to:If no arguments are given the current default behaviour of using the default style is used.
Note that this FR differs from #330; it’s a simple “we took care of everything” path.
The text was updated successfully, but these errors were encountered: