From 49ec3e7585f9cd1ebc5369750dc07c12f7b113a6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 24 Mar 2025 22:33:47 +0800 Subject: Add a .golangci.yaml --- .golangci.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .golangci.yaml diff --git a/.golangci.yaml b/.golangci.yaml new file mode 100644 index 0000000..f047fe8 --- /dev/null +++ b/.golangci.yaml @@ -0,0 +1,20 @@ +linters: + enable-all: true + disable: + - wsl + - varnamelen + - nonamedreturns + - nlreturn + - tenv + - gochecknoglobals + - funlen + - paralleltest + - mnd + - gochecknoinits + - cyclop + - exhaustruct + - lll + +issues: + max-issues-per-linter: 0 + max-same-issues: 0 -- cgit v1.2.3