diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..d0f65ba --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,36 @@ +run: + tests: false + +linters: + enable-all: true + disable: + - execinquery + - exhaustruct + - forbidigo + - gochecknoglobals + - gofumpt + - gomnd + - ireturn + - mnd + - nlreturn + - nonamedreturns + - wrapcheck + - wsl + +linters-settings: + depguard: + rules: + Main: + list-mode: strict + files: + - $all + allow: + - $gostd + - nocternity.net/gomonop + - github.com/karrick/golf + - github.com/miekg/dns + gci: + sections: + - standard + - default + - localmodule