By setting the Analyzer's RunDespiteErrors field to true, the type
check is skiped and the linter can work without the need to actually
import ginkgo and gomega.
This will ease the integration with other applications, such as
golangci-lint.
This is not working. singlechecker.Main does not look at the analyzer's RunDespiteErrors flag, and so the cli fail to load the package without the vendor directory.
By setting the Analyzer's RunDespiteErrors field to
true
, the type check is skiped and the linter can work without the need to actually import ginkgo and gomega.This will ease the integration with other applications, such as golangci-lint.