FLUID-5284: switch from jslint to jshint

Metadata

Source
FLUID-5284
Type
Task
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2014-03-10T09:40:06.668-0400
Updated
2014-04-22T13:21:17.555-0400
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Build Scripts
  2. Demos
  3. Framework
  4. Image Reorderer
  5. Inline Edit
  6. Keyboard Accessibility
  7. Layout Reorderer
  8. Pager
  9. Prefs Framework
  10. Progress
  11. Renderer
  12. Reorderer
  13. Sliding Panel
  14. Table of Contents
  15. Tabs
  16. Textfield Slider
  17. Tooltip
  18. Undo
  19. Uploader

Description

We've decided to make the switch from JSLint to JSHint. As part of this we'll need to update the lint comments at the top of the files, add a jshintrc file into the project, and update the build scripts to add in automatic running of jshint (jshint task, run jshint on file changes, run as a pre-commit hook).

http://fluid.2324889.n4.nabble.com/linting-our-code-td8941.html

Comments