2021-04-10 20:51:00 +00:00
---
2020-04-09 01:05:17 +00:00
run :
timeout : 3m
linters-settings :
2020-05-02 16:20:40 +00:00
goconst :
min-len : 2
min-occurrences : 2
2020-04-09 01:05:17 +00:00
gocyclo :
min-complexity : 15
2020-05-02 05:06:39 +00:00
godot :
check-all : true
2020-04-09 01:05:17 +00:00
goimports :
local-prefixes : github.com/authelia/authelia
linters :
enable :
2020-05-05 04:43:46 +00:00
- asciicheck
2020-05-02 16:20:40 +00:00
- goconst
2020-05-06 00:52:06 +00:00
- gocritic
2020-04-09 01:05:17 +00:00
- gocyclo
2020-05-02 05:06:39 +00:00
- godot
2020-04-09 01:05:17 +00:00
- gofmt
- goimports
- golint
2020-05-05 07:57:30 +00:00
- gosec
2020-04-09 01:05:17 +00:00
- misspell
2020-05-05 04:43:46 +00:00
- nolintlint
2020-04-09 01:05:17 +00:00
- prealloc
2020-05-05 04:43:46 +00:00
- unconvert
2020-04-09 01:05:17 +00:00
- unparam
- whitespace
2020-05-05 19:35:32 +00:00
- wsl
2020-04-09 01:05:17 +00:00
issues :
2020-04-28 06:39:54 +00:00
exclude :
2021-04-10 20:51:00 +00:00
- Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked # yamllint disable-line rule:line-length
2020-04-28 06:39:54 +00:00
- func name will be used as test\.Test.* by other packages, and that stutters; consider calling this
- (possible misuse of unsafe.Pointer|should have signature)
- ineffective break statement. Did you mean to break out of the outer loop
- Use of unsafe calls should be audited
- Subprocess launch(ed with variable|ing should be audited)
- (G104|G307)
- (Expect directory permissions to be 0750 or less|Expect file permissions to be 0600 or less)
- Potential file inclusion via variable
exclude-use-default : false
2020-04-09 01:05:17 +00:00
max-issues-per-linter : 0
2021-04-10 20:51:00 +00:00
max-same-issues : 0
...