Closed Bug 996423 (system-jshint) Opened 10 years ago Closed 9 years ago

[meta] JSHint fixes for System app.

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evanxd, Unassigned)

References

Details

We should do JSHint fixes for the files listed at https://github.com/mozilla-b2g/gaia/blob/master/build/jshint/xfail.list#L435-L641. There are 207 files needed to fix.
We could list files had good test coverage here, and let contributors to fix them.
There are students would like to help this.
I think that this would be better to do as we land the v2 system refactor in order to streamline review time. Going to go ahead and block bug 1084191 which is tracking our remaining JSHint fixes.
Blocks: 1084191
I am willing to pick this bug and send the patches since I've worked on most of the jshint bugs so far. Should I fix all of them in one single patch ? or break them down into ?

- apps/system/js/*
- apps/system/test/marionette/*
- apps/system/test/unit/*
Flags: needinfo?(kgrandon)
Flags: needinfo?(evanxd)
This seems to have sit for a while so if you want to start working through it that would be great! 

Some of the files in the system app are quite large. I would recommend grouping them by folder where possible, or doing chunks of a few files at a time. You could also break them down into smaller groups if you wanted, e.g., apps/system/test/unit/mock_*, and apps/system/test/unit/fxa*
Flags: needinfo?(kgrandon)
Flags: needinfo?(evanxd)
Depends on: 1147257
Depends on: 1147259
Depends on: 1147260
Depends on: 1147261
The plan for this issue is at:
https://gist.github.com/shamenchens/27192af45c5225946fe8#file-todo-list

We found:
1. jshint error/warning
2. some files had been removed but still in build/jshint/xfail.list

We will try to fix all of them.
Alias: system-jshint
Phase 1 is all finished. We are waiting for the landing of bug 1094759 to start phase 2.
Depends on: system-bootstrap
close it \o/
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.