Open comaldave opened 6 years ago
This seems to happen because Polymer (or this starter) uses a reserved keyword as a function name (import
). Ideally, that should be renamed.
That being said, this should also not break the formatting. This can only be fixed in the formatting library we are using, so I have opened an issue there.
Finally, consider switching to the original beautify extension, as only that one is actively maintained (also by me though).
I tried to edit a file with beautify on save turn on and disaster
https://github.com/davsk/website/blob/master/src/my-app.js
I am using:
This bit of code is from the Polymer 3.x starter-kit.
brackets-beautify inserts a space
which causes the following error