You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far we've implemented our lint rules manually - and a frontend to match.
The analysis package implements numerous checkers that serve as great examples - and ways to run them (and custom ones) via the analysis/multichecker and analysis/singlechecker packages.
Instead of rolling our own, we should attempt to use this interface.
The text was updated successfully, but these errors were encountered:
It looks like we'll need to write a tiny frontend similar to analysis/multichecker to support our yaml-based config format. This shouldn't be too challenging, as all cmd/openlynt does is parse the yaml and run ast.Inspect.
So far we've implemented our lint rules manually - and a frontend to match.
The analysis package implements numerous checkers that serve as great examples - and ways to run them (and custom ones) via the
analysis/multichecker
andanalysis/singlechecker
packages.Instead of rolling our own, we should attempt to use this interface.
The text was updated successfully, but these errors were encountered: