File tree 3 files changed +3
-3
lines changed 3 files changed +3
-3
lines changed 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"
10
+ "golang.org/x/tools/go/loader" //nolint:staticcheck // require changes in github.com/OpenPeeDeeP/depguard
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"
7
+ "golang.org/x/tools/go/loader" //nolint:staticcheck // it's an adapter for golang.org/x/tools/go/packages
8
8
)
9
9
10
10
func MakeFakeLoaderProgram (pass * analysis.Pass ) * loader.Program {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ func StaticcheckNolintMegacheck() {
23
23
}
24
24
25
25
func StaticcheckDeprecated () {
26
- _ = runtime .CPUProfile () // ERROR "SA1019: runtime.CPUProfile is deprecated"
26
+ _ = runtime .CPUProfile () // ERROR "SA1019: runtime.CPUProfile has been deprecated .* "
27
27
}
28
28
29
29
func StaticcheckPrintf () {
You can’t perform that action at this time.
0 commit comments