Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 411795

Summary: Switch to JSHint for validation
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: JS ToolsAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: gabriel.luong
Version: 3.0   
Target Milestone: 4.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-06-27 12:14:46 EDT
It seems that even the most recent version of JSLint (running at jslint.com) does not support full ES5 syntax (see bug 376515 comment 9 and 10).

We should move to JSHint for validation, which does support ES5, and has some other nice features as well (like greater control over the validator's strictness).
Comment 1 Mark Macdonald CLA 2013-07-15 15:01:57 EDT
I guess this is a no-go due to the absence of CLA for the JSHint project.
Comment 2 Mark Macdonald CLA 2013-09-26 12:52:23 EDT
WONTFIX

We've obtained approval to use ESLint, which is designed to be easily extended than monolithic linters like JSHint/JSLint. We'll use that in future to improve our JS validation support.