mirror of
https://github.com/gosom/google-maps-scraper.git
synced 2026-09-19 07:27:12 +08:00
61 lines
967 B
YAML
61 lines
967 B
YAML
run:
|
|
issues-exit-code: 1
|
|
timeout: 3m
|
|
linters-settings:
|
|
errcheck:
|
|
check-type-assertions: true
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 3
|
|
gci:
|
|
sections:
|
|
- prefix(github.com/gosom/ledger)
|
|
custom-order: true
|
|
gocritic:
|
|
enabled-tags:
|
|
- diagnostic
|
|
- experimental
|
|
- opinionated
|
|
- performance
|
|
- style
|
|
govet:
|
|
shadow: true
|
|
nolintlint:
|
|
require-explanation: true
|
|
require-specific: true
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- dogsled
|
|
- dupl
|
|
- errcheck
|
|
- copyloopvar
|
|
- exhaustive
|
|
- goconst
|
|
- gocritic
|
|
- gofmt
|
|
- goimports
|
|
- gocyclo
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nolintlint
|
|
- nakedret
|
|
- prealloc
|
|
- predeclared
|
|
- revive
|
|
- staticcheck
|
|
- stylecheck
|
|
- testpackage
|
|
- thelper
|
|
- tparallel
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- whitespace
|
|
- wsl
|
|
|