Skip to content

fix(lint): resolve go-critic findings - #37

Merged
enowdev merged 4 commits into
enowdev:mainfrom
elliottophellia:chore/go-critic-cleanup
Aug 31, 2026
Merged

fix(lint): resolve go-critic findings#37
enowdev merged 4 commits into
enowdev:mainfrom
elliottophellia:chore/go-critic-cleanup

Conversation

@elliottophellia

Copy link
Copy Markdown
Collaborator

Summary

Resolve all 12 findings reported by go-critic check ./... without changing the intended behavior.

Changes

  • Make append targets explicit in setup model ordering and CDP event buffering.
  • Replace flagged if-else chains with condition switches.
  • Split OSINT email addresses safely using strings.Cut.
  • Normalize modal width and height parameter names.

Validation

  • go test ./...
  • go vet ./...
  • go-critic check ./...

@enowdev
enowdev merged commit 0ae283a into enowdev:main Aug 31, 2026
2 checks passed
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.

2 participants