Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
disable linters about complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
dertseha committed Mar 14, 2021
1 parent 1c2e3e5 commit c87a270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ linters:
# and the remaining issues (if existing) aren't worth it.
disable:
- gochecknoglobals
- gocognit # disabled because of the high complexity of demo files
- goimports # disabled because of so many false-positives with "imgui-go"
- gofumpt # disabled because no extra need
- gosec
- maligned
- nestif # disabled because of the high complexity of demo files
- gomnd # disabled as most OpenGL stuff are direct constants.
- funlen # disabled because of example code. While people will probably tend to duplicate this, they'll handle it on their own.
- wsl # this one became too pedantic and with a different style than I would.
Expand Down

0 comments on commit c87a270

Please sign in to comment.