add checkstyle-configuration and resolve first errors