Comments, doc comments, test names, error and log messages, CLI help, README, Makefile, CI step names and the design document are now all in English. No behaviour changes; the full suite passes under the race detector. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
31 lines
459 B
YAML
31 lines
459 B
YAML
version: "2"
|
|
|
|
linters:
|
|
default: standard
|
|
enable:
|
|
- bodyclose
|
|
- errorlint
|
|
- gocritic
|
|
- misspell
|
|
- noctx
|
|
- revive
|
|
- unconvert
|
|
- usetesting
|
|
|
|
settings:
|
|
revive:
|
|
rules:
|
|
- name: exported
|
|
- name: package-comments
|
|
|
|
exclusions:
|
|
rules:
|
|
# Relaxed in tests for readability.
|
|
- path: _test\.go
|
|
linters: [bodyclose, noctx, errorlint]
|
|
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
- goimports
|