mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-11 19:16:32 +00:00
e34daae0cf
* Refactor: move cncd/pipeline/ to pipeline/ * Refactor: move pipeline/pipeline/ to pipeline/
11 lines
239 B
Go
11 lines
239 B
Go
package linter
|
|
|
|
// Option configures a linting option.
|
|
type Option func(*Linter)
|
|
|
|
// WithTrusted adds the trusted option to the linter.
|
|
func WithTrusted(trusted bool) Option {
|
|
return func(linter *Linter) {
|
|
linter.trusted = trusted
|
|
}
|
|
}
|