mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 04:03:49 +00:00
565a4250d6
* save state * snapshot update works * save state * snapshot migrator * tx test * save state * migrations stages refactor * refactor snapshot migrator * compilation fixed * integrate snapshot migrator * goerli sync headers * debug async snapshotter on goerly * move verify headers, remove experiments, fix remove old snapshot * save state * refactor snapshotsync injection * fix deadlock * replace snapshot generation stage logic to migrate method * change done for body snapshot * clean * clean&&change deleted value * clean * fix hash len * fix hash len * remove one of wrap methods, add remove snapshots on start * add err check * fix shadowing * stages unwind order debug * matryoshka experiments * steam test * fix build * fix test * fix lint * fix test * fix test datarace * add get test * return timeout * fix mdbx overlap * fix after merge * change epoch size * clean todo * fix * return testdata * added return from sndownloader gorutine * fix review comments * Fix * More info Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
51 lines
830 B
YAML
51 lines
830 B
YAML
run:
|
|
deadline: 10m
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- gofmt
|
|
- deadcode
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- structcheck
|
|
- unused
|
|
- varcheck
|
|
|
|
linters-settings:
|
|
govet:
|
|
disable:
|
|
- deepequalerrors
|
|
- fieldalignment
|
|
- shadow
|
|
- unsafeptr
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 2
|
|
gofmt:
|
|
auto-fix: false
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- linters:
|
|
- golint
|
|
text: "should be"
|
|
- linters:
|
|
- errcheck
|
|
text: "not checked"
|
|
- linters:
|
|
- staticcheck
|
|
text: "SA(1019|1029|5011)"
|
|
# Exclude some linters from running on tests files.
|
|
- path: _test\.go
|
|
linters:
|
|
- gosec
|
|
- unused
|
|
- deadcode
|
|
- path: metrics/sample\.go
|
|
linters:
|
|
- gosec
|