spaghetti-cutter
spaghetti-cutter copied to clipboard
integration with golangci-lint
Hi Ole, do we plan to include the tool in the https://github.com/golangci/golangci-lint ?
Hi Igor, that is a great idea. I plan some documentation improvements and added functionality for generated documentation (dependency matrix) until end of January. The command line arguments and configuration will stay the same (except for added flags for generating documentation). With that addition I will move the version to 1.0.
How can I help with the integration?
Cheers, Ole
I just found on the integration page:
You need to implement a new linter using
go/analysis
API. We don't accept notgo/analysis
linters.
The spaghetti-cutter
doesn't use go/analysis
so far. I don't know if it would be possible to change.
I will try to find out. Help for that would be appreciated.
The spaghetti-cutter
needs access to all packages (full names) of a project and their imports.