aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'telebot/.golangci.yml')
-rw-r--r--telebot/.golangci.yml19
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