diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-12-16 13:43:05 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2020-12-17 14:19:46 +0300 |
commit | 380a848671e80cef917a55aea9d86af32d54d651 (patch) | |
tree | 6f57fa7ecf926ac3e0269c45ed9c88204b6b35c4 /.golangci.yml | |
parent | 0b14423fbe999a62bb477a7c2f5b42e8767c4e99 (diff) |
golangci: enable "gci" linter
The gci linter asserts that all imports are always sorted in the same
way. Let's enable it and fix the few locations where we don't abide with
this new policy.
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml index 29c94a0ac..8d8a2b192 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -9,6 +9,7 @@ linters: disable-all: true enable: - deadcode + - gci - goimports - gosimple - govet |