Skip to content

Commit

Permalink
Impr: varnamelen settings
Browse files Browse the repository at this point in the history
  • Loading branch information
joeturki committed Jan 3, 2025
1 parent 790fc59 commit 627027c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ci/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@ linters-settings:
- ^os.Exit$
- ^panic$
- ^print(ln)?$
varnamelen:
max-distance: 12
min-name-length: 2
ignore-type-assert-ok: true
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


linters:
enable:
Expand Down

0 comments on commit 627027c

Please sign in to comment.