Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LintDockFmt ¶
type LintDockFmt struct {
Type string `json:"type" yaml:"type" jsonschema:"a built in Docker formatter thanks to reteps (Pete Stenger)"`
IndentSize uint `json:"indent_size" yaml:"indent_size" jsonschema:"Number of spaces to use for indentation"`
TrailingNewline bool `json:"trailing_newline" yaml:"trailing_newline" jsonschema:"End the file with a trailing newline"`
SpaceRedirects bool `json:"space_redirects" yaml:"space_redirects" jsonschema:"Redirect operators will be followed by a space"`
}
LintDockFmt is a linter that uses the reteps/dockerfmt library to format dockerfiles
func (*LintDockFmt) Cleanup ¶
func (l *LintDockFmt) Cleanup(_ context.Context) error
Cleanup removes any additional resources created in the process
Click to show internal directories.
Click to hide internal directories.