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

Refactored formatter to return syntax errors with unformatted code #211

Merged
merged 1 commit into from
Aug 8, 2017

Conversation

c-schuler
Copy link
Contributor

@c-schuler c-schuler commented Aug 8, 2017

The formatter won't attempt to format every case where syntax errors may occur. For simplicity, the formatter will just return the original input with a list of errors. Comment support is limited (comments within expressions will cause syntax issues - keep comments above or below expressions).

This PR addresses issues 206, 207, and 210

…ead of trying to correctly format every case - comment support has been limited as a result
@brynrhodes brynrhodes merged commit 51f6073 into master Aug 8, 2017
@brynrhodes brynrhodes deleted the formatter-descriptive-message-syntax-errors branch August 8, 2017 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants