golangci-lint icon indicating copy to clipboard operation
golangci-lint copied to clipboard

Add faillint as a linter

Open mcristina422 opened this issue 4 years ago • 2 comments

Add https://github.com/fatih/faillint/ as a linter.

Faillint is a simple Go linter that fails when a specific set of import paths or exported path's functions, constant, vars or types are used. It's meant to be used in CI/CD environments to catch rules you want to enforce in your projects.

mcristina422 avatar Apr 17 '20 14:04 mcristina422

Hi, we already have modguard and depguard for black/white listing imports. Maybe some of our linters also support func/const/var checking?

jirfag avatar May 17 '20 19:05 jirfag

I am first time contributor to golangci-lint and would like to contribute to this issue. Can anyone help me understand what exactly is needed from this issue? If someone help me understand, I will start working on it right away. Thanks

sagar23sj avatar Jun 08 '21 07:06 sagar23sj

Covered by:

  1. depguard
  2. gomodguard
  3. forbidigo

@ldez, I think we can close this issue.

Antonboom avatar Nov 09 '23 18:11 Antonboom

I agree.

ldez avatar Nov 09 '23 20:11 ldez