Closed Bug 1252717 Opened 8 years ago Closed 8 years ago

Switch all passing lint warnings to errors

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox47 --- fixed

People

(Reporter: mcomella, Assigned: mcomella)

References

Details

Attachments

(5 files)

After we land in automation – bug 1238788.

Afterwards, we should add them incrementally as we fix the issues.
`lint --show` will be useful here.
lint --show | grep -i "^[a-z]\+$" | sort > warnings
On the list results html page:

re = /.*:/
issueElem = document.getElementsByClassName('issueColumn');
for (let e of issueElem) {
  linkText = e.children[1].innerText
  matchingText = re.exec(linkText)[0]
  matchingTextWithoutColon = matchingText.slice(0, -1)
  console.log(matchingTextWithoutColon);
}

// Copy-pasta to text file and run `sort` on it
I made all of the checks that:
  * We pass
  * Weren't already disabled

Into errors. There may be some checks we don't actually want, in which case we
can remove them from this list when we fail them.

Review commit: https://reviewboard.mozilla.org/r/38351/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/38351/
This is a list of xml that passed linting locally – I don't think it needs a review.
Assignee: nobody → michael.l.comella
https://hg.mozilla.org/mozilla-central/rev/be8a2e0cc1cf
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: