enable golangci-lint context-as-argument, context-keys-type and unexported-return

Signed-off-by: changzhen <changzhen5@huawei.com>
This commit is contained in:
changzhen 2024-01-15 20:13:29 +08:00
parent e7192a9ecc
commit 06eeee4d93
1 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,9 @@ linters-settings:
- name: var-naming
- name: redefines-builtin-id
- name: unused-parameter
- name: context-as-argument
- name: context-keys-type
- name: unexported-return
staticcheck:
checks:
- all