Skip to content

Commit

Permalink
add gofmt to linters
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed May 23, 2024
1 parent 3c6d537 commit 95d354e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
linters:
# Disable all linters.
# Default: false
disable-all: true
# Enable specific linter
# https://golangci-lint.run/usage/linters/#enabled-by-default
enable:
# default linter
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
# custom linter
- gofmt

0 comments on commit 95d354e

Please sign in to comment.