Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Linting #6

Open
coreybutler opened this issue May 31, 2019 · 0 comments
Open

Linting #6

coreybutler opened this issue May 31, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@coreybutler
Copy link
Member

Currently, cherow (AST parser) will silently fail if there is a syntax error in a file. It ultimately creates a memory leak and throws a heap error if it cannot parse a file. Files with incorrect syntax should not fail silently.

To resolve this, metadoc needs to lint the code before running it through the parser. This should guarantee the code is valid JavaScript before cherow parses the AST.

@coreybutler coreybutler added the bug Something isn't working label May 31, 2019
@coreybutler coreybutler self-assigned this May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant