Skip to content

Commit b7f9f1f

Browse files
authored
refactor: drop unused golang.org/x/lint (elastic#40141)
the dependency was used to install the golint tool. The golint tool is frozen and deprecatde according to the upstream repository: https://github.com/golang/lint CI and automation are using golangci-lint and enable staticcheck which is mentioned as a valid replacement.
1 parent 6b60bd5 commit b7f9f1f

File tree

5 files changed

+0
-43
lines changed

5 files changed

+0
-43
lines changed

NOTICE.txt

-37
Original file line numberDiff line numberDiff line change
@@ -24493,43 +24493,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2449324493
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2449424494

2449524495

24496-
--------------------------------------------------------------------------------
24497-
Dependency : golang.org/x/lint
24498-
Version: v0.0.0-20210508222113-6edffad5e616
24499-
Licence type (autodetected): BSD-3-Clause
24500-
--------------------------------------------------------------------------------
24501-
24502-
Contents of probable licence file $GOMODCACHE/golang.org/x/lint@v0.0.0-20210508222113-6edffad5e616/LICENSE:
24503-
24504-
Copyright (c) 2013 The Go Authors. All rights reserved.
24505-
24506-
Redistribution and use in source and binary forms, with or without
24507-
modification, are permitted provided that the following conditions are
24508-
met:
24509-
24510-
* Redistributions of source code must retain the above copyright
24511-
notice, this list of conditions and the following disclaimer.
24512-
* Redistributions in binary form must reproduce the above
24513-
copyright notice, this list of conditions and the following disclaimer
24514-
in the documentation and/or other materials provided with the
24515-
distribution.
24516-
* Neither the name of Google Inc. nor the names of its
24517-
contributors may be used to endorse or promote products derived from
24518-
this software without specific prior written permission.
24519-
24520-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24521-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24522-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24523-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24524-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24525-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24526-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24527-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24528-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24529-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24530-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24531-
24532-
2453324496
--------------------------------------------------------------------------------
2453424497
Dependency : golang.org/x/mod
2453524498
Version: v0.18.0

go.mod

-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ require (
149149
go.uber.org/multierr v1.11.0
150150
go.uber.org/zap v1.27.0
151151
golang.org/x/crypto v0.24.0
152-
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
153152
golang.org/x/mod v0.18.0
154153
golang.org/x/net v0.26.0
155154
golang.org/x/oauth2 v0.10.0

go.sum

-1
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,6 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu
18441844
golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
18451845
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
18461846
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
1847-
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug=
18481847
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
18491848
golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
18501849
golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=

reviewdog.yml

-3
This file was deleted.

tools/tools.go

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import (
3232
_ "gotest.tools/gotestsum/cmd"
3333

3434
_ "github.com/mitchellh/gox"
35-
_ "golang.org/x/lint/golint"
3635

3736
_ "go.elastic.co/go-licence-detector"
3837

0 commit comments

Comments
 (0)