2021-04-11 03:51:00 +07:00
---
2020-04-09 08:05:17 +07:00
run :
timeout : 3m
linters-settings :
2020-05-02 23:20:40 +07:00
goconst :
min-len : 2
min-occurrences : 2
2020-04-09 08:05:17 +07:00
gocyclo :
min-complexity : 15
2020-05-02 12:06:39 +07:00
godot :
check-all : true
2020-04-09 08:05:17 +07:00
goimports :
local-prefixes : github.com/authelia/authelia
linters :
enable :
2020-05-05 11:43:46 +07:00
- asciicheck
2020-05-02 23:20:40 +07:00
- goconst
2020-05-06 07:52:06 +07:00
- gocritic
2020-04-09 08:05:17 +07:00
- gocyclo
2020-05-02 12:06:39 +07:00
- godot
2020-04-09 08:05:17 +07:00
- gofmt
- goimports
- golint
2020-05-05 14:57:30 +07:00
- gosec
2020-04-09 08:05:17 +07:00
- misspell
2020-05-05 11:43:46 +07:00
- nolintlint
2020-04-09 08:05:17 +07:00
- prealloc
2020-05-05 11:43:46 +07:00
- unconvert
2020-04-09 08:05:17 +07:00
- unparam
- whitespace
2020-05-06 02:35:32 +07:00
- wsl
2020-04-09 08:05:17 +07:00
issues :
2020-04-28 13:39:54 +07:00
exclude :
2021-04-11 03:51:00 +07: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 13:39:54 +07: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 08:05:17 +07:00
max-issues-per-linter : 0
2021-04-11 03:51:00 +07:00
max-same-issues : 0
...