code: function stringifyDefects_(defect) {
          var msgColor = defect.type === 'error' ? chalk.red : chalk.yellow,
              defectMsg = util.format('%s at %s', msgColor(defect.msg), chalk.underline(defect.path)),
              defectValue = typeof defect.value === 'object' ? util.inspect(defect.value, {depth: null}) : defect.value,
              defectLocation = stringifyDefectLocation_(defect);
  
          return defectValue ? util.format('%s:%s\n%s', defectMsg, defectLocation, defectValue) : defectMsg;
      }
docs: /