chore: enhance golangci-lint configuration and clean up error handling

- Added new linters for the examples directory to improve code quality checks.
- Updated output formatting to direct lint results to stdout for better visibility.
- Cleaned up comments related to error handling in various files for clarity and consistency.
This commit is contained in:
0x524a
2025-12-03 00:14:24 -05:00
parent c939fb6563
commit bfad9e910c
10 changed files with 25 additions and 25 deletions
+17 -1
View File
@@ -98,8 +98,24 @@ linters:
- path: cmd/
linters:
- dupl
- path: examples/
linters:
- errcheck
- err113
- funlen
- gocognit
- gocritic
- gocyclo
- godot
- gosec
- mnd
- nlreturn
- noctx
- unused
- wrapcheck
output:
formats:
text:
print-linter-name: true
path: stdout