mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Remove Golint
- Golint is deprecated - Use staticcheck and golangci-lint instead
This commit is contained in:
parent
b48ad6dbfb
commit
420a3d4d95
4 changed files with 15 additions and 8 deletions
4
Makefile
4
Makefile
|
@ -110,7 +110,9 @@ test:
|
|||
go test -cover -race -count=1 ./...
|
||||
|
||||
lint:
|
||||
golint -set_exit_status ${PKG_LIST}
|
||||
go vet ./...
|
||||
staticcheck ./...
|
||||
golangci-lint run --disable errcheck --enable sqlclosecheck --enable misspell --enable gofmt --enable goimports --enable whitespace
|
||||
|
||||
integration-test:
|
||||
psql -U postgres -c 'drop database if exists miniflux_test;'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue