check code by rubocop