File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,18 @@ issues:
139
139
- path : pkg/golinters/scopelint.go
140
140
text : ' directive `//nolint:interfacer` is unused for linter interfacer'
141
141
142
+ # TODO temporary rule, must be removed
143
+ # related to https://github.com/golangci/golangci-lint/pull/1756
144
+ # must be replaced by '//nolint:staticcheck // require changes in github.com/OpenPeeDeeP/depguard'
145
+ - path : pkg/golinters/depguard.go
146
+ text : ' SA1019: package golang.org/x/tools/go/loader is deprecated'
147
+
148
+ # TODO temporary rule, must be removed
149
+ # related to https://github.com/golangci/golangci-lint/pull/1756
150
+ # must be replaced by '///nolint:staticcheck // it's an adapter for golang.org/x/tools/go/packages'
151
+ - path : pkg/golinters/goanalysis/adapters.go
152
+ text : ' SA1019: package golang.org/x/tools/go/loader is deprecated'
153
+
142
154
run :
143
155
skip-dirs :
144
156
- test/testdata_etc
Original file line number Diff line number Diff line change 7
7
8
8
"github.com/OpenPeeDeeP/depguard"
9
9
"golang.org/x/tools/go/analysis"
10
- "golang.org/x/tools/go/loader" //nolint:staticcheck // require changes in github.com/OpenPeeDeeP/depguard
10
+ "golang.org/x/tools/go/loader"
11
11
12
12
"github.com/golangci/golangci-lint/pkg/golinters/goanalysis"
13
13
"github.com/golangci/golangci-lint/pkg/lint/linter"
Original file line number Diff line number Diff line change 4
4
"go/types"
5
5
6
6
"golang.org/x/tools/go/analysis"
7
- "golang.org/x/tools/go/loader" //nolint:staticcheck // it's an adapter for golang.org/x/tools/go/packages
7
+ "golang.org/x/tools/go/loader"
8
8
)
9
9
10
10
func MakeFakeLoaderProgram (pass * analysis.Pass ) * loader.Program {
You can’t perform that action at this time.
0 commit comments