浏览文件
.golangci.yml
29 行 · 439 B历史下载| 1 | version: "2" |
| 2 | run: |
| 3 | timeout: 10m |
| 4 | linters: |
| 5 | enable: |
| 6 | - gocritic |
| 7 | - gosec |
| 8 | - misspell |
| 9 | - revive |
| 10 | - errcheck |
| 11 | - unused |
| 12 | exclusions: |
| 13 | generated: lax |
| 14 | presets: |
| 15 | - comments |
| 16 | - common-false-positives |
| 17 | - legacy |
| 18 | - std-error-handling |
| 19 | settings: |
| 20 | revive: |
| 21 | rules: |
| 22 | - name: var-naming |
| 23 | disabled: true |
| 24 | formatters: |
| 25 | enable: |
| 26 | - gofmt |
| 27 | - goimports |
| 28 | exclusions: |
| 29 | generated: lax |

