Golangci-lint: wiki: "How to add a custom linter" page is outdated

Created on 30 Jan 2020  路  2Comments  路  Source: golangci/golangci-lint

on wiki page https://github.com/golangci/golangci-lint/wiki/How-to-add-a-custom-linter in step 3 there is an old link that returns 404 now - pkg/lint/lintersdb/lintersdb.go

It needs to be changed to pkg/lint/lintersdb/manager.go

docs

Most helpful comment

Could this information instead be added to the README or some sort of other doc inside the repo?

The primary advantages of this method:

  • PRs can be made by community to update the process as needed.
  • The instructions on how to add a linter (or any other instructions added in future) wil be tied to that specific version of the code.

All 2 comments

also in step 5 make readme command is wrong
make README.md works

Could this information instead be added to the README or some sort of other doc inside the repo?

The primary advantages of this method:

  • PRs can be made by community to update the process as needed.
  • The instructions on how to add a linter (or any other instructions added in future) wil be tied to that specific version of the code.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

grongor picture grongor  路  4Comments

jsm picture jsm  路  5Comments

alessio picture alessio  路  4Comments

nektro picture nektro  路  3Comments

jirfag picture jirfag  路  3Comments