EcmaScript 6 - Tern IDE for Eclipse validation errors

馋奶兔 提交于 2019-11-30 19:58:20

Your error comes from JSDT Validator which doesn't support ES6 syntax (and not from tern).

tern 1.1.0-SNAPSHOT provides support for ES6 for completion, hyperlink, validation but not for ES6 validation. The linter https://github.com/angelozerr/tern.java/wiki/Tern-Linter is a type checker validator and not a syntax validator.

To validate ES6 with Eclipse IDE & tern.java, you must:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!