Skip to content

Commit

Permalink
Sync .golangci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeTurki committed Jan 17, 2025
1 parent 37cc0f4 commit 66f8bee
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ linters-settings:
ignore-map-index-ok: true
ignore-chan-recv-ok: true
ignore-decls:
- pc *PeerConnection
- pc *webrtc.PeerConnection
- wg *sync.WaitGroup
- wg sync.WaitGroup
- i int
- n int
- m map[string]interface{}
- w io.Writer
- r io.Reader
- b []byte
Expand All @@ -64,7 +59,6 @@ linters:
- exportloopref # checks for pointers to enclosing loop variables
- forbidigo # Forbids identifiers
- forcetypeassert # finds forced type assertions
- funlen # Tool for detection of long functions
- gci # Gci control golang package import order and make it always deterministic.
- gochecknoglobals # Checks that no globals are present in Go code
- gocognit # Computes and checks the cognitive complexity of functions
Expand Down Expand Up @@ -111,6 +105,7 @@ linters:
- whitespace # Tool for detection of leading and trailing whitespace
disable:
- depguard # Go linter that checks if package imports are in a list of acceptable packages
- funlen # Tool for detection of long functions
- gochecknoinits # Checks that no init functions are present in Go code
- gomodguard # Allow and block list linter for direct Go module dependencies. This is different from depguard where there are different block types for example version constraints and module recommendations.
- interfacebloat # A linter that checks length of interface.
Expand Down

0 comments on commit 66f8bee

Please sign in to comment.