| 1 |
version: "2" |
| 2 |
linters: |
| 3 |
settings: |
| 4 |
errcheck: |
| 5 |
exclude-functions: |
| 6 |
- (*github.com/fsnotify/fsnotify.Watcher).Close |
| 7 |
- (*net.TCPConn).CloseWrite |
| 8 |
- (*net.UnixConn).CloseWrite |
| 9 |
- (*os.File).Close |
| 10 |
- (*os.File).Write |
| 11 |
- (*text/tabwriter.Writer).Flush |
| 12 |
- (io.Closer).Close |
| 13 |
- (io.Writer).Write |
| 14 |
- (net.Conn).Close |
| 15 |
- (net.Listener).Close |
| 16 |
- fmt.Fprintf |
| 17 |
- fmt.Fprintln |
| 18 |
- io.WriteString |
| 19 |
- os.Setenv |
| 20 |
- syscall.Close |
| 21 |
issues: |
| 22 |
max-issues-per-linter: 0 # no limit |
| 23 |
max-same-issues: 0 # no limit |