Skip to content

Linter: Update to new customer linter API

Will Chandler (ex-GitLab) requested to merge wc/update-to-new-linter-api into master

golangci-lint v1.54 updates the contract custom linters should use from an AnalyzerPlugin interface to a New(any) ([]*analysis.Analyzer, error) function. A deprecation warning for the old API is occurring when executing make lint.

Update to the new API to silence the warning.

Edited by Will Chandler (ex-GitLab)

Merge request reports