Dagger
Search

megalinter

This module provides a function to lint files using megalinter.

Installation

dagger install github.com/tsirysndr/daggerverse/megalinter@6d6c400d0606fc1d5dcbbb5fea76f4008b1c8bec

Entrypoint

Return Type
Megalinter
Example
dagger -m github.com/tsirysndr/daggerverse/megalinter@6d6c400d0606fc1d5dcbbb5fea76f4008b1c8bec call \
func (m *myModule) example() *Megalinter  {
	return dag.
			Megalinter()
}
@function
def example() -> dag.Megalinter:
	return (
		dag.megalinter()
	)
@func()
example(): Megalinter {
	return dag
		.megalinter()
}

Types

Megalinter 🔗

lint() 🔗

Lint files.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
versionString "v7"No description provided
onlyString -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/megalinter@6d6c400d0606fc1d5dcbbb5fea76f4008b1c8bec call \
 lint --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			Megalinter().
			Lint(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.megalinter()
		.lint(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.megalinter()
		.lint(src)
}