Skip to content

Commit

Permalink
fix gci config
Browse files Browse the repository at this point in the history
  • Loading branch information
ckaznocha committed Dec 8, 2024
1 parent 19d9974 commit 5b38837
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
linters-settings:
gci:
sections:
- prefix(github.com/ckaznocha/intrange)
- standard
- default
- localmodule
gocritic:
enabled-tags:
- diagnostic
Expand Down
3 changes: 2 additions & 1 deletion intrange.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ import (
"go/ast"
"go/token"
"go/types"
"strconv"

"golang.org/x/tools/go/analysis"
"golang.org/x/tools/go/analysis/passes/inspect"
"golang.org/x/tools/go/ast/inspector"
"strconv"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion intrange_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package intrange_test

import (
"testing"

"github.com/gostaticanalysis/testutil"
"golang.org/x/tools/go/analysis/analysistest"
"testing"

"github.com/ckaznocha/intrange"
)
Expand Down

0 comments on commit 5b38837

Please sign in to comment.