Skip to content

move lint to golangci-lint v2 - #180

Merged
Mzack9999 merged 1 commit into
mainfrom
fix/179-golangci-lint-v2
Oct 23, 2026
Merged

Mzack9999 merged 1 commit into
mainfrom
fix/179-golangci-lint-v2

Conversation

@dogancanbakir

Copy link
Copy Markdown
Member

Fixes #179

Lint action bumped to v9 (golangci-lint v2), plus the errcheck fixes it reports.
Dropped SkipHostDiscovery (deprecated, and naabu never reads it; discovery stays off unless WithHostDiscovery is set) and replaced fileutil.ReadFile with its equivalent fileutil.Lines loop.

@dogancanbakir dogancanbakir self-assigned this Oct 20, 2026
@Mzack9999
Mzack9999 merged commit d6e52e6 into main Oct 23, 2026
5 checks passed
@Mzack9999
Mzack9999 deleted the fix/179-golangci-lint-v2 branch October 23, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lint fails: golangci-lint v1 cannot load go1.27

2 participants