Files
Sankofa/crossplane-provider-proxmox/.golangci.yml
defiQUG 7cd7022f6e Update .gitignore, remove package-lock.json, and enhance Cloudflare and Proxmox adapters
- Added lock file exclusions for pnpm in .gitignore.
- Removed obsolete package-lock.json from the api and portal directories.
- Enhanced Cloudflare adapter with additional interfaces for zones and tunnels.
- Improved Proxmox adapter error handling and logging for API requests.
- Updated Proxmox VM parameters with validation rules in the API schema.
- Enhanced documentation for Proxmox VM specifications and examples.
2025-12-12 19:29:01 -08:00

61 lines
890 B
YAML

# GolangCI-Lint Configuration
# See https://golangci-lint.run/usage/configuration/
run:
timeout: 5m
tests: true
skip-dirs:
- vendor
- bin
- .git
linters-settings:
govet:
check-shadowing: true
gocyclo:
min-complexity: 15
dupl:
threshold: 100
goconst:
min-len: 2
min-occurrences: 2
misspell:
locale: US
lll:
line-length: 120
errcheck:
check-type-assertions: true
check-blank: true
funlen:
lines: 100
statements: 50
linters:
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- gofmt
- goimports
- misspell
- unconvert
- goconst
- gocyclo
- dupl
- funlen
- lll
issues:
exclude-rules:
- path: _test.go
linters:
- errcheck
- funlen
- gocyclo
max-issues-per-linter: 0
max-same-issues: 0