function mustCheckFile(path: NodePath, opts): boolean {
    if (path.node.leadingComments && path.node.leadingComments.length) {
      return opts.only && !skipEnvironment(path.node.leadingComments, opts);
    }
    return false;
  }
Determine whether the file should be checked