scala problem 1 solution
add scalastyle config