Gusted
ea0fe83888
Fix golangci-lint warnings ( #17598 et al) ( #17668 )
...
Backport #17598
Backport #17606
Backport #17608
Backport #17609
- Since https://gitea.com/gitea/test-env/pulls/10 the golangci-lint has been upgraded and is erroring about new warnings in the code, this PR fixes those warnings.
3 years ago
silverwind
c3802dcc0f
Use binary version of revive linter ( #15739 )
...
Use the common `go get` method to install and run the revive linter,
removing the useless build/lint.go and related vendor libraries.
4 years ago
techknowlogick
1c3278c2fa
update revive lint to latest commit ( #12921 )
...
* update revive lint to latest commit
* make fmt
* change import
4 years ago
6543
ee97e6a66a
Update gitea-vet to v0.2.1 ( #12282 )
...
* change to new code location
* vendor
* tagged version v0.2.0
* gitea-vet v0.2.1
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
John Olheiser
baadb51445
Add gitea-vet ( #10948 )
...
* Add copyright
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add gitea-vet and fix non-compliance
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Combine tools.go into build.go and clean up
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove extra GO111MODULE=on
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
guillep2k
b74d30ae27
Prevent support libraries from compiling into Gitea ( #10964 )
...
* Prevent support libraries from compiling into Gitea
* Fix tag position
* Fix golangci-lint errors
* Refactor to make it work
Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com>
5 years ago
Lunny Xiao
b264c30394
Move gocovmerge as vendor ( #10947 )
...
* Move gocovmerge as vendor
* Update Makefile
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
Lunny Xiao
4f63f283c4
Rename scripts to build and add revive command as a new build tool command ( #10942 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago