planetmint-go/.golangci.yaml
Julian Strobl 6472d7693f
[ci] Add nosnakecase to golangci-lint (#161)
Golang uses:

- Camel Case for variable names, e.g. `firstName`
- Camel Case for private function names, e.g. `getFirstName`
- Pascal Case for public function names, e.g. `GetFirstName`

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-10-20 14:09:07 +02:00

25 lines
393 B
YAML

---
run:
timeout: 5m
linters:
enable:
- errcheck
- forbidigo
- gosimple
- govet
- ineffassign
- nosnakecase
- staticcheck
- unused
issues:
exclude-rules:
- path: codec\.go
linters:
- nosnakecase
- path: app\/simulation_test\.go
linters:
- nosnakecase
- path: testutil\/rest\.go
linters:
- nosnakecase