| 1 | linters: |
| 2 | enable: |
| 3 | # We opt-in to style linters without the preset since many |
| 4 | # are too strict (e.g., no init functions allowed). |
| 5 | - decorder |
| 6 | - dupword |
| 7 | - gci |
| 8 | - gocritic |
| 9 | - gofumpt |
| 10 | - goprintffuncname |
| 11 | - inamedparam |
| 12 | - mirror |
| 13 | - revive |
| 14 | - stylecheck |
| 15 | - tenv |
| 16 | - unconvert |
| 17 | - usestdlibvars |
| 18 | - wastedassign |
| 19 | presets: |
| 20 | - bugs |
| 21 | - performance |
| 22 | |
| 23 | linters-settings: |
| 24 | gci: |
| 25 | sections: |
| 26 | - standard |
| 27 | - default |
| 28 | - prefix(github.com/wasilibs/wazero-helpers) |
| 29 | |
| 30 | issues: |
| 31 | exclude-rules: |
| 32 | - path: _test\.go |
| 33 | linters: |
| 34 | - errcheck |
| 35 | - errchkjson |
| 36 | - gosec |
| 37 | - noctx |