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-02 16:20:40 +00:00
|
|
|
- goconst
|
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
|
|
|
|
- interfacer
|
|
|
|
- maligned
|
|
|
|
- misspell
|
|
|
|
- prealloc
|
|
|
|
- unparam
|
|
|
|
- whitespace
|
|
|
|
|
|
|
|
issues:
|
2020-04-28 06:39:54 +00:00
|
|
|
exclude:
|
|
|
|
- Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked
|
|
|
|
- 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
|
|
|
|
max-same-issues: 0
|