add rubocop
add setting for rubocop
change and to &&
fix with rubocop