[lint] README: make it clear that golint is deprecated and frozen

34 views
Skip to first unread message

Daniel Martí (Gerrit)

unread,
May 8, 2021, 6:21:17 PM5/8/21
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Ian Lance Taylor, Dmitri Shuralyov, golang-co...@googlegroups.com

Daniel Martí submitted this change.

View Change

Approvals: Ian Lance Taylor: Looks good to me, approved Daniel Martí: Trusted
README: make it clear that golint is deprecated and frozen

For golang/go#38968.

Change-Id: I52fe4f2934910600c89ac705a7fb3c57b4844a9d
Reviewed-on: https://go-review.googlesource.com/c/lint/+/318189
Trust: Daniel Martí <mv...@mvdan.cc>
Reviewed-by: Ian Lance Taylor <ia...@golang.org>
---
M README.md
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md
index ba4956f..989b1dc 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,7 @@
+**NOTE:** Golint is [deprecated and frozen](https://github.com/golang/go/issues/38968).
+There's no drop-in replacement for it, but tools such as [Staticcheck](https://staticcheck.io/)
+and `go vet` should be used instead.
+
Golint is a linter for Go source code.

[![Go Reference](https://pkg.go.dev/badge/golang.org/x/lint.svg)](https://pkg.go.dev/golang.org/x/lint)

To view, visit change 318189. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: lint
Gerrit-Branch: master
Gerrit-Change-Id: I52fe4f2934910600c89ac705a7fb3c57b4844a9d
Gerrit-Change-Number: 318189
Gerrit-PatchSet: 2
Gerrit-Owner: Daniel Martí <mv...@mvdan.cc>
Gerrit-Reviewer: Daniel Martí <mv...@mvdan.cc>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-MessageType: merged
Reply all
Reply to author
Forward
0 new messages