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
- unused
# Custom
- bodyclose
- err113
- errchkjson
- errname
- errorlint
- fatcontext
- forcetypeassert
- gocritic
- gofumpt
@ -359,32 +361,6 @@ issues:
- ".*_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
Edit `~/.ssh/config`