Skip to content

Commit

Permalink
🤖 Add golangci file
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler authored Jul 16, 2022
1 parent 986a17f commit 0c885f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
run:
timeout: 5m
tests: false
linters:
enable:
- revive # replacement for golint
- dupl # check duplicated code
- goconst # check strings that can turn into constants
- gofmt # check fmt
- goheader # Check license headers, only checks files in current year
- goimports # check imports
- gocyclo # check complexity

0 comments on commit 0c885f2

Please sign in to comment.