1version = '2'
  2
  3[run]
  4concurrency = 8
  5go = ''
  6modules-download-mode = 'readonly'
  7issues-exit-code = 1
  8tests = true
  9
 10[output]
 11path-prefix = ''
 12
 13[linters]
 14enable = [
 15  'asasalint',
 16  'asciicheck',
 17  'bidichk',
 18  'bodyclose',
 19  'containedctx',
 20  'contextcheck',
 21  'cyclop',
 22  'decorder',
 23  'dogsled',
 24  'dupl',
 25  'dupword',
 26  'durationcheck',
 27  'err113',
 28  'errchkjson',
 29  'errname',
 30  'errorlint',
 31  'exhaustive',
 32  'exhaustruct',
 33  'forcetypeassert',
 34  'funlen',
 35  'gocheckcompilerdirectives',
 36  'gocognit',
 37  'gocritic',
 38  'gocyclo',
 39  'godot',
 40  'godox',
 41  'gomoddirectives',
 42  'gomodguard',
 43  'goprintffuncname',
 44  'gosec',
 45  'grouper',
 46  'importas',
 47  'interfacebloat',
 48  'ireturn',
 49  'lll',
 50  'loggercheck',
 51  'maintidx',
 52  'makezero',
 53  'misspell',
 54  'mnd',
 55  'musttag',
 56  'nakedret',
 57  'nestif',
 58  'nilerr',
 59  'nilnil',
 60  'noctx',
 61  'nolintlint',
 62  'nonamedreturns',
 63  'nosprintfhostport',
 64  'paralleltest',
 65  'prealloc',
 66  'predeclared',
 67  'promlinter',
 68  'reassign',
 69  'revive',
 70  'rowserrcheck',
 71  'sqlclosecheck',
 72  'staticcheck',
 73  'tagliatelle',
 74  'testableexamples',
 75  'testpackage',
 76  'thelper',
 77  'tparallel',
 78  'unconvert',
 79  'unparam',
 80  'usestdlibvars',
 81  'varnamelen',
 82  'wastedassign',
 83  'whitespace',
 84  'wrapcheck',
 85  'wsl',
 86]
 87
 88[linters.exclusions]
 89generated = 'lax'
 90presets = ['comments', 'common-false-positives', 'legacy', 'std-error-handling']
 91paths = ['frontend', 'third_party$', 'builtin$', 'examples$']
 92
 93[issues]
 94max-issues-per-linter = 0
 95max-same-issues = 0
 96new = false
 97fix = false
 98
 99[formatters]
100enable = ['gci', 'gofumpt', 'goimports']
101
102[formatters.exclusions]
103generated = 'lax'
104paths = ['frontend', 'third_party$', 'builtin$', 'examples$']