| 1 |
version: "2" |
| 2 |
linters: |
| 3 |
default: all |
| 4 |
disable: |
| 5 |
- cyclop |
| 6 |
- depguard |
| 7 |
- dupword |
| 8 |
- err113 |
| 9 |
- errcheck |
| 10 |
- exhaustruct |
| 11 |
- forcetypeassert |
| 12 |
- funcorder |
| 13 |
- funlen |
| 14 |
- gochecknoglobals |
| 15 |
- gochecknoinits |
| 16 |
- gocognit |
| 17 |
- goconst |
| 18 |
- gocyclo |
| 19 |
- godox |
| 20 |
- gosmopolitan |
| 21 |
- inamedparam |
| 22 |
- ireturn |
| 23 |
- lll |
| 24 |
- maintidx |
| 25 |
- mnd |
| 26 |
- nestif |
| 27 |
- nlreturn |
| 28 |
- noctx |
| 29 |
- noinlineerr |
| 30 |
- paralleltest |
| 31 |
- prealloc |
| 32 |
- testpackage |
| 33 |
- unqueryvet |
| 34 |
- varnamelen |
| 35 |
- wrapcheck |
| 36 |
- wsl |
| 37 |
- wsl_v5 |
| 38 |
settings: |
| 39 |
gocritic: |
| 40 |
disabled-checks: |
| 41 |
- appendAssign |
| 42 |
- singleCaseSwitch |
| 43 |
gosec: |
| 44 |
excludes: |
| 45 |
- G203 |
| 46 |
- G401 |
| 47 |
- G404 |
| 48 |
- G501 |
| 49 |
- G504 |
| 50 |
revive: |
| 51 |
rules: |
| 52 |
- name: var-naming |
| 53 |
disabled: true |