Forbid returning merr directly (#26918)

Signed-off-by: yah01 <yah2er0ne@outlook.com>
pull/25762/head
yah01 2023-09-08 10:31:15 +08:00 committed by GitHub
parent 0f4475e5e3
commit 22bb9c199b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ linters-settings:
forbidigo:
forbid:
- '^time\.Tick$'
- '^return merr.Err[a-zA-Z]+$'
#- 'fmt\.Print.*' WIP
issues: