diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-05-31 12:34:13 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-05-31 12:34:13 +0000 |
commit | 02eb854bffb4bba4585a589c5dda62c503d89363 (patch) | |
tree | 3e550e3be7bf33c5dee444d679aa80453fa7dcfd /telebot/.golangci.yml | |
parent | added cmc as a provider (diff) | |
download | hived-02eb854bffb4bba4585a589c5dda62c503d89363.tar.gz hived-02eb854bffb4bba4585a589c5dda62c503d89363.zip |
WIP
Diffstat (limited to 'telebot/.golangci.yml')
-rw-r--r-- | telebot/.golangci.yml | 19 |
1 files changed, 19 insertions, 0 deletions
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 |