chore: update golangci-lint config

main
sudo pacman -Syu 2024-10-26 23:27:26 +07:00
parent cf714dcfbf
commit a3a1e660a1
1 changed files with 2 additions and 26 deletions

View File

@ -282,10 +282,12 @@ linters:
- typecheck - typecheck
- unused - unused
# Custom # Custom
- bodyclose
- err113 - err113
- errchkjson - errchkjson
- errname - errname
- errorlint - errorlint
- fatcontext
- forcetypeassert - forcetypeassert
- gocritic - gocritic
- gofumpt - gofumpt
@ -359,32 +361,6 @@ issues:
- ".*_mock.*" - ".*_mock.*"
``` ```
`.goreleaser.yml`:
```yaml
before:
hooks:
- go mod tidy
builds:
- main: .
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
universal_binaries:
- replace: true
archives:
- format_overrides:
- goos: windows
format: zip
changelog:
skip: false
use: github
```
## ssh config ## ssh config
Edit `~/.ssh/config` Edit `~/.ssh/config`