Skip to content

Commit 488be5d

Browse files
committedApr 18, 2023
Fix forbidigo linter errors
1 parent f23c844 commit 488be5d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎.golangci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ linters-settings:
1616
- errors
1717
forbidigo:
1818
forbid:
19-
- Fatal(f|ln)?$
2019
- ^fmt.Print(f|ln)?$
21-
- ^log.Print(f|ln)?$
20+
- ^log.(Panic|Fatal|Print)(f|ln)?$
2221
- ^os.Exit$
2322
- ^panic$
2423
- ^print(ln)?$
@@ -123,7 +122,7 @@ issues:
123122
text: "of func `main` is high"
124123
linters:
125124
- gocognit
126-
125+
127126
# Allow forbidden identifiers in examples
128127
- path: examples
129128
linters:

0 commit comments

Comments
 (0)
Please sign in to comment.