jsonlint
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/jsonlint@fa537290d4710953ba364e51cb1ca7dec539e98d
Entrypoint
Return Type
Jsonlint
Example
dagger -m github.com/tsirysndr/daggerverse/jsonlint@fa537290d4710953ba364e51cb1ca7dec539e98d 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 | StringKind | - | No description provided |
ignore | StringKind | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/jsonlint@fa537290d4710953ba364e51cb1ca7dec539e98d call \
lint
func (m *myModule) example(src ) {
return dag.
Jsonlint().
Lint(src)
}
@function
def example(src: ) -> :
return (
dag.jsonlint()
.lint(src)
)
@func()
example(src: ): {
return dag
.jsonlint()
.lint(src)
}