Skip to content

Commit

Permalink
Add golangci-lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
arnested committed Jan 4, 2021
1 parent d6de2ee commit 7e896a3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
linters:
enable-all: true

linters-settings:
exhaustive:
# indicates that switch statements are to be considered exhaustive if a
# 'default' case is present, even if all enum members aren't listed in the
# switch
default-signifies-exhaustive: true

0 comments on commit 7e896a3

Please sign in to comment.