Closed Bug 1132819 Opened 9 years ago Closed 9 years ago

Upgrade jshint to 2.6.0 for supporting missing mocha keyword

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rickychien, Assigned: rickychien)

Details

Attachments

(3 files)

JSHint 2.6.0 support missing mocha keywords suiteSetup and suiteTeardown, so that we can remove all /* global suiteSetup */ once we enable /* jshint mocha: true */.
See also [1] for further information.


[1] https://github.com/jshint/jshint/releases/tag/2.6.0
Comment on attachment 8563961 [details] [review]
[gaia] RickyChien:bug-1132819 > mozilla-b2g:master

Hi here is a simple patch for upgrading jshint for build scripts. Please take a look thanks!
Attachment #8563961 - Flags: review?(gduan)
Comment on attachment 8563961 [details] [review]
[gaia] RickyChien:bug-1132819 > mozilla-b2g:master

r=gduan
Attachment #8563961 - Flags: review?(gduan) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
I would like to get jshint updated on v2.2 to 2.6 as well, but it's a bit of a pain because we never branched gaia-node-modules. We'd probably need to cut a 2.2 branch from the current sha on gaia to do so.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: