Closed Bug 1063450 Opened 10 years ago Closed 10 years ago

"Bad option: 'jshint bitwise'" when running jshint on treeherder-ui

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

.jshintrc contains:
    "jshint bitwise": true,

This should be:
    "bitwise": true,

http://www.jshint.com/docs/options/#bitwise
https://github.com/mozilla/treeherder-ui/commit/8c3c11e1551b93d101bbb603a4d3bddbfcff8f5c

This reduces the warnings reported by jshint in webapp/app/js/* from 110 to 64, since we no longer get "Bad option: 'jshint bitwise'." reported as it starts analysing each file.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/4c4ecb83cccb60b54abef700e158cc56bd89511c
Bug 1063450 - Fix typo in .jshintrc to silence errors and enable bitwise

http://www.jshint.com/docs/options/#bitwise
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: