-
I was interested to see if JSLint would run in Rhino. It looks like a babel preset has been added in Add support for rhino as a compilation target, however, I'm unclear how to test this out online. When I try https://babeljs.io/ with JSLint and add the target "rhino 1.7.14" the error message is:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Saw this has also been discussed in #661 . Are you able to help @gausie or @gbrail ? |
Beta Was this translation helpful? Give feedback.
-
Specifying your target as an object should work (as per the docs):
|
Beta Was this translation helpful? Give feedback.
-
I've put some code in https://github.com/tntim96/jslint-transpile
...and run
|
Beta Was this translation helpful? Give feedback.
-
Yep - tried that too. Same result |
Beta Was this translation helpful? Give feedback.
-
This config seems to have worked
I've pushed this to the repo too |
Beta Was this translation helpful? Give feedback.
This config seems to have worked
I've pushed this to the repo too