mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 11:37:56 +08:00
fix(lint): silence deprecated gomodguard linter warning (#4070)
Remove warning:
```
WARN The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2.
WARN Suggested new configuration:
linters:
enable:
- gomodguard_v2
```
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
This commit is contained in:
@@ -12,6 +12,7 @@ linters:
|
|||||||
- funlen
|
- funlen
|
||||||
- gocognit
|
- gocognit
|
||||||
- goconst
|
- goconst
|
||||||
|
- gomodguard
|
||||||
- gosmopolitan
|
- gosmopolitan
|
||||||
- iface
|
- iface
|
||||||
- inamedparam
|
- inamedparam
|
||||||
|
|||||||
Reference in New Issue
Block a user