mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
generate parts of README automatically
This commit is contained in:
parent
5236feb1ae
commit
034728ec94
31 changed files with 849 additions and 277 deletions
13
pkg/lint/linter/linter.go
Normal file
13
pkg/lint/linter/linter.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package linter
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/golangci/golangci-lint/pkg/result"
|
||||
)
|
||||
|
||||
type Linter interface {
|
||||
Run(ctx context.Context, lintCtx *Context) ([]result.Issue, error)
|
||||
Name() string
|
||||
Desc() string
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue