laconicd-deprecated/.golangci.yml
Thomas E Lackey 86cd96d264
Some checks failed
Build / cleanup-runs (pull_request) Successful in 5s
Deploy Contract / cleanup-runs (pull_request) Successful in 6s
Build / build (pull_request) Failing after 56s
CodeQL / Analyze (go) (pull_request) Failing after 1m6s
Deploy Contract / deploy (pull_request) Failing after 53s
Pull Request Labeler / triage (pull_request) Failing after 21s
Lint / Run flake8 on python integration tests (pull_request) Failing after 21s
Semgrep / Scan (pull_request) Failing after 18s
Run Gosec / Gosec (pull_request) Failing after 29s
Dependency Review / dependency-review (pull_request) Failing after 1m55s
Tests / cleanup-runs (pull_request) Successful in 11s
Lint / Run golangci-lint (pull_request) Failing after 55s
Tests / test-importer (pull_request) Failing after 48s
Tests / test-rpc (pull_request) Failing after 1m6s
Tests / test-unit-cover (pull_request) Failing after 1m16s
Tests / sdk_tests (pull_request) Failing after 2m27s
lint
2023-11-20 16:51:20 -06:00

76 lines
1.9 KiB
YAML

run:
tests: false
# timeout for analysis, e.g. 30s, 5m, default is 1m
# timeout: 5m
linters:
enable:
- bodyclose
# - depguard # 20231120 disable until https://github.com/golangci/golangci-lint/issues/3906 is released
- dogsled
- dupl
- errcheck
- goconst
- gocritic
- gofumpt
- revive
- gosec
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- prealloc
- exportloopref
- staticcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- nolintlint
- asciicheck
- exportloopref
- gofumpt
- gomodguard
- whitespace
issues:
exclude-rules:
- path: _test\.go
linters:
- gosec
- linters:
- lll
source: "https://"
max-same-issues: 50
linters-settings:
lll:
line-length: 150
dogsled:
max-blank-identifiers: 3
golint:
min-confidence: 0
maligned:
suggest-new: true
misspell:
locale: US
nolintlint:
allow-unused: false
allow-leading-space: true
require-explanation: false
require-specific: false
gofumpt:
lang-version: "1.19"
gomodguard:
blocked:
versions: # List of blocked module version constraints
- https://github.com/etcd-io/etcd: # Blocked module with version constraint
version: ">= 3.4.10 || ~3.3.23" # Version constraint, see https://github.com/Masterminds/semver#basic-comparisons
reason: "CVE-2020-15114; CVE-2020-15136; CVE-2020-15115" # Reason why the version constraint exists. (Optional)
- https://github.com/dgrijalva/jwt-go: # Blocked module with version constraint
version: ">= 4.0.0-preview1" # Version constraint, see https://github.com/Masterminds/semver#basic-comparisons
reason: "CVE-2020-26160" # Reason why the version constraint exists. (Optional)