Add editorconfig, fix files and lint via ci

This commit is contained in:
6543
2022-11-11 23:51:45 +01:00
parent 91b54bef29
commit 8e67d28c4f
9 changed files with 41 additions and 12 deletions

View File

@ -18,6 +18,7 @@ build-tag VERSION:
lint: tool-golangci tool-gofumpt
[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }; \
golangci-lint run --timeout 5m --build-tags integration
# TODO: run editorconfig-checker
fmt: tool-gofumpt
gofumpt -w --extra .