jsonlint
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/jsonlint@889583c798f28e7615841774f7f33883c22d7a12
Entrypoint
Return Type
Jsonlint
Example
dagger -m github.com/tsirysndr/daggerverse/jsonlint@889583c798f28e7615841774f7f33883c22d7a12 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@889583c798f28e7615841774f7f33883c22d7a12 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)
}
dev() 🔗
Returns a container with jsonlint installed.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/jsonlint@889583c798f28e7615841774f7f33883c22d7a12 call \
dev
func (m *myModule) example() {
return dag.
Jsonlint().
Dev()
}
@function
def example() -> :
return (
dag.jsonlint()
.dev()
)
@func()
example(): {
return dag
.jsonlint()
.dev()
}