/ .golangci.toml
.golangci.toml
1 # SPDX-FileCopyrightText: Amolith <amolith@secluded.site> 2 # 3 # SPDX-License-Identifier: CC0-1.0 4 5 [run] 6 concurrency = 8 7 timeout = "30m" 8 issues-exit-code = 1 9 tests = true 10 modules-download-mode = "readonly" 11 go = "" 12 13 [output] 14 print-issued-lines = false 15 print-linter-name = true 16 uniq-by-line = false 17 path-prefix = "" 18 sort-results = true 19 20 [issues] 21 max-issues-per-linter = 0 22 max-same-issues = 0 23 new = false 24 fix = false 25 exclude-dirs = ["frontend"] 26 27 [linters] 28 fast = false 29 eeable = [ 30 "asasalint", 31 "asciicheck", 32 "bidichk", 33 "bodyclose", 34 "contextcheck", 35 "durationcheck", 36 "errcheck", 37 "errname", 38 "errorlint", 39 "exportloopref", 40 "gocritic", 41 "godot", 42 "gofumpt", 43 "goimports", 44 "gomoddirectives", 45 "gosec", 46 "gosimple", 47 "govet", 48 "ineffassign", 49 "misspell", 50 "nakedret", 51 "nilerr", 52 "nilnil", 53 "noctx", 54 "nolintlint", 55 "prealloc", 56 "predeclared", 57 "promlinter", 58 "reassign", 59 "revive", 60 "rowserrcheck", 61 "sqlclosecheck", 62 "stylecheck", 63 "tagliatelle", 64 "tenv", 65 "testableexamples", 66 "thelper", 67 "tparallel", 68 "unconvert", 69 "unparam", 70 "unused", 71 "usestdlibvars", 72 "wastedassign", 73 "containedctx", 74 "cyclop", 75 "decorder", 76 "depguard", 77 "dogsled", 78 "dupl", 79 "dupword", 80 "errchkjson", 81 "execinquery", 82 "exhaustive", 83 "exhaustruct", 84 "forcetypeassert", 85 "funlen", 86 "gci", 87 "gocheckcompilerdirectives", 88 "gocognit", 89 "gocyclo", 90 "godox", 91 "goerr113", 92 "gomnd", 93 "gomodguard", 94 "goprintffuncname", 95 "grouper", 96 "importas", 97 "interfacebloat", 98 "ireturn", 99 "lll", 100 "loggercheck", 101 "maintidx", 102 "makezero", 103 "musttag", 104 "nestif", 105 "nonamedreturns", 106 "nosprintfhostport", 107 "paralleltest", 108 "testpackage", 109 "typecheck", 110 "varnamelen", 111 "whitespace", 112 "wrapcheck", 113 "wsl" 114 ]