mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
Co-authored-by: Martin HS <[email protected]> Co-authored-by: Marius van der Wijden <[email protected]> Co-authored-by: Quentin McGaw <[email protected]> Co-authored-by: Richard Pringle <[email protected]> Co-authored-by: Ceyhun Onur <[email protected]> Co-authored-by: Tsachi Herman <[email protected]>
37 lines
666 B
YAML
37 lines
666 B
YAML
# This file configures github.com/golangci/golangci-lint.
|
|
|
|
run:
|
|
timeout: 10m
|
|
tests: true
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- goimports
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- unconvert
|
|
- typecheck
|
|
- unused
|
|
# - staticcheck
|
|
- bidichk
|
|
- durationcheck
|
|
- copyloopvar
|
|
- whitespace
|
|
# - revive # only certain checks enabled
|
|
- durationcheck
|
|
- gocheckcompilerdirectives
|
|
- reassign
|
|
- mirror
|
|
- tenv
|
|
|
|
linters-settings:
|
|
gofmt:
|
|
simplify: true
|
|
goconst:
|
|
min-len: 3 # minimum length of string constant
|
|
min-occurrences: 6 # minimum number of occurrences
|
|
ignore-tests: true
|