nunnatsa / ginkgolinter

golang linter for ginkgo and gomega
MIT License
25 stars 6 forks source link

Remove all the dependencies in ginkgo & gomega #15

Closed nunnatsa closed 2 years ago

nunnatsa commented 2 years ago

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.

nunnatsa commented 2 years ago

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.

Closing.