JavaScript validate syntax only by default
Reported by Michael Coyne | July 12th, 2011 @ 01:28 AM | in 0.12 (closed)
JSLint will try to enforce lots quality standards and go way beyond just checking for valid syntax. The default should be just check for valid syntax and thats it.
I know you can configure the options with comments in your code. This is annoying though, because I need to put this every JS file I work on or disable it altogether.
Comments and changes to this ticket
-
delisa September 24th, 2011 @ 03:31 PM
- State changed from new to resolved
- Milestone set to 0.12
- Milestone order changed from 197717 to 0
Redcar 0.12 will have JSHint (http://www.jshint.com/about/) bundled into the JavaScript plugin instead of JSLint, for friendlier (less strict?) error handling
-
Michael Coyne September 24th, 2011 @ 11:06 PM
By default, it should just ensure the code is valid javascript. It should not be examining the style of the code.
-
delisa September 25th, 2011 @ 02:07 AM
Yes, that is the difference between JSLint and JSHint. By default, JSHint looks for potential syntax issues or mistyped operators, instead of code style. :-)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.