rotblauer / gofmt-att

gofmt -w * ...
Apache License 2.0
6 stars 1 forks source link

gofmt rules change based on Go version #4

Open rhysh opened 6 years ago

rhysh commented 6 years ago

Hello, I'm coming here from https://github.com/twitchtv/twirp/pull/114

The rules of gofmt changed in Go 1.10 and may well change again. The robot should accommodate those changes.

One option is for it to check each file against all variants of gofmt, only flagging a file if it doesn't match pass with any of them.

It sounds like @whilei may plan to address this.

whilei commented 6 years ago

:) https://github.com/rotblauer/gofmt-att/issues/2#issuecomment-398120783