From e9b07938ccbe116a51bae09691e9210ad11a4ca1 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 16 Jul 2022 14:29:22 +0000 Subject: [PATCH] robot: Add golangci file --- .golangci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .golangci.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..8e2ddd9 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,12 @@ +run: + timeout: 5m + tests: false +linters: + enable: + - revive # replacement for golint + - dupl # check duplicated code + - goconst # check strings that can turn into constants + - gofmt # check fmt + - goheader # Check license headers, only checks files in current year + - goimports # check imports + - gocyclo # check complexity \ No newline at end of file