rum-goggles/v1/vendor/github.com/robertkrimen/otto/.golangci.yml

66 lines
1 KiB
YAML
Raw Permalink Normal View History

run:
deadline: 6m
skip-dirs:
- terst
skip-files:
- dbg/dbg.go
2024-04-04 14:46:14 +00:00
- token/token_const.go
linters-settings:
govet:
check-shadowing: false
goconst:
min-len: 2
min-occurrences: 4
2024-04-04 14:46:14 +00:00
revive:
enable-all-rules: false
rules:
- name: var-naming
disabled: true
linters:
enable-all: true
disable:
- dupl
- lll
- gochecknoglobals
- gochecknoinits
- scopelint
- funlen
- godox
- exhaustivestruct
- goerr113
- wsl
- nlreturn
- gomnd
- paralleltest
- wrapcheck
- testpackage
- gocognit
- nestif
- exhaustive
- forcetypeassert
- gocyclo
- cyclop
- varnamelen
- maintidx
- ireturn
- exhaustruct
- nosnakecase
- dupword
2024-04-04 14:46:14 +00:00
- structcheck
- deadcode
- golint
- varcheck
- ifshort
- interfacer
- maligned
# Just causes noise
- depguard
2024-04-04 14:46:14 +00:00
issues:
exclude-use-default: false
max-same-issues: 0
exclude:
- Deferring unsafe method "Close" on type "io\.ReadCloser"