You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: errors_add_linter.rb
    path of file: ./repos/identity-idp/lib/linters
    
    the code of the file until where you have to start completion: module RuboCop
  module Co
    
        def on_send(node)
          return unless errors_add_match?(node)
          _attr, type, options = node.arguments
          return if type && type.type == :sym
          options = type if type && type.type == :hash
          return if options && options.type == :hash && options.keys.map(&:value).include?(:type)
          add_offense(node, location: :expression)
        end