Closed
Bug 1252717
Opened 9 years ago
Closed 9 years ago
Switch all passing lint warnings to errors
Categories
(Firefox for Android Graveyard :: General, defect)
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.
Assignee | ||
Comment 1•9 years ago
|
||
`lint --show` will be useful here.
Assignee | ||
Comment 3•9 years ago
|
||
lint --show | grep -i "^[a-z]\+$" | sort > warnings
Assignee | ||
Comment 4•9 years ago
|
||
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
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
Assignee | ||
Comment 7•9 years ago
|
||
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/
Assignee | ||
Comment 8•9 years ago
|
||
This is a list of xml that passed linting locally – I don't think it needs a review.
Assignee | ||
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/be8a2e0cc1cf9e7c0f8f1645c9e37167f99b9d3a
Bug 1252717 - Set all passing android lint warnings as errors. r=me
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → michael.l.comella
Comment 10•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•