2021-12-07 13:13:09 +00:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
|
|
|
issue-exit-code: 0
|
|
|
|
skip-tests: true
|
|
|
|
build-tags:
|
|
|
|
- linux
|
|
|
|
- libsqlite3
|
|
|
|
- sqlite_fts5
|
|
|
|
linters:
|
|
|
|
enable:
|
2022-02-22 09:14:48 +00:00
|
|
|
# Default linters
|
|
|
|
- errcheck
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
2022-08-07 10:46:49 +00:00
|
|
|
- staticcheck
|
2022-02-22 09:14:48 +00:00
|
|
|
- typecheck
|
|
|
|
- unused
|
|
|
|
# Other linters
|
2022-08-07 10:46:49 +00:00
|
|
|
- asasalint
|
|
|
|
- bidichk
|
|
|
|
- bodyclose
|
|
|
|
- containedctx
|
|
|
|
- contextcheck
|
2021-12-07 13:13:09 +00:00
|
|
|
- dupl
|
2022-08-07 10:46:49 +00:00
|
|
|
- durationcheck
|
2022-02-22 09:14:48 +00:00
|
|
|
- gofmt
|
2022-08-07 10:46:49 +00:00
|
|
|
- gosec
|
|
|
|
- makezero
|
2022-02-22 09:14:48 +00:00
|
|
|
- noctx
|
|
|
|
- prealloc
|
|
|
|
- unparam
|
2022-02-23 09:23:26 +00:00
|
|
|
linters-settings:
|
|
|
|
gosimple:
|
2022-08-05 07:18:46 +00:00
|
|
|
go: "1.19"
|
2022-02-23 09:23:26 +00:00
|
|
|
checks: ["all"]
|
|
|
|
gostatichcheck:
|
2022-08-05 07:18:46 +00:00
|
|
|
go: "1.19"
|
2022-02-26 19:38:52 +00:00
|
|
|
checks: ["all"]
|
|
|
|
dupl:
|
|
|
|
threshold: 125
|