noop

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LintNoop

type LintNoop struct {
	Type string `json:"type" yaml:"type" jsonschema:"enum=noop" jsonschema_description:"a linter type to do nothing"`
}

LintNoop performs no operations, as a template implementation of cries' linter.Linter

func (*LintNoop) Cleanup

func (l *LintNoop) Cleanup(group *sync.WaitGroup)

Cleanup removes any additional resources created in the process

func (*LintNoop) MaxConcurrency

func (l *LintNoop) MaxConcurrency() int

MaxConcurrency return max number of parallel files to fmt

func (*LintNoop) Name

func (l *LintNoop) Name() string

Name returns the name of the linter

func (*LintNoop) Run

func (l *LintNoop) Run(filepath string, rep chan linter.Report)

Run the linter

func (*LintNoop) WillRun

func (l *LintNoop) WillRun() (err error)

WillRun do nothing as there are no external deps

Jump to

Keyboard shortcuts

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