Implements #7181: added initial support for rubocop