executeOnVueInstance(context, cb) {
    return {
      /** @param {ObjectExpression} node */
      'ObjectExpression:exit'(node) {
        const type = getVueObjectType(context, node)
        if (!type || type !== 'instance') return
        cb(node, type)
      }
    }
  }
Check if current file is a Vue instance (new Vue) and call callback
@param {RuleContext} context The ESLint rule context object.
@param { (node: ObjectExpression, type: VueObjectType) => void } cb Callback function