package Ġch . rom as ch . gradle . yaml . config . analysis Ċ Ċ import Ġorg . yaml . s na key aml . nodes . Scalar Node Ċ import Ġorg . yaml . s na key aml . nodes . Sequence Node Ċ Ċ class ĠYaml List Checker Ġ: ĠYaml Check Visitor (){ ĊĊĠĠĠ Ġoverride Ġfun Ġvisit Sequence Node ( node : ĠSequence Node ) Ġ{ ĊĠĠĠĠĠĠĠ Ġcheck Ġ( node . value . map ({ it Ġas ĠScalar Node Ġ}). map Ġ{ it . tag }. distinct (). count () Ġ<= Ġ 1 ) ĊĠĠĠĠĠĠĠ Ġsuper . visit Sequence Node ( node ) ĊĠĠĠ Ġ} Ċ } Ċ