Code analysis using Rubocop.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>