package
Version:
v0.15.3
Opens a new window with list of versions in this module.
Published: Jul 26, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewMaxDepthRule(cfg Config)
type Config struct {
Enabled bool `conf:"default:true" yaml:"enabled"`
Max int `conf:"default:15" yaml:"max"`
RejectOnFailure bool `conf:"default:true" yaml:"reject_on_failure"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.