jsonlint
This module provides a function to lint JSON files.
Installation
dagger install github.com/tsirysndr/daggerverse/jsonlint@e8bed26dfefaaf4ef3d00958965575131f34c69c
Entrypoint
Return Type
Jsonlint
Example
func (m *myModule) 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 | "*.json" | No description provided |
ignore | String | - | No description provided |
Example
func (m *myModule) example(src *Directory) *Directory {
return dag.
Jsonlint().
Lint(src)
}