Fix scalastyle warnings in yarn alpha