Disable reporting of typechecking errors.
These are too noisy right now.
Fixes #57.
diff --git a/lint.go b/lint.go
index 19324c9..377d887 100644
--- a/lint.go
+++ b/lint.go
@@ -80,6 +80,7 @@
func (f *file) lint() []Problem {
if err := f.typeCheck(); err != nil {
+ /* TODO(dsymonds): Consider reporting these errors when golint operates on entire packages.
if e, ok := err.(types.Error); ok {
p := f.fset.Position(e.Pos)
conf := 1.0
@@ -94,6 +95,7 @@
// TODO(dsymonds): Abort if !e.Soft?
}
+ */
}
f.scanSortable()