Closed
Bug 490219
Opened 15 years ago
Closed 15 years ago
Enable jslint options
Categories
(Skywriter Graveyard :: Editor, enhancement)
Skywriter Graveyard
Editor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: chris.f.jay, Unassigned)
References
()
Details
Attachments
(1 file)
3.74 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 Build Identifier: Expand jslint setting to enable options, e.g. jslint forin=true safe=true Reproducible: Always
Comment 1•15 years ago
|
||
This is a logical extension of bug 486949, so confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: x86 → All
Target Milestone: --- → Future
Version: unspecified → Trunk
Updated•15 years ago
|
Target Milestone: Future → ---
This patch adds jslint options support. See http://www.jslint.com/lint.html for all the available options. They are entered as a json string to the "jslint" setting, for example type this in the command line: "set jslint {eqeqeq:true}" to create a warning for all uses of double equals in javascript (since triple equals is safer). I've tried to make the code extensible by treating it as one of a number of "parseOptions" that could be run for different languages.
Comment 3•15 years ago
|
||
The patch collided with the other one, so I did it by hand and it is in tip. Please give it a once over!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•