func NewEitherCheckRule()

in common/either.go [18:26]


func NewEitherCheckRule(name string, enabled bool, severity tflint.Severity, primaryRule tflint.Rule, secondary tflint.Rule) *EitherCheckRule {
	return &EitherCheckRule{
		name:          name,
		enabled:       enabled,
		severity:      severity,
		primaryRule:   primaryRule,
		secondaryRule: secondary,
	}
}