Metadata
- Source
- FLUID-4126
- Type
- Task
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Justin Obara
- Created
2011-03-01T15:08:00.644-0500 - Updated
2011-05-17T11:28:56.093-0400 - Versions
- N/A
- Fixed Versions
-
- 1.4
- Component
-
- Framework
Description
We can specify the options we want to use in jslint by adding in a comment at the top of the js file.
// JSLint options
/*jslint white: true, undef: true, newcap: true, nomen: true, regexp: true, bitwise: true, browser: true, forin: true, maxerr: 50, indent: 4 */
This will enable us to run jslint without having to specify the options everytime, and to more easily run it from the command line.
Comments
-
Justin Obara commented
2011-05-17T11:28:56.092-0400 This has been addressed and changes are pushed into the project repo. All js files should now have the fluid variant of the jslint comment at the top of the file.