Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Throwing FlowSyntaxNotSupportedError if meets @flow annotation in a source file #201

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

arodionov
Copy link
Contributor

If a source file contains @flow annotation, the FlowSyntaxNotSupportedError is thrown as a ParseError, and the file is skipped from parsing.

Also added code to check syntax errors before parsing

…ource file

If a source file contains @flow annotation, the FlowSyntaxNotSupportedError is thrown as a ParseError, and the file is skipped from parsing.

Also added code to check syntax errors before parsing
@arodionov arodionov self-assigned this Jan 22, 2025
@arodionov arodionov merged commit a09c05d into main Jan 22, 2025
1 check passed
@arodionov arodionov deleted the flow-check branch January 22, 2025 15:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant