update rubocop to 0.24.1
use 2 spaces instead of 3