netbird/iface
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
..
bind fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
mocks
address.go
device_wrapper_test.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
device_wrapper.go
iface_android.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
iface_nonandroid.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
iface_test.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
iface_windows.go
iface.go DNS forwarder and common ebpf loader (#1083) 2023-09-05 21:14:02 +02:00
ipc_parser_android.go
module_linux_test.go Extend linter rules (#1300) 2023-11-10 16:33:13 +01:00
module_linux.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
module.go
name_darwin.go
name.go
tun_adapter.go Add codespell job (#1281) 2023-11-07 13:37:57 +01:00
tun_android.go Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
tun_darwin.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
tun_linux.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
tun_unix.go
tun_windows.go Fix use wrpped device in windows (#981) 2023-06-23 10:01:22 +02:00
tun.go Feature/search domain for android (#1256) 2023-11-02 19:04:33 +01:00
wg_configurer_android.go
wg_configurer_nonandroid.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00