enable golangci-lint context-as-argument, context-keys-type and unexported-return
Signed-off-by: changzhen <changzhen5@huawei.com>
This commit is contained in:
parent
e7192a9ecc
commit
06eeee4d93
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue