File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 11---
2+ $scheme : https://raw.githubusercontent.com/golangci/golangci-lint/refs/heads/main/jsonschema/golangci.v2.0.jsonschema.json
23version : " 2"
34linters :
45 default : none
@@ -33,14 +34,21 @@ linters:
3334 - examples$
3435formatters :
3536 enable :
37+ - gci
38+ - gofmt
3639 - gofumpt
3740 - goimports
41+ - golines
3842 settings :
3943 gofumpt :
40- module-path : github.com/xorcare/testing-go-code-with-postgres
4144 goimports :
42- local-prefixes :
43- - github.com/xorcare/testing-go-code-with-postgres
45+ gci :
46+ sections :
47+ - standard
48+ - default
49+ - localmodule
50+ golines :
51+ max-len : 100
4452 exclusions :
4553 generated : lax
4654 paths :
Original file line number Diff line number Diff line change @@ -14,13 +14,11 @@ import (
1414 "github.com/golang-migrate/migrate/v4"
1515 _ "github.com/golang-migrate/migrate/v4/database/postgres"
1616 "github.com/golang-migrate/migrate/v4/source/iofs"
17-
18- "github.com/xorcare/testing-go-code-with-postgres/migrations"
19-
2017 "github.com/google/uuid"
2118 "github.com/stretchr/testify/require"
2219
2320 rootpkg "github.com/xorcare/testing-go-code-with-postgres"
21+ "github.com/xorcare/testing-go-code-with-postgres/migrations"
2422 "github.com/xorcare/testing-go-code-with-postgres/testingpg"
2523)
2624
You can’t perform that action at this time.
0 commit comments