diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-05-13 12:07:58 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-05-13 12:07:58 +0000 |
commit | 60aafac3921a0fac2af3672b201aa7a5ff808023 (patch) | |
tree | 290ce732dc0d79186d381cf35520e4a024a54a58 | |
parent | enabled docker build for pushes to main: (diff) | |
download | milla-60aafac3921a0fac2af3672b201aa7a5ff808023.tar.gz milla-60aafac3921a0fac2af3672b201aa7a5ff808023.zip |
added a config file for golangci-lint
-rw-r--r-- | .golangci.yml | 19 |
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 |