Declare golangci config version 2 so the v2 binary installed in CI can parse project lint settings successfully. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
307 B
YAML
23 lines
307 B
YAML
version: "2"
|
|
|
|
run:
|
|
timeout: 5m
|
|
tests: true
|
|
|
|
linters:
|
|
enable:
|
|
- errcheck
|
|
- govet
|
|
- ineffassign
|
|
- revive
|
|
- staticcheck
|
|
- unused
|
|
|
|
linters-settings:
|
|
revive:
|
|
rules:
|
|
- name: var-naming
|
|
- name: exported
|
|
- name: package-comments
|
|
- name: indent-error-flow
|