protolint
No long description provided.
Installation
dagger install github.com/cloudnative-pg/daggerverse/protolint@9151fdb403298e305889668706b6cd69bb287e88
Entrypoint
Return Type
Protolint !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
image | String | "yoheimuta/protolint:0.52.0" | Protolint image to use. renovate image: datasource=docker depName=yoheimuta/protolint versioning=docker |
Example
func (m *myModule) example() *Protolint {
return dag.
Protolint()
}
Types
Protolint đź”—
lint() đź”—
Lint runs protolint on proto files.
Example usage: dagger call lint –source /path/ –args “-config_path=.protolint.yaml” –args .
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | The directory of the repository. |
args | [String ! ] | - | A list of arguments to pass to commitlint. |
Example
func (m *myModule) example(source *Directory) *Container {
return dag.
Protolint().
Lint(source)
}