We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2d4c31 commit dcb6a57Copy full SHA for dcb6a57
pkg/golinters/gocritic/gocritic.go
@@ -8,6 +8,7 @@ import (
8
"path/filepath"
9
"reflect"
10
"runtime"
11
+ "slices"
12
"sort"
13
"strings"
14
"sync"
@@ -16,7 +17,6 @@ import (
16
17
gocriticlinter "github.com/go-critic/go-critic/linter"
18
_ "github.com/quasilyte/go-ruleguard/dsl"
19
"golang.org/x/exp/maps"
- "golang.org/x/exp/slices"
20
"golang.org/x/tools/go/analysis"
21
22
"github.com/golangci/golangci-lint/pkg/config"
pkg/golinters/gocritic/gocritic_test.go
@@ -1,6 +1,7 @@
1
package gocritic
2
3
import (
4
5
6
"testing"
7
@@ -9,7 +10,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
15
"github.com/golangci/golangci-lint/pkg/logutils"
0 commit comments