-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
area: cgoRelated to CGO or line directivesRelated to CGO or line directivesbugSomething isn't workingSomething isn't working
Description
The list of linters that don't work with cgo:
-
exhaustive -
gci -
godotfix: cgo support tetafro/godot#37 -
goheader -
gosec -
ineffassign -
nlreturnNlreturn sees linter error in CGO code without such error ssgreg/nlreturn#4 -
testableexamples(import "C" is not allowed inside tests) -
unparam -
unused -
whitespace -
wslfix: cgo support bombsimon/wsl#157
Please, don't open issues on linter repositories unless you know exactly the reason for cgo limitations.
Each linter has its constraints, and some problems come from golangci-lint.
Metadata
Metadata
Assignees
Labels
area: cgoRelated to CGO or line directivesRelated to CGO or line directivesbugSomething isn't workingSomething isn't working