Support for extended JavaScript syntax

I'm developing JavaScript for Node.js and I'm using a JavaScript language extension called TameJS (http://tamejs.org/).

In practice, this means that I'm writing this kind of code:

await {
  doSomething();
}


As you can see, the await { ... } is not exactly pure JavaScript and the JavaScript Syntax Inspector will display big red lights on this. Is there any way to make this syntax to be allowed without disabling most of the JavaScript inspections?

- Garo

Please sign in to leave a comment.