bcomnes / sublime-standard-format

:sparkles: Runs standard --fix against the javascript in your ST3 window on save or manually.
https://packagecontrol.io/packages/StandardFormat
MIT License
60 stars 21 forks source link

Error on formating simple function on Windows #46

Closed ghost closed 8 years ago

ghost commented 8 years ago

I'm getting an error when trying to save the file or format a simple code, as follows:

error

I've done something wrong? Ps: I alredy have the linting working.

bcomnes commented 8 years ago

Hi @fhisashi this is an issue with maxogden/standard-format and not the sublime plugin, which is just an adapter for that. Unfortunately there are still a lot of rough edges on standard-format that nobody has stepped up to fix yet (eg ES6 support and JSX etc).

This looks like it will format, but the formatter will noop if there are syntax errors. Closing for now.