code: function check(filename) {
    this.filename = filename && path.resolve(filename) || '';
    this.types = [];
    this.valid = null;
  }
docs: Initialize a new `check` with the given filename.
  
  @param {String} filename
  @api private