netbird/client/ssh
Yury Gargay d1a323fa9d
Add gocritic linter (#1324)
* Add gocritic linter

`gocritic` provides diagnostics that check for bugs, performance, and style issues

We disable the following checks:

- commentFormatting
- captLocal
- deprecatedComment

This PR contains many `//nolint:gocritic` to disable `appendAssign`.
2023-11-27 16:40:02 +01:00
..
client.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
login.go Load user profile when SSH (#380) 2022-07-07 11:24:38 +02:00
lookup_darwin.go Use id command for user lookup on MacOS (#384) 2022-07-07 16:13:46 +02:00
lookup.go Use id command for user lookup on MacOS (#384) 2022-07-07 16:13:46 +02:00
server_mock.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
server_test.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
server.go add sleep and comment 2023-06-23 17:02:34 +02:00
util.go Add codespell job (#1281) 2023-11-07 13:37:57 +01:00
window_unix.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00
window_windows.go NetBird SSH (#361) 2022-06-23 17:04:53 +02:00