github.com/shoshinnikita/budget-manager@v0.7.1-0.20220131195411-8c46ff1c6778/.golangci.yml (about) 1 run: 2 concurrency: 4 3 timeout: 3m 4 modules-download-mode: vendor 5 6 linters: 7 enable-all: true 8 disable: 9 # Annoying 10 - exhaustive 11 # Deprecated 12 - maligned 13 - scopelint 14 - golint 15 - interfacer 16 # Useless 17 - cyclop 18 - dupl 19 - exhaustivestruct 20 - godot 21 - godox 22 - gomnd 23 - nlreturn 24 - paralleltest 25 - testpackage 26 - tparallel 27 - thelper 28 - whitespace 29 - wrapcheck 30 - wsl 31 32 linters-settings: 33 gci: 34 local-prefixes: github.com/ShoshinNikita/budget-manager 35 funlen: 36 lines: 80 37 tagliatelle: 38 case: 39 rules: 40 json: snake 41 42 issues: 43 exclude: 44 # Ignore underscores in test functions 45 - "use underscores in Go names; (?:func|type) (?:T|t)est" 46 # Ignore warnings about 'github.com/go-pg/pg' specific field 'tableName' 47 - "`tableName` is unused" 48 # Method 'ToSql' is used by 'github.com/Masterminds/squirrel' 49 - "method ToSql should be ToSQL" 50 51 exclude-rules: 52 - linters: 53 - goerr113 54 text: "do not define dynamic errors" 55 56 - linters: 57 - funlen 58 - lll 59 path: _test\.go 60 61 # Display all issues 62 max-issues-per-linter: 0 63 max-same-issues: 0