code: function (node) {
          if (funcInfo.shouldCheck) {
            funcInfo.hasReturn = true
  
            if (!node.argument) {
              context.report({
                node: node,
                message: 'Expected a return value'
              })
            }
          }
        }
docs: Checks the return statement is valid.