Documentation
¶
Index ¶
- func New(rootDir string, source []byte, configurationPath string) (*internal.Engine, error)
- func ProcessCyclomaticComplexity(path string, threshold int) ([]tt.Issue, error)
- func ProcessFile(engine LintEngine, filePath string) ([]tt.Issue, error)
- func ProcessFiles(ctx context.Context, logger *zap.Logger, engine LintEngine, paths []string, ...) ([]tt.Issue, error)
- func ProcessPath(_ context.Context, logger *zap.Logger, engine LintEngine, path string, ...) ([]tt.Issue, error)
- func ProcessSource(engine LintEngine, source []byte) ([]tt.Issue, error)
- func ProcessSources(ctx context.Context, logger *zap.Logger, engine LintEngine, sources [][]byte, ...) ([]tt.Issue, error)
- type Config
- type LintEngine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessFile ¶
func ProcessFile(engine LintEngine, filePath string) ([]tt.Issue, error)
func ProcessFiles ¶
func ProcessPath ¶
func ProcessSource ¶
func ProcessSource(engine LintEngine, source []byte) ([]tt.Issue, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.