From 60aafac3921a0fac2af3672b201aa7a5ff808023 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Mon, 13 May 2024 08:07:58 -0400 Subject: added a config file for golangci-lint --- .golangci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .golangci.yml 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 -- cgit v1.2.3