aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.golangci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
new file mode 100644
index 0000000..8a79a07
--- /dev/null
+++ b/.golangci.yml
@@ -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