]> ruderich.org/simon Gitweb - safcm/safcm.git/commit - rpc/conn.go
ci/run: run golangci-lint
authorSimon Ruderich <simon@ruderich.org>
Thu, 23 Dec 2021 17:21:35 +0000 (18:21 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 23 Dec 2021 17:21:35 +0000 (18:21 +0100)
commitba1a93368ed95d7160062f60fb8b579bc178d3aa
treeb19068343381bdf49c59ab7a3012c0b74eb81630
parent8620dac1f9ee7f73058e3e97b488ec0c710a89df
ci/run: run golangci-lint

Currently golangci-lint doesn't call all staticcheck linters:
https://github.com/golangci/golangci-lint/issues/357
20 files changed:
.golangci.yml [new file with mode: 0644]
ci/run
cmd/safcm/config/files_test.go
cmd/safcm/config/groups_test.go
cmd/safcm/config/hosts_test.go
cmd/safcm/config/permissions_test.go
cmd/safcm/config/templates_test.go
cmd/safcm/config/triggers_test.go
cmd/safcm/main_sync_test.go
cmd/safcm/sync.go
cmd/safcm/sync_sync_test.go
cmd/safcm/sync_test.go
frontend/loop.go
remote/ainsl/ainsl.go
remote/ainsl/ainsl_test.go
remote/main.go
remote/sync/files.go
remote/sync/files_test.go
rpc/conn.go
rpc/dial.go