netbird/client/firewall/nftables
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
..
manager_linux_test.go fix some typo spotted with codespell (#1278) 2023-11-01 17:11:16 +01:00
manager_linux.go Add gocritic linter (#1324) 2023-11-27 16:40:02 +01:00
rule_linux.go Optimize ACL performance (#994) 2023-07-18 13:12:50 +04:00
ruleset_linux_test.go Optimize ACL performance (#994) 2023-07-18 13:12:50 +04:00
ruleset_linux.go Optimize ACL performance (#994) 2023-07-18 13:12:50 +04:00