On 15 July 2016 at 15:31, Jan Mercl <0xj...@gmail.com> wrote:

> I do not use goimports. My 2c anyway: What about checking for
> .goimportsignore in the root of the subtree that should be skipped?
>

+1. I was going to suggest this but before seeing support for the idea
thought it sounded too unsavoury to suggest :)

Another suggestion which might be even nicer for the implementation: if a
directory contains `.goimportsignore`, that directory is skipped.

It's less flexible, but... any horrible behaviour where the ignore file has
a high CPU cost can be avoided (see also: .dockerignore causing docker
build to slow down drastically for large trees).

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to