mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cb50375e2b
Add nakedret, unconvert, wastedassign, stylecheck and nolintlint linters to improve code readability - nakedret - https://github.com/alexkohler/nakedret - nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length. - unconvert - https://github.com/mdempsky/unconvert - Remove unnecessary type conversions - wastedassign - https://github.com/sanposhiho/wastedassign - wastedassign finds wasted assignment statements. - notlintlint - Reports ill-formed or insufficient nolint directives - stylecheck - https://staticcheck.io/docs/checks/#ST - keep style consistent - excluded: [ST1003 - Poorly chosen identifier](https://staticcheck.io/docs/checks/#ST1003) and [ST1005 - Incorrectly formatted error string](https://staticcheck.io/docs/checks/#ST1005) |
3 years ago | |
---|---|---|
.. | ||
filebuffer | 3 years ago | |
compare.go | 3 years ago | |
io.go | 3 years ago | |
legacy.go | 3 years ago | |
legacy_test.go | 3 years ago | |
paginate.go | 4 years ago | |
paginate_test.go | 3 years ago | |
path.go | 3 years ago | |
path_test.go | 3 years ago | |
remove.go | 4 years ago | |
sanitize.go | 3 years ago | |
sanitize_test.go | 3 years ago | |
sec_to_time.go | 3 years ago | |
sec_to_time_test.go | 3 years ago | |
shellquote.go | 3 years ago | |
shellquote_test.go | 4 years ago | |
slice.go | 3 years ago | |
string.go | 3 years ago | |
string_test.go | 3 years ago | |
timer.go | 5 years ago | |
truncate.go | 3 years ago | |
truncate_test.go | 3 years ago | |
url.go | 5 years ago | |
util.go | 3 years ago | |
util_test.go | 3 years ago |