Limit the number of values allowed on a variant
Reports variant definitions that have multiple attached values
config = [ Review.VariantValueCount.zeroOrOne ]
type User = User String Time.Posix
type User = User { name : String, registrationTime : Time.Posix }
dependency variants with multiple arguments are also ok
import List.NonEmpty exposing (NonEmpty(..)) notReported = List.NonEmpty.NonEmpty 'H' [ 'e', 'l', 'l', 'o' ]
why enable this rule?
Reports variant definitions that have multiple attached values
reported
not reported
dependency variants with multiple arguments are also ok
why enable this rule?