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

Format on save: check for linters errors #112

Closed
titoBouzout opened this issue Jun 3, 2014 · 1 comment
Closed

Format on save: check for linters errors #112

titoBouzout opened this issue Jun 3, 2014 · 1 comment
Labels

Comments

@titoBouzout
Copy link
Contributor

It would be really nice to check for linter errors (regions) before trying to apply the action "format on save". Problem is that if there is some type of syntax error, jsformat will make it worst, because of course the file not even validate. So, I was thinking that it would be cool to check if there is some linter region and then prevent the formatting on save ( which also is very handy). To repro this problem just remove a bunch of quotes from some strings and then look how the file is garbled!. Format on save is handy, but when errors are present is complicated.

I can take a look into this, if you don't do it first,

Kind regards,

@jdavisclark
Copy link
Owner

gonna lock this issue. continue any discussion in #113.

Repository owner locked and limited conversation to collaborators Jul 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants