mirror of
https://gitea.com/gitea/gitea-vet
synced 2025-10-05 23:52:50 +02:00
Check `SPDX-License-Identifier` in file headers. Related to https://github.com/go-gitea/gitea/pull/21840 Co-authored-by: Jason Song <i@wolfogre.com> Reviewed-on: https://gitea.com/gitea/gitea-vet/pulls/21 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: Xinyu Zhou <i@sourcehut.net> Co-authored-by: Jason Song <wolfogre@noreply.gitea.io> Co-committed-by: Jason Song <wolfogre@noreply.gitea.io>
20 lines
260 B
YAML
20 lines
260 B
YAML
linters:
|
|
enable:
|
|
- dogsled
|
|
- dupl
|
|
- errcheck
|
|
- gocognit
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- gofmt
|
|
- revive
|
|
- gosimple
|
|
- govet
|
|
- misspell
|
|
- prealloc
|
|
- staticcheck
|
|
- typecheck
|
|
- unparam
|
|
- unused
|