在 Rhino 上运行 Eslint

Mat*_*ner 5 javascript java rhino eslint

我需要在 Java 上运行 Eslint。我想到的唯一解决方案是“浏览” node-js 模块,并尝试在 Rhino 上运行它。任何人都可以提出更好的方法吗?