-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Allow override of edition choice through environment variable #10
Comments
@damonmaria this is a good idea, however I have reservations for anything that could change behaviour for other packages that aren't problematic To best address this, is there any error messages that you are getting? Maybe I can improve other parts of the editions code. Alternatively, as a last workaround, perhaps it can be something like For the meantime, you can probably get by with editing the |
Agree that it's a bit kludgey, and hides rather than solves the base problem. All I see is a compilation error at a So are you suggesting with |
Would you be able to provide the full error log, or as much as possible?
The latter. Good point, will need to do a regex replace. |
Sorry for the delay. Error log from Wallaby with
Without the |
v1.2.0 now has the foundation for accomplishing this |
Added to v1.3.0. Usage |
It would be useful to be able to blacklist syntaxes through environment variables. For example:
SYNTAX_BLACKLIST=esnext,let
I am having trouble with the Bevry sortobject package when run inside Wallaby. It is an intermittent problem and I can't create a useful test case. The problem arises when the
source
directory /esnext
edition is used and while the require must have worked first time, later on it fails. I suspect Wallaby is doing some require tricks that Bevry editions can't cope with. I would like to force thees2015
edition in this environment.The text was updated successfully, but these errors were encountered: