Skip to content

Unknown unexpected token error #54

@vrocky

Description

@vrocky

Warning: Esprima failed to parse [some-path-to-js]
Error: Line 62: Unexpected token ...

The js file contains these lines and there is no bug in the target project:

60: let isIgnored = () => false;
61: if (opts.ignore) {
62: const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null };
63: isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
64: }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions