fork/gdu
git clone https://git.julia.blue/fork/gdu
8b8f1e9
ignore
1version : "2" 2output : 3formats : 4text : 5path : stdout 6linters : 7default : none 8enable : 9- bodyclose 10- copyloopvar 11- dogsled 12- errcheck 13- errorlint 14- exhaustive 15- funlen 16- goconst 17- gocritic 18- gocyclo 19- govet 20- ineffassign 21- lll 22- nakedret 23- revive 24- staticcheck 25- unparam 26- unused 27- whitespace 28settings : 29dupl : 30threshold : 100 31errcheck : 32check-blank : true 33funlen : 34lines : 500 35statements : 50 36goconst : 37min-len : 3 38min-occurrences : 3 39gocritic : 40disabled-checks : 41- whyNoLint 42enabled-tags : 43- diagnostic 44- experimental 45- opinionated 46- performance 47- style 48gocyclo : 49min-complexity : 25 50govet : 51enable : 52- shadow 53lll : 54line-length : 160 55revive : 56rules : 57- name : blank-imports 58- name : context-as-argument 59- name : context-keys-type 60- name : dot-imports 61- name : error-return 62- name : error-strings 63- name : error-naming 64- name : exported 65- name : increment-decrement 66- name : var-naming 67- name : var-declaration 68- name : package-comments 69- name : range 70- name : receiver-naming 71- name : time-naming 72- name : unexported-return 73- name : indent-error-flow 74- name : errorf 75- name : empty-block 76- name : superfluous-else 77- name : unreachable-code 78- name : redefines-builtin-id 79# While we agree with this rule, right now it would break too many 80# projects. So, we disable it by default. 81- name : unused-parameter 82disabled : true 83exclusions : 84generated : lax 85presets : 86- comments 87- common-false-positives 88- legacy 89- std-error-handling 90rules : 91- linters : 92- errcheck 93- funlen 94- gochecknoglobals # Globals in test files are tolerated. 95- goconst # Repeated consts in test files are tolerated. 96- gocritic 97- gocyclo 98- gosec 99path : _test\.go 100# This rule is buggy and breaks on our `///Block` lines. Disable for now. 101- linters : 102- gocritic 103text : 'commentFormatting: put a space' 104# This rule incorrectly flags nil references after assert.Assert(t, x != nil) 105- linters : 106- staticcheck 107path : _test\.go 108text : SA5011 109- linters : 110- lll 111source : '^//go:generate ' 112- linters : 113- gocritic 114- lll 115path : \.resolvers\.go 116source : '^func \(r \*[a-zA-Z]+Resolvers\) ' 117- path : (.+)\.go$ 118# We allow error shadowing 119text : declaration of "err" shadows declaration at 120paths : 121- third_party$ 122- builtin$ 123- examples$ 124formatters : 125enable : 126- gofmt 127- goimports 128exclusions : 129generated : lax 130paths : 131- third_party$ 132- builtin$ 133- examples$