Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Pastro committed Apr 29, 2023
1 parent f0e88b9 commit bf17c0a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ linters-settings:
- golang.org/x/net/context # use stdlib's context instead
- github.com/FerretDB/FerretDB/internal/bson
- github.com/FerretDB/FerretDB/internal/handlers/pg/pgdb
- github.com/FerretDB/FerretDB/internal/handlers/pg/pjson
- github.com/FerretDB/FerretDB/internal/handlers/sjson
- github.com/FerretDB/FerretDB/internal/handlers/tigris/tigrisdb
- github.com/FerretDB/FerretDB/internal/handlers/tigris/tjson
- github.com/FerretDB/FerretDB/internal/types/fjson
Expand Down Expand Up @@ -167,6 +167,11 @@ issues:
path: cmd/envtool
text: pgdb

# only `pg` handler can import `sjson` package, no other handler can do that
- linters: [depguard]
path: internal/handlers/pg
text: sjson

# only `tigris` handler can import `tigrisdb` package, no other handler can do that
- linters: [depguard]
path: internal/handlers/tigris
Expand Down

0 comments on commit bf17c0a

Please sign in to comment.