| 1 | linters: |
| 2 | enable-all: true |
| 3 | disable: |
| 4 | - cyclop |
| 5 | - exhaustivestruct |
| 6 | - forbidigo |
| 7 | - funlen |
| 8 | - gochecknoglobals |
| 9 | - gocognit |
| 10 | - goerr113 |
| 11 | - gomnd |
| 12 | - ifshort |
| 13 | - interfacer |
| 14 | - lll |
| 15 | - maligned |
| 16 | - nlreturn |
| 17 | - paralleltest |
| 18 | - prealloc |
| 19 | - predeclared |
| 20 | - revive |
| 21 | - testpackage |
| 22 | - thelper |
| 23 | - wastedassign |
| 24 | - wrapcheck |
| 25 | - wsl |
| 26 | |
| 27 | linters-settings: |
| 28 | gci: |
| 29 | local-prefixes: github.com/mmcloughlin/addchain |
| 30 | |
| 31 | issues: |
| 32 | exclude-use-default: false |
| 33 | exclude: |
| 34 | # gosec: G304: Potential file inclusion via variable. |
| 35 | - G304 |
| 36 | # gosec: G306: Expect WriteFile permissions to be 0600 or less |
| 37 | - G306 |
| 38 | # gosec: G404: Use of weak random number generator |
| 39 | - G404 |