shfmt

package
v0.19.80 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lint

type Lint struct {
	Language syntax.LangVariant
}

Lint contains all the information needed to configure shfmt

func (*Lint) DidRun

func (e *Lint) DidRun()

DidRun cleanup funtion

func (*Lint) MaxConcurrency

func (e *Lint) MaxConcurrency() int

MaxConcurrency return max amount of parallel files to fmt

func (*Lint) Name

func (e *Lint) Name() string

Name return the name of the linter

func (*Lint) Run

func (e *Lint) Run(filepath string, rep chan linter.Report)

Run run shfmt -w

func (*Lint) WillRun

func (e *Lint) 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