Skip to content

Commit

Permalink
added a config file for golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
terminaldweller committed May 13, 2024
1 parent e999d16 commit 60aafac
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
run:
concurrency: 16
timeout: 5m
modules-download-mode: readonly
allow-parallel-runners: true
allow-serial-runners: true
go: '1.21'
linters-settings:
depguard:
rules:
srcs:
listMode: "Strict"
allow:
- $gostd
- github.com/alecthomas/chroma/v2/quick
- github.com/google/generative-ai-go
- github.com/lrstanley/girc
- github.com/sashabaranov/go-openai
- github.com/BurntSushi/toml

0 comments on commit 60aafac

Please sign in to comment.