Skip to content

Commit 1b10bc1

Browse files
committed
gci is being turned off, what a pain in the ass.
1 parent 7899390 commit 1b10bc1

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.golangci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ linters:
55
enable:
66
# Format
77
- "gofumpt" # Gofumpt checks whether code was gofumpt-ed. Which is a superset of gofmt that handles some cases that gofmt missed.
8-
- "gci" # Gci controls Go package import order and makes it always deterministic.
8+
# - "gci" # Gci controls Go package import order and makes it always deterministic.
99
- "asciicheck" # Checks that all code identifiers does not have non-ASCII symbols in the name.
1010
- "bidichk" # Checks for dangerous unicode character sequences.
1111
# Error
@@ -17,11 +17,11 @@ linters:
1717
- "staticcheck"
1818
- "unused"
1919
linters-settings:
20-
gci:
21-
sections:
22-
- standard
23-
- default
24-
- localmodule
25-
- blank
26-
- dot
27-
- alias
20+
# gci:
21+
# sections:
22+
# - standard
23+
# - default
24+
# - localmodule
25+
# - blank
26+
# - dot
27+
# - alias

requests/validate_body_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ import (
1212

1313
"github.com/pb33f/libopenapi"
1414
"github.com/pb33f/libopenapi-validator/config"
15+
"github.com/pb33f/libopenapi-validator/paths"
1516
"github.com/stretchr/testify/assert"
1617
"github.com/stretchr/testify/require"
17-
18-
"github.com/pb33f/libopenapi-validator/paths"
1918
)
2019

2120
func TestValidateBody_NotRequiredBody(t *testing.T) {

0 commit comments

Comments
 (0)