Closed Bug 980344 Opened 11 years ago Closed 10 years ago

[FTE] Jshint fixes

Categories

(Firefox OS Graveyard :: Gaia::First Time Experience, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fcampo, Unassigned)

References

Details

Attachments

(1 file)

Tracking for the needed fixes on jshint for the First Time Experience. So far this is not a blocker, so let's try get some files out of build/jshint/xfail.list whenever we have the time.
First patch, focusing on js, leaving tests for a future one
Attachment #8386833 - Flags: review?(felash)
Attachment #8386833 - Flags: feedback?
Comment on attachment 8386833 [details] [review] Link to PR - https://github.com/mozilla-b2g/gaia/pull/16960 This is great :) I think you'll want a review from a FTU peer as well, especially if you change some other code like I said :)
Attachment #8386833 - Flags: review?(felash)
Attachment #8386833 - Flags: feedback?
Attachment #8386833 - Flags: feedback+
Depends on: 985386, 985389
Comment on attachment 8386833 [details] [review] Link to PR - https://github.com/mozilla-b2g/gaia/pull/16960 Added few changes after the feedback, so asking for a review to finally merge this. P.S. Opened bugs for some changes proposed by Julien, I didn't want to add big changes on a jshint fix bug.
Attachment #8386833 - Flags: review?(francisco.jordano)
Comment on attachment 8386833 [details] [review] Link to PR - https://github.com/mozilla-b2g/gaia/pull/16960 Could you rebase your patch?
Attachment #8386833 - Flags: review?(francisco.jordano)
Comment on attachment 8386833 [details] [review] Link to PR - https://github.com/mozilla-b2g/gaia/pull/16960 Thought it was rebased, but just updated it anyway. Sorry for that!
Attachment #8386833 - Flags: review?(francisco.jordano)
Comment on attachment 8386833 [details] [review] Link to PR - https://github.com/mozilla-b2g/gaia/pull/16960 I don't know how this managed to happen but we have linting errors in the ui.js and navigation.js, and I'm saying I don't know how this happened cause we have a precommit hook ;) Could you fix the linting problems detected and try again to push the branch for travis output?
Attachment #8386833 - Flags: review?(francisco.jordano) → review-
┗( ⊙ .⊙ )┛ wat?! ok, fixing
Comment on attachment 8386833 [details] [review] Link to PR - https://github.com/mozilla-b2g/gaia/pull/16960 Travis green. apparently it was cause by the rebase, that doesn't trigger any hook
Attachment #8386833 - Flags: review- → review?(francisco.jordano)
Comment on attachment 8386833 [details] [review] Link to PR - https://github.com/mozilla-b2g/gaia/pull/16960 \o/ !! Now we are talking :) Thanks a lot Fernando and all the guys involved on this.
Attachment #8386833 - Flags: review?(francisco.jordano) → review+
Cool, first patch merged on master - f4d307c56c2ef1a37d10695ab72000319b293787 Will leave the bug open for further patches (tests, for example) Thanks Julien and Francisco for your time
(In reply to Fernando Campo (:fcampo) from comment #8) > apparently it was cause by the rebase, that doesn't trigger any hook Yeah, there are lots of ways to abuse the hook :) I'll let you find the other ;) Bottom line is: this is just a tool but it's not perfect.
The rest of the FTU jshint issues were resolved in bug 1156607.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: