mmetc
|
8fecc2c00b
|
enable staticcheck linter; fixes (#1806)
- explicitly ignore returned parameters
- replace Walk with faster WalkDir
- log path error during hub dir sync
- colorize static unit tests
- removed duplicate import in crowdsec/main.go
- typos
- func tests: default datasource in tests/var/log instead of /tmp
- action setup-go v3
|
2022-10-14 16:12:21 +02:00 |
|
mmetc
|
414282a2c9
|
golangci-lint 1.49 and related fixes (#1736)
|
2022-09-06 13:55:03 +02:00 |
|
mmetc
|
eea07b7a1a
|
golangci-lint v1.48 and fixes for "usestdlibvars" (#1711)
|
2022-08-16 09:46:10 +02:00 |
|
mmetc
|
10585bfecc
|
enabled linters and fixes for: misspell, predeclared, unconvert, ineffassign, gosimple, govet (#1595)
|
2022-06-16 14:41:54 +02:00 |
|
mmetc
|
799cc82bb5
|
functional tests, minor refactoring and lint/cleanup (#1570)
* cmd/crowdsec: removed log.Fatal()s, added tests and print error for unrecognized argument
* updated golangci-lint to v1.46
* lint/deadcode: fix existing issues
* tests: cscli config backup/restore
* tests: cscli completion powershell/fish
* err check: pflags MarkHidden()
* empty .dockerignore (and explain the reason)
* tests, errors.Wrap
* test for CS_LAPI_SECRET and minor refactoring
* minor style changes
* log cleanup
|
2022-06-06 15:24:48 +02:00 |
|
mmetc
|
1fc9587919
|
fix #1283: update and enable error reports from golangci (#1523)
|
2022-05-25 22:27:50 +02:00 |
|