Skip to content

fix(lint): resolve 6 staticcheck violations#28

Merged
shantoislamdev merged 1 commit into
mainfrom
fix-staticcheck-violations
May 27, 2026
Merged

fix(lint): resolve 6 staticcheck violations#28
shantoislamdev merged 1 commit into
mainfrom
fix-staticcheck-violations

Conversation

@shantoislamdev

Copy link
Copy Markdown
Owner

Resolves all 6 staticcheck violations: QF1001 De Morgan in generate.go, QF1008 redundant Duration selector in config.go, QF1012 WriteString(Sprintf) in chat.go, SA4006 unused var in chat_test.go.

- Apply De Morgan's law in generate.go (QF1001)
- Remove redundant embedded field Duration from selector in config.go (QF1008)
- Replace WriteString(fmt.Sprintf) with fmt.Fprintf in chat.go (QF1012)
- Fix unused variable assignment in chat_test.go (SA4006)
@shantoislamdev shantoislamdev merged commit e37b438 into main May 27, 2026
5 of 6 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.

1 participant