Skip to content

Throw errors during parse #2

@SukkaW

Description

@SukkaW

I know by default, parse-imports-exports is supposedly to only be fed with syntactically correct, well-formatted code. However, we are trying to use parse-imports-exports inside an ESLint plugin (un-ts/eslint-plugin-import-x#201). In this case, we expect parse-imports-exports to throw as many parse errors as possible before no longer being able to continue.

We only need lineNumber and column information to report to ESLint. Is it possible to implement this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions