File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,14 @@ linters-settings:
6464 # put imports beginning with prefix after 3rd-party packages;
6565 # it's a comma-separated list of prefixes
6666 local-prefixes : github.com/ydb-platform/ydb-go-sdk/v3
67+ gci :
68+ sections :
69+ - standard # Standard section: captures all standard packages.
70+ - default # Default section: contains all imports that could not be matched to another section type.
71+ - prefix(github.com/ydb-platform/ydb-go-sdk/v3) # Custom section: groups all imports with the specified Prefix.
72+ - blank # Blank section: contains all blank imports. This section is not present unless explicitly enabled.
73+ - dot # Dot section: contains all dot imports. This section is not present unless explicitly enabled.
74+ skip-generated : true
6775 goconst :
6876 # minimal length of string constant, 3 by default
6977 min-len : 2
@@ -220,7 +228,6 @@ linters:
220228 - forbidigo
221229 - forcetypeassert
222230 - funlen
223- - gci
224231 - gochecknoglobals
225232 - gocognit
226233 - godot
Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ import (
1616 "os"
1717 "path/filepath"
1818 "strings"
19- _ "unsafe" // For go:linkname.
2019
2120 "github.com/ydb-platform/ydb-go-sdk/v3/internal/xerrors"
21+
22+ _ "unsafe" // For go:linkname.
2223)
2324
2425//go:linkname build_goodOSArchFile go/build.(*Context).goodOSArchFile
You can’t perform that action at this time.
0 commit comments