Hi We use github for our sources. Developers are free to choose their IDEs and tools. Sometimes, people end up committing sources using spaces instead of tabs, etc. Not all developers do goimports/gofmt on save. So, we want to automate this process. However, instead of adding git pre-commit hooks, we want to have this done only when people raise a github PR. Have any of you done this in your project and shared your experience in a blog / writeup ? Please let us know. Googling would still be done for this, but wanted to ask in this list also.
Another somewhat related query is, we are also considering adding a .editorconfig for our Golang projects. Are there any standard .editorconfig settings for *.go that you use ? Thanks. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e27fe1f7-402c-4a6a-8f65-a7536c052636%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.