linter

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package linter contains core logic for the linter.

Index

Constants

ParserMode is a mode that stops parsing after imports and includes comments.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linter

type Linter interface {
	Lint(fset *token.FileSet, file *ast.File) (errs []error)
}

Linter analysis file for correct imports order.

func NewLinter

func NewLinter(pkg string) Linter

NewLinter creates new Linter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL