quicknotes/.golangci.yml
Nicola Zangrandi 26bfc9c5d6
feat(infra): add pre-commit checks and linting
- Add pre-commit script with frontend and backend checks
- Add golangci-lint configuration
- Add pre-commit-checks cursor rule
- Update frontend note handling and linking
- Improve backend note functionality and tests
- Moved build.sh to scripts directory
2025-02-21 10:48:26 +01:00

27 lines
No EOL
396 B
YAML

linters:
enable:
- gofmt
- govet
- gosimple
- staticcheck
- unused
- misspell
- goimports
- ineffassign
- gocritic
- errcheck
run:
deadline: 5m
tests: true
issues:
exclude-use-default: false
max-issues-per-linter: 0
max-same-issues: 0
output:
formats:
- format: colored-line-number
print-issued-lines: true
print-linter-name: true