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  'depguard',
 24  'dogsled',
 25  'dupl',
 26  'dupword',
 27  'durationcheck',
 28  'err113',
 29  'errchkjson',
 30  'errname',
 31  'errorlint',
 32  'exhaustive',
 33  'exhaustruct',
 34  'forcetypeassert',
 35  'funlen',
 36  'gocheckcompilerdirectives',
 37  'gocognit',
 38  'gocritic',
 39  'gocyclo',
 40  'godot',
 41  'godox',
 42  'gomoddirectives',
 43  'gomodguard',
 44  'goprintffuncname',
 45  'gosec',
 46  'grouper',
 47  'importas',
 48  'interfacebloat',
 49  'ireturn',
 50  'lll',
 51  'loggercheck',
 52  'maintidx',
 53  'makezero',
 54  'misspell',
 55  'mnd',
 56  'musttag',
 57  'nakedret',
 58  'nestif',
 59  'nilerr',
 60  'nilnil',
 61  'noctx',
 62  'nolintlint',
 63  'nonamedreturns',
 64  'nosprintfhostport',
 65  'paralleltest',
 66  'prealloc',
 67  'predeclared',
 68  'promlinter',
 69  'reassign',
 70  'revive',
 71  'rowserrcheck',
 72  'sqlclosecheck',
 73  'staticcheck',
 74  'tagliatelle',
 75  'testableexamples',
 76  'testpackage',
 77  'thelper',
 78  'tparallel',
 79  'unconvert',
 80  'unparam',
 81  'usestdlibvars',
 82  'varnamelen',
 83  'wastedassign',
 84  'whitespace',
 85  'wrapcheck',
 86  'wsl'
 87]
 88
 89[linters.exclusions]
 90generated = 'lax'
 91presets = [
 92  'comments',
 93  'common-false-positives',
 94  'legacy',
 95  'std-error-handling'
 96]
 97paths = [
 98  'frontend',
 99  'third_party$',
100  'builtin$',
101  'examples$'
102]
103
104[issues]
105max-issues-per-linter = 0
106max-same-issues = 0
107new = false
108fix = false
109
110[formatters]
111enable = [
112  'gci',
113  'gofumpt',
114  'goimports'
115]
116
117[formatters.exclusions]
118generated = 'lax'
119paths = [
120  'frontend',
121  'third_party$',
122  'builtin$',
123  'examples$'
124]