mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-08 03:43:56 -05:00
38 lines
798 B
YAML
38 lines
798 B
YAML
linters:
|
|
disable-all: true
|
|
# @alex: we will need to sort out the linters because they take too much time
|
|
# and memory to run practically since we merged go-corset. We shall revise
|
|
# our toolset.
|
|
enable:
|
|
- gofmt
|
|
# - staticcheck
|
|
- gosec
|
|
# - gosimple
|
|
# - govet
|
|
- ineffassign
|
|
- prealloc
|
|
|
|
run:
|
|
issues-exit-code: 1
|
|
# List of build tags, all linters use it.
|
|
# Default: [].
|
|
# build-tags:
|
|
|
|
issues:
|
|
exclude-dirs:
|
|
- compressor
|
|
- zkevm/arithmetization
|
|
exclude:
|
|
# Only appears on CI
|
|
- '.*printf: non-constant format string in call to.*'
|
|
|
|
linters-settings:
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
- '-SA1019' # disable the rule against deprecated code
|
|
- '-SA1006'
|
|
gosec:
|
|
excludes:
|
|
- G115 # Conversions from int -> uint etc
|