Add editorconfig, fix files and lint via ci
This commit is contained in:
1
Justfile
1
Justfile
@ -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 .
|
||||
|
Reference in New Issue
Block a user