From 02eb854bffb4bba4585a589c5dda62c503d89363 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 31 May 2024 08:34:13 -0400 Subject: WIP --- telebot/.golangci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 telebot/.golangci.yml (limited to 'telebot/.golangci.yml') diff --git a/telebot/.golangci.yml b/telebot/.golangci.yml new file mode 100644 index 0000000..c31a774 --- /dev/null +++ b/telebot/.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.22' +linters-settings: + depguard: + rules: + srcs: + listMode: "Strict" + allow: + - $gostd + - github.com/go-telegram-bot-api/telegram-bot-api + - github.com/rs/zerolog/log + - github.com/terminaldweller/grpc/telebot/v1 + - golang.org/x/net/proxy + - google.golang.org/grpc -- cgit v1.2.3