Add GoReleaser configuration, CI workflows, and contributing guidelines; update .gitignore and Makefile

This commit is contained in:
JY Tan
2025-12-18 16:45:12 -08:00
parent accce04769
commit 55230dd774
9 changed files with 689 additions and 3 deletions

41
.golangci.yml Normal file
View File

@@ -0,0 +1,41 @@
run:
timeout: 5m
modules-download-mode: readonly
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/Use-Tusk/fence)
gofmt:
simplify: true
goimports:
local-prefixes: github.com/Use-Tusk/fence
gocritic:
disabled-checks:
- singleCaseSwitch
revive:
rules:
- name: exported
disabled: true
linters:
enable-all: false
disable-all: true
enable:
- staticcheck
- errcheck
- gosimple
- govet
- unused
- ineffassign
- gosec
- gocritic
- revive
- gofumpt
- misspell
issues:
exclude-use-default: false