mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
79a4ac0553
It has a fix for runc issue 4594. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
32 lines
773 B
YAML
32 lines
773 B
YAML
---
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- goimports
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- staticcheck
|
|
- typecheck
|
|
- unused
|
|
- gofmt
|
|
- depguard
|
|
linters-settings:
|
|
goimports:
|
|
# A comma-separated list of prefixes, which, if set, checks import paths
|
|
# with the given prefixes are grouped after 3rd-party packages.
|
|
# Default: ""
|
|
local-prefixes: github.com/cilium/ebpf
|
|
depguard:
|
|
rules:
|
|
no-x-sys-unix:
|
|
files:
|
|
# Filenames are matched against absolute paths, include **/ at the start.
|
|
- '!**/internal/unix/*.go'
|
|
- '!**/examples/**/*.go'
|
|
- '!**/docs/**/*.go'
|
|
deny:
|
|
- pkg: golang.org/x/sys/unix
|
|
desc: use internal/unix instead
|