Solution: https://stackoverflow.com/questions/26342570/rubocop-linelength-how-to-ignore-lines-with-comments Why? Some usual initializers don't respect this rule and we need fix them to pass rubocop.