summaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorSasha Melentyev <sasha@melentyev.io>2022-03-21 06:22:34 +0300
committerGitHub <noreply@github.com>2022-03-21 11:22:34 +0800
commitc604c9ae66696539174b04a33f9f3bb73b7a09c2 (patch)
tree8a864649c5f7440ad44de8258c978bcf5e2232c2 /.golangci.yml
parent572c63d237e17d73098d9cafcfa913fcae1cfda4 (diff)
downloadgitea-c604c9ae66696539174b04a33f9f3bb73b7a09c2.tar.gz
gitea-c604c9ae66696539174b04a33f9f3bb73b7a09c2.zip
Add 1.18 (#19151)
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 143359bcf0..1794b4594d 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -13,7 +13,7 @@ linters:
#- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
- gofmt
- misspell
- #- gocritic # TODO: disabled until fixed with go 1.18
+ - gocritic
- bidichk
- ineffassign
- revive
@@ -23,6 +23,7 @@ linters:
fast: false
run:
+ go: 1.18
timeout: 10m
skip-dirs:
- node_modules