JS engine for JSLint

9 views
Skip to first unread message

Allyshia Sewdat

unread,
Oct 3, 2012, 2:51:31 PM10/3/12
to reviewbo...@googlegroups.com
Hi all,

Does anyone have a recommendation for which JS engine is best to use for a ReviewBot extension that will run JSLint (JavaScript code quality inspector tool)? Anyone have experience with SpiderMonkey, Rhino, etc?

Thank you,

Allyshia

Sampson Chen

unread,
Oct 3, 2012, 3:02:35 PM10/3/12
to reviewbo...@googlegroups.com
I remember seeing a discussion come up regarding JSLint last night in IRC, check the buffer there?

Yazan Medanat

unread,
Oct 3, 2012, 3:09:40 PM10/3/12
to reviewbo...@googlegroups.com
I would personally recommend the Google V8 engine or the Mozilla SpiderMonkey engine, both are modern actively-developed javascript engines. There are several JS-Lint v8/spidermonkey implementations online if you do a few quick searches.

Another thing to consider is whether you want to use JSHint or JSLint, JSHint is a less strict implementation of JSLint. People tend to ignore some of the JSLint suggestions, so having reviewbot open issues that people will ignore/drop might not be ideal. There are certain cases where JSLint will not point out issues until previous issues are resolved.

However, if your implementation is modular enough, you should be able to interchange those two mark-ups with ease.

Yazan Medanat

On Wed, Oct 3, 2012 at 2:51 PM, Allyshia Sewdat <ally...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages