[*.go] indent_size = 4 indent_style = tab
>From my base .editorconfig On Monday, July 1, 2019 at 10:54:29 AM UTC-5, Sankar wrote: > > 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/1af6b367-4f50-4369-87e8-84cd294fc15a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.