Open sbrl opened 7 years ago
The command-line tool does not support script vs module, it needs to be updated.
See also http://esprima.readthedocs.io/en/latest/syntactic-analysis.html#distinguishing-a-script-and-a-module.
Any news?
In Python’s port of esprima (pip install esprima
), I added —module
as an option for that purpose
Hello,
I've been writing some ES6 modules, and I have been wanting to find a good ES6 validator to validate them with during my build process. I stumbled across this project, and gave it a try.
However, your CLI tool doesn't appear to support the import / export command:
Here's that js file for reference: https://hastebin.com/kukebonupe.js
Thoughts?