go-consistent should ignore generated files
pedantic79 opened this issue · 3 comments
pedantic79 commented
Sometimes, generated files will be caught by go-consistent
, since the source of these files should not be checked. See golang/go#13560 for more information about the standard way to detect generated code.
quasilyte commented
Now generated files should not affect the usage frequency statistics as well as not generate any warnings.
pedantic79 commented
Works great!
quasilyte commented
Thanks for reporting this issue.