jsonlint
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/jsonlint@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d
Entrypoint
Return Type
Jsonlint
Example
dagger -m github.com/tsirysndr/daggerverse/jsonlint@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
func (m *myModule) example() *Jsonlint {
return dag.
Jsonlint()
}
@function
def example() -> dag.Jsonlint:
return (
dag.jsonlint()
)
@func()
example(): Jsonlint {
return dag
.jsonlint()
}
Types
Jsonlint 🔗
lint() 🔗
Lint JSON files.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
files | String | - | No description provided |
ignore | String | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/jsonlint@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
lint --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory {
return dag.
Jsonlint().
Lint(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
return (
dag.jsonlint()
.lint(src)
)
@func()
example(src: Directory): Directory {
return dag
.jsonlint()
.lint(src)
}