chore(lint): upgrade linter to v2.4.0

- migrate configuration file
- fix existing code issues
- add exclusion rules
- update linter names
This commit is contained in:
Quentin McGaw
2025-08-15 16:53:05 +00:00
parent 85325e4a31
commit b0c4a28be6
16 changed files with 86 additions and 51 deletions

View File

@@ -15,7 +15,7 @@ type Shadowsocks struct {
// It defaults to false, and cannot be nil in the internal state.
Enabled *bool
// Settings are settings for the TCP+UDP server.
tcpudp.Settings
Settings tcpudp.Settings
}
func (s Shadowsocks) validate() (err error) {