You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .go source file in a testdata directory. When I execute gofumpt -l -w -extra . it does not ignore the files under testdata. Should it ignore? or How I can ignore the testdata folders
The text was updated successfully, but these errors were encountered:
The short answer is no; we do skip vendor directories when walking directory trees, but we don't skip testdata.
#250 has some more discussion on similar problems.
The more I think about it over time, the more I'm starting to think that we should skip both vendor and testdata directories when walking. If one really wants to format those, it would always possible to explicitly do so via gofumpt -l -w testdata vendor, for example.
I have a .go source file in a testdata directory. When I execute gofumpt -l -w -extra . it does not ignore the files under testdata. Should it ignore? or How I can ignore the testdata folders
The text was updated successfully, but these errors were encountered: