Commit Graph

4 Commits

Author SHA1 Message Date
Jason Song 4c10dca949 Check SPDX-License-Identifier (#21)
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>
2022-12-01 23:58:05 +08:00
Gusted 854133ff01 Add gitea's go-crypto fork to deny list (#19)
- It's dangerous to use this fork over the official one. This one only
will contain changes to the SSH part of x/crypto in order to fix some
bugs. See https://github.com/go-gitea/gitea/pull/18711.

Reviewed-on: https://gitea.com/gitea/gitea-vet/pulls/19
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-committed-by: Gusted <williamzijl7@hotmail.com>
2022-03-14 08:35:26 +08:00
Gusted 48ebc90254 Add "encoding/json" to denylist (#18)
- "encoding/json" should be avoided as we got a json module for that which get the correct json library when specified.
- Allow to exemptions to the denylist (e.g. the json module need to import this package).

Reviewed-on: https://gitea.com/gitea/gitea-vet/pulls/18
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-committed-by: Gusted <williamzijl7@hotmail.com>
2022-01-22 23:17:48 +08:00
Gusted 791434a6a7 Add denylist import (#17)
- As per https://github.com/go-gitea/gitea/pull/18222#issuecomment-1008386067

Reviewed-on: https://gitea.com/gitea/gitea-vet/pulls/17
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Norwin <noerw@noreply.gitea.io>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-committed-by: Gusted <williamzijl7@hotmail.com>
2022-01-11 09:43:43 +08:00